austindavis commited on
Commit
6edbae6
1 Parent(s): ef7c793

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +180 -1
README.md CHANGED
@@ -1169,4 +1169,183 @@ example:
1169
  termination: "Normal"
1170
  ---
1171
 
1172
- # Dataset Card for "lichess_uci"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1169
  termination: "Normal"
1170
  ---
1171
 
1172
+ # Dataset Card for Lichess.org Database in UCI format
1173
+
1174
+ ## Table of Contents
1175
+ - [Table of Contents](#table-of-contents)
1176
+ - [Dataset Description](#dataset-description)
1177
+ - [Dataset Summary](#dataset-summary)
1178
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
1179
+ - [Dataset Structure](#dataset-structure)
1180
+ - [Data Instances](#data-instances)
1181
+ - [Data Fields](#data-fields)
1182
+ - [Data Splits](#data-splits)
1183
+ - [Dataset Creation](#dataset-creation)
1184
+ - [Curation Rationale](#curation-rationale)
1185
+ - [Source Data](#source-data)
1186
+ - [Annotations](#annotations)
1187
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
1188
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
1189
+ - [Social Impact of Dataset](#social-impact-of-dataset)
1190
+ - [Discussion of Biases](#discussion-of-biases)
1191
+ - [Other Known Limitations](#other-known-limitations)
1192
+ - [Additional Information](#additional-information)
1193
+ - [Dataset Curators](#dataset-curators)
1194
+ - [Licensing Information](#licensing-information)
1195
+ - [Citation Information](#citation-information)
1196
+ - [Contributions](#contributions)
1197
+
1198
+ ## Dataset Description
1199
+ <!--
1200
+ - **Homepage:** [Lichess.org Database](https://database.lichess.org/)
1201
+ - **Repository:** [GitHub Repository](https://github.com/lichess-org/database)
1202
+ - **Paper:** N/A
1203
+ - **Leaderboard:** N/A
1204
+ - **Point of Contact:** [Contact Lichess](https://lichess.org/contact) -->
1205
+
1206
+ ### Dataset Summary
1207
+
1208
+ The Lichess.org database has been converted to UCI format, making it easier to analyze and interpret chess games.
1209
+ The `moves` configuration captures the sequence of moves using UCI notation, and the `headers` configuration provides
1210
+ comprehensive metadata for each game, enabling detailed statistical and strategic analysis. The data is subset based on
1211
+ the year and month (yyyymm format) the games took place.
1212
+
1213
+ ### Supported Tasks and Leaderboards
1214
+
1215
+ This dataset supports tasks related to chess game analysis, including move prediction, game outcome prediction, performance
1216
+ analysis, and opening strategy evaluation. There are no formal leaderboards associated with this dataset.
1217
+
1218
+ ## Dataset Structure
1219
+
1220
+ ### Data Instances
1221
+
1222
+ An example from the `moves` configuration:
1223
+ ```json
1224
+ {
1225
+ "site": "abcd1234",
1226
+ "transcript": "e2e4 e7e5 g1f3 b8c6"
1227
+ }
1228
+ ```
1229
+
1230
+ An example from the `headers` configuration:
1231
+ ```json
1232
+ {
1233
+ "event": "Rated Blitz game",
1234
+ "site": "abcd1234",
1235
+ "white": "player1",
1236
+ "black": "player2",
1237
+ "result": "1-0",
1238
+ "utcdate": "2023-05-21",
1239
+ "utctime": "13:45:00",
1240
+ "whiteelo": 1500,
1241
+ "blackelo": 1400,
1242
+ "whiteratingdiff": 10,
1243
+ "blackratingdiff": -10,
1244
+ "eco": "C50",
1245
+ "opening": "Italian Game",
1246
+ "timecontrol": "300+0",
1247
+ "termination": "Normal"
1248
+ }
1249
+ ```
1250
+
1251
+ ### Data Fields
1252
+
1253
+ #### Moves Configuration:
1254
+ - `site`: string, unique identifier for the game. Replays can be viewed by navigating to `https://lichess.org/<site>`
1255
+ - `transcript`: string, sequence of moves in UCI format.
1256
+
1257
+ #### Headers Configuration:
1258
+ - `event`: string, type of event.
1259
+ - `site`: string, unique identifier for the game.
1260
+ - `white`: string, white player.
1261
+ - `black`: string, black player.
1262
+ - `result`: string, game result.
1263
+ - `utcdate`: date32, date of the game.
1264
+ - `utctime`: time64[us], time of the game.
1265
+ - `whiteelo`: int64, ELO rating of the white player.
1266
+ - `blackelo`: int64, ELO rating of the black player.
1267
+ - `whiteratingdiff`: float64, rating change for the white player.
1268
+ - `blackratingdiff`: float64, rating change for the black player.
1269
+ - `eco`: string, ECO code of the opening.
1270
+ - `opening`: string, name of the opening.
1271
+ - `timecontrol`: string, time control format.
1272
+ - `termination`: string, reason for game termination.
1273
+
1274
+ ### Data Splits
1275
+
1276
+ The dataset is divided into monthly splits based on the year and month (yyyymm format). Each split contains both `moves` and `headers` configurations.
1277
+
1278
+ ## Dataset Creation
1279
+
1280
+ ### Curation Rationale
1281
+
1282
+ The dataset was curated to facilitate research and analysis that use chess games, providing both move sequences and comprehensive metadata.
1283
+
1284
+ ### Source Data
1285
+
1286
+ #### Initial Data Collection and Normalization
1287
+
1288
+ The data was collected from the Lichess.org open database, converted from PGN format to UCI format, and organized into `moves` and `headers` configurations.
1289
+
1290
+ #### Who are the source data producers?
1291
+
1292
+ The source data comes from games played on Lichess.org, an online platform where users from around the world play chess.
1293
+ This database does not distinguish between human-and bot-played games.
1294
+ However, it's reasonable to assume games played before April 2018 were overwhelmingly played by human players since Lichess.org
1295
+ released its [bot api](https://github.com/lichess-org/api) on April 1st, 2018.
1296
+
1297
+ ### Annotations
1298
+
1299
+ #### Annotation process
1300
+
1301
+ The annotations include metadata such as player ELO ratings, game outcomes, and dates, which were extracted from the original
1302
+ PGN files and normalized into a structured format.
1303
+
1304
+ #### Who are the annotators?
1305
+
1306
+ The annotations were generated by the Lichess.org platform and curated by the dataset creators.
1307
+
1308
+ ### Personal and Sensitive Information
1309
+
1310
+ The dataset does not contain any personal or sensitive information.
1311
+
1312
+ ## Considerations for Using the Data
1313
+
1314
+ ### Social Impact of Dataset
1315
+
1316
+ The dataset can be used to improve chess engines, develop training tools for players, and conduct research in game theory and artificial intelligence.
1317
+
1318
+ ### Discussion of Biases
1319
+
1320
+ The dataset may have biases related to the demographics of Lichess.org users, such as skill level distribution and regional representation.
1321
+
1322
+ ### Other Known Limitations
1323
+
1324
+ The dataset is limited to games played on Lichess.org and may not represent the broader chess-playing population.
1325
+
1326
+ ## Additional Information
1327
+
1328
+ ### Dataset Curators
1329
+
1330
+ The dataset was curated by the Lichess.org team and contributors.
1331
+
1332
+ ### Licensing Information
1333
+
1334
+ The dataset is available under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.
1335
+
1336
+ ### Citation Information
1337
+
1338
+ If you use this dataset, please cite it as follows:
1339
+
1340
+ ```
1341
+ @misc{lichess_uci,
1342
+ author = {Davis, Austin L.},
1343
+ title = {Lichess.org Database in UCI format},
1344
+ year = {2023},
1345
+ howpublished = {\url{https://database.lichess.org/}},
1346
+ }
1347
+ ```
1348
+
1349
+ ### Contributions
1350
+
1351
+ Thanks to [@github-username](https://github.com/austinleedavis) for adding this dataset.