Dataset Viewer
Auto-converted to Parquet Duplicate
text
listlengths
3
3
[ "chessmamba", "chess-llama", 0 ]
[ "engine-3", "random", 1 ]
[ "chessgpt", "chess-llama", 0 ]
[ "engine-1", "chess-llama", 0 ]
[ "chessmamba2", "chess-llama", 1 ]
[ "chessmamba2", "chessslm", 1 ]
[ "chessmamba2", "bluesunflower", 1 ]
[ "chessmamba2", "chesspythia", 1 ]
[ "chessmamba2", "chessformer", 1 ]
[ "chessmamba2", "bluesunflower", 1 ]
[ "chessmamba2", "chessaggro", 1 ]
[ "chess-llama", "engine-3", 0 ]
[ "engine-3", "chess-llama", 0.5 ]
[ "chess-llama", "engine-2", 0.5 ]
[ "engine-2", "chess-llama", 0 ]
[ "chess-llama", "random", 1 ]
[ "random", "chess-llama", 0 ]
[ "chess-llama", "chessmamba", 1 ]
[ "chessmamba", "chess-llama", 0 ]
[ "chess-llama", "chessformer", 1 ]
[ "chessformer", "chess-llama", 0 ]
[ "chess-llama", "chessaggro", 1 ]
[ "chessaggro", "chess-llama", 0 ]
[ "chess-llama", "chessmamba2", 0.5 ]
[ "chessmamba2", "chess-llama", 1 ]
[ "chess-llama", "chessslm", 1 ]
[ "chessslm", "chess-llama", 0 ]
[ "chess-llama", "bluesunflower", 1 ]
[ "bluesunflower", "chess-llama", 0 ]
[ "chess-llama", "chesspythia", 0.5 ]
[ "chesspythia", "chess-llama", 1 ]
[ "chess-llama", "engine-1", 1 ]
[ "engine-1", "chess-llama", 0 ]
[ "chess-llama", "engine-4", 0 ]
[ "engine-4", "chess-llama", 0.5 ]
[ "chess-llama", "chessgpt", 1 ]
[ "chessgpt", "chess-llama", 0 ]
[ "engine-3", "engine-2", 0.5 ]
[ "engine-2", "engine-3", 0.5 ]
[ "engine-3", "random", 1 ]
[ "random", "engine-3", 0 ]
[ "engine-3", "chessmamba", 1 ]
[ "chessmamba", "engine-3", 0 ]
[ "engine-3", "chessformer", 1 ]
[ "chessformer", "engine-3", 0 ]
[ "engine-3", "chessaggro", 1 ]
[ "chessaggro", "engine-3", 0 ]
[ "engine-3", "chessmamba2", 0 ]
[ "chess-llama", "chessmamba2", 0.5 ]
[ "chessmamba2", "chess-llama", 1 ]
[ "chess-llama", "chessslm", 1 ]
[ "chessslm", "chess-llama", 0 ]
[ "chess-llama", "chessaggro", 1 ]
[ "chessaggro", "chess-llama", 0 ]
[ "chess-llama", "chessgpt", 1 ]
[ "chessgpt", "chess-llama", 0 ]
[ "chess-llama", "bluesunflower", 1 ]
[ "bluesunflower", "chess-llama", 0 ]
[ "chess-llama", "chessformer", 1 ]
[ "chessformer", "chess-llama", 0 ]
[ "chess-llama", "chesspythia", 0.5 ]
[ "chesspythia", "chess-llama", 1 ]
[ "chess-llama", "chessmamba", 0.5 ]
[ "chessmamba", "chess-llama", 0 ]
[ "chessmamba2", "chessslm", 1 ]
[ "chessslm", "chessmamba2", 0 ]
[ "chessmamba2", "chessaggro", 1 ]
[ "chessaggro", "chessmamba2", 0 ]
[ "chessmamba2", "chessgpt", 1 ]
[ "chessgpt", "chessmamba2", 0 ]
[ "chessmamba2", "bluesunflower", 1 ]
[ "bluesunflower", "chessmamba2", 0 ]
[ "chessmamba2", "chessformer", 1 ]
[ "chessformer", "chessmamba2", 0 ]
[ "chessmamba2", "chesspythia", 1 ]
[ "chesspythia", "chessmamba2", 0 ]
[ "chessmamba2", "chessmamba", 1 ]
[ "chessmamba", "chessmamba2", 0 ]
[ "chessslm", "chessaggro", 0.5 ]
[ "chessaggro", "chessslm", 0.5 ]
[ "chessslm", "chessgpt", 0.5 ]
[ "chessgpt", "chessslm", 0.5 ]
[ "chessslm", "bluesunflower", 0.5 ]
[ "bluesunflower", "chessslm", 1 ]
[ "chessslm", "chessformer", 0.5 ]
[ "chessformer", "chessslm", 0.5 ]
[ "chessslm", "chesspythia", 0.5 ]
[ "chesspythia", "chessslm", 0.5 ]
[ "chessslm", "chessmamba", 0 ]
[ "chessmamba", "chessslm", 1 ]
[ "chessaggro", "chessgpt", 0.5 ]
[ "chessgpt", "chessaggro", 1 ]
[ "chessaggro", "bluesunflower", 0.5 ]
[ "bluesunflower", "chessaggro", 1 ]
[ "chessaggro", "chessformer", 0.5 ]
[ "chessformer", "chessaggro", 0.5 ]
[ "chessaggro", "chesspythia", 0 ]
[ "chesspythia", "chessaggro", 1 ]
[ "chessaggro", "chessmamba", 0 ]
[ "chessmamba", "chessaggro", 1 ]
End of preview. Expand in Data Studio

Chess Arena Results

Every finished game played in Chess Arena, kept here because a Space has no filesystem that survives a restart. The Space reads this on startup and writes back a few seconds after each game, so the leaderboard carries across restarts, sleeps and rebuilds rather than resetting every time the container is recycled.

It is append only. Nothing in the arena can delete a result.

Format

results.json is a JSON array of games, one array each:

[
  ["chessmamba2", "chess-llama", 1.0],
  ["engine-3", "random", 1.0],
  ["chessaggro", "chessgpt", 0.5]
]
Position Meaning
0 player id with the white pieces
1 player id with the black pieces
2 result from white's point of view: 1.0 white won, 0.5 drawn, 0.0 black won

Player ids are the arena's internal keys. Built in players use short names such as chessmamba2, chess-llama, chessaggro, chessslm, chessgpt, chessformer, bluesunflower, chesspythia, engine-1 through engine-4, and random. Anything added at runtime is stored as hub:owner/name.

How the ratings are worked out

The Space does not accumulate ratings with a K factor. That would depend on the order games happened in and would never settle. Instead every game is fitted at once by maximum likelihood under the Bradley Terry model, which is what BayesElo and Ordo do, so the ratings are a property of the results rather than of their sequence. A draw counts as half a win. The scale is anchored so the field averages 1500, which makes these ratings meaningful within this pool only and not comparable to a FIDE or Lichess number.

Two rules shape what goes in:

The random mover is not rated. It plays no chess, so beating it says nothing about strength and would only inflate whoever met it most. Its games are stored, and its record shows in the cross table as a floor to check against, but they are excluded from the fit.

Games stopped by the ply cap are adjudicated on material rather than written down as draws. A cap out never finished, and recording it as a draw would put a result into the ratings that neither side earned. Four pawns of material decides it, otherwise it stands as drawn.

Reading it

import json
from huggingface_hub import hf_hub_download

path = hf_hub_download("TobiasLogic/chess-arena-results", "results.json", repo_type="dataset")
games = json.load(open(path))

wins = {}
for white, black, score in games:
    wins[white] = wins.get(white, 0) + score
    wins[black] = wins.get(black, 0) + (1 - score)

The fitting code the Space uses is elo.py in the Space repo, about eighty lines with no dependencies beyond the standard library.

Caveats worth knowing

Games are played at 500 ms a move on shared hardware, so a model that wants a lot of search is measured a little short of its best.

The earliest handful of rows were recorded before two bugs were fixed: the search engine picked moves from partially searched positions when it ran out of time, and unfinished games were written down as draws. Those rows are still here, since the store is append only. They are few and will be swamped as games accumulate, but they are not clean data.

Downloads last month
175

Space using TobiasLogic/chess-arena-results 1