Datasets:
Daily refresh: 37299 games
Browse files- README.md +2 -2
- data/puzzlescript_games.jsonl +2 -2
- dedup_master.json +60 -10
README.md
CHANGED
|
@@ -22,7 +22,7 @@ configs:
|
|
| 22 |
|
| 23 |
# PuzzleScript Human-Authored Games (Full Gist Corpus)
|
| 24 |
|
| 25 |
-
**34,
|
| 26 |
complete source text of each — collected from public GitHub gists.
|
| 27 |
|
| 28 |
This is the **full** corpus: every distinct gist is kept, and each row is tagged
|
|
@@ -54,7 +54,7 @@ program synthesis, and game design.
|
|
| 54 |
```python
|
| 55 |
from datasets import load_dataset
|
| 56 |
ds = load_dataset("smearle/puzzlescript-gists", split="train")
|
| 57 |
-
unique = ds.filter(lambda r: r["is_dedup_representative"]) # 25,
|
| 58 |
```
|
| 59 |
|
| 60 |
A game is a duplicate only when **both** its mechanics and levels fingerprints
|
|
|
|
| 22 |
|
| 23 |
# PuzzleScript Human-Authored Games (Full Gist Corpus)
|
| 24 |
|
| 25 |
+
**34,802** human-authored [PuzzleScript](https://www.puzzlescript.net/) games — the
|
| 26 |
complete source text of each — collected from public GitHub gists.
|
| 27 |
|
| 28 |
This is the **full** corpus: every distinct gist is kept, and each row is tagged
|
|
|
|
| 54 |
```python
|
| 55 |
from datasets import load_dataset
|
| 56 |
ds = load_dataset("smearle/puzzlescript-gists", split="train")
|
| 57 |
+
unique = ds.filter(lambda r: r["is_dedup_representative"]) # 25,169 distinct games
|
| 58 |
```
|
| 59 |
|
| 60 |
A game is a duplicate only when **both** its mechanics and levels fingerprints
|
data/puzzlescript_games.jsonl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a269d213c2db76a56cbfd1d4f84dcb5bb60a0ad037f0604051a7cf52548b8ced
|
| 3 |
+
size 314034268
|
dedup_master.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
-
"n_files":
|
| 4 |
-
"n_unique_content":
|
| 5 |
-
"n_after_dedup":
|
| 6 |
-
"removed_as_dups":
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4362,
|
| 9 |
-
"ok":
|
| 10 |
"preprocess_error": 295,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
-
"n_parsed_candidates":
|
| 14 |
-
"n_distinct_mechanics":
|
| 15 |
-
"n_distinct_levelsets":
|
| 16 |
"n_mechanics_shared_by_2plus": 2769,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
@@ -2338,6 +2338,20 @@
|
|
| 2338 |
"n_dups": 0,
|
| 2339 |
"members": []
|
| 2340 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2341 |
{
|
| 2342 |
"file": "019a0d507391f792c44631536ecf6215.txt",
|
| 2343 |
"label": "019a0d507391f792c44631536ecf6215",
|
|
@@ -48187,8 +48201,11 @@
|
|
| 48187 |
"parse_status": "ok",
|
| 48188 |
"n_objs": 36,
|
| 48189 |
"n_levels": 2,
|
| 48190 |
-
"n_dups":
|
| 48191 |
-
"members": [
|
|
|
|
|
|
|
|
|
|
| 48192 |
},
|
| 48193 |
{
|
| 48194 |
"file": "1f49b2684ba74974b5338bb1713ab7a4.txt",
|
|
@@ -150249,6 +150266,17 @@
|
|
| 150249 |
"n_dups": 0,
|
| 150250 |
"members": []
|
| 150251 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 150252 |
{
|
| 150253 |
"file": "6dc8ac29aa03afab9b34a7a71f1a7e9b.txt",
|
| 150254 |
"label": "6dc8ac29aa03afab9b34a7a71f1a7e9b",
|
|
@@ -178394,6 +178422,17 @@
|
|
| 178394 |
"n_dups": 0,
|
| 178395 |
"members": []
|
| 178396 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 178397 |
{
|
| 178398 |
"file": "7e44b6a96ee9fed7bed39ffe088cce0d.txt",
|
| 178399 |
"label": "7e44b6a96ee9fed7bed39ffe088cce0d",
|
|
@@ -277362,6 +277401,17 @@
|
|
| 277362 |
"n_dups": 0,
|
| 277363 |
"members": []
|
| 277364 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 277365 |
{
|
| 277366 |
"file": "d8f2d91fd2094c562176695f75ab9048.txt",
|
| 277367 |
"label": "d8f2d91fd2094c562176695f75ab9048",
|
|
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
+
"n_files": 37299,
|
| 4 |
+
"n_unique_content": 32885,
|
| 5 |
+
"n_after_dedup": 27225,
|
| 6 |
+
"removed_as_dups": 10074,
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4362,
|
| 9 |
+
"ok": 32604,
|
| 10 |
"preprocess_error": 295,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
+
"n_parsed_candidates": 23301,
|
| 14 |
+
"n_distinct_mechanics": 16945,
|
| 15 |
+
"n_distinct_levelsets": 19747,
|
| 16 |
"n_mechanics_shared_by_2plus": 2769,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
|
|
| 2338 |
"n_dups": 0,
|
| 2339 |
"members": []
|
| 2340 |
},
|
| 2341 |
+
{
|
| 2342 |
+
"file": "01992178018df8c74f3a1cdc94ee09cb.txt",
|
| 2343 |
+
"label": "01992178018df8c74f3a1cdc94ee09cb",
|
| 2344 |
+
"content_hash": "4cdb1eaac8995c6bd1f231fadf4094cd9b3766cc",
|
| 2345 |
+
"group_key": "T:e54df0c720ac2e9f:53f7f1175e4283b6",
|
| 2346 |
+
"parse_status": "ok",
|
| 2347 |
+
"n_objs": 5,
|
| 2348 |
+
"n_levels": 4,
|
| 2349 |
+
"n_dups": 1,
|
| 2350 |
+
"members": [
|
| 2351 |
+
"01992178018df8c74f3a1cdc94ee09cb.txt",
|
| 2352 |
+
"20056d854b0f10412b71775a9488fd21.txt"
|
| 2353 |
+
]
|
| 2354 |
+
},
|
| 2355 |
{
|
| 2356 |
"file": "019a0d507391f792c44631536ecf6215.txt",
|
| 2357 |
"label": "019a0d507391f792c44631536ecf6215",
|
|
|
|
| 48201 |
"parse_status": "ok",
|
| 48202 |
"n_objs": 36,
|
| 48203 |
"n_levels": 2,
|
| 48204 |
+
"n_dups": 1,
|
| 48205 |
+
"members": [
|
| 48206 |
+
"1f47e91f138d3aea7570da7ef47b3ca7.txt",
|
| 48207 |
+
"ed384eb737803ef3a5888a8b66bedce0.txt"
|
| 48208 |
+
]
|
| 48209 |
},
|
| 48210 |
{
|
| 48211 |
"file": "1f49b2684ba74974b5338bb1713ab7a4.txt",
|
|
|
|
| 150266 |
"n_dups": 0,
|
| 150267 |
"members": []
|
| 150268 |
},
|
| 150269 |
+
{
|
| 150270 |
+
"file": "6dc89a63b427a4683f9424a253d9f11c.txt",
|
| 150271 |
+
"label": "6dc89a63b427a4683f9424a253d9f11c",
|
| 150272 |
+
"content_hash": "df1fa1208ccc8e7af8151a5a43774451d1d952b9",
|
| 150273 |
+
"group_key": "T:baab5779ec30bc1e:9b617dc221e3457f",
|
| 150274 |
+
"parse_status": "ok",
|
| 150275 |
+
"n_objs": 24,
|
| 150276 |
+
"n_levels": 6,
|
| 150277 |
+
"n_dups": 0,
|
| 150278 |
+
"members": []
|
| 150279 |
+
},
|
| 150280 |
{
|
| 150281 |
"file": "6dc8ac29aa03afab9b34a7a71f1a7e9b.txt",
|
| 150282 |
"label": "6dc8ac29aa03afab9b34a7a71f1a7e9b",
|
|
|
|
| 178422 |
"n_dups": 0,
|
| 178423 |
"members": []
|
| 178424 |
},
|
| 178425 |
+
{
|
| 178426 |
+
"file": "7e43843f8ccab13c40cd754bf0c18d20.txt",
|
| 178427 |
+
"label": "7e43843f8ccab13c40cd754bf0c18d20",
|
| 178428 |
+
"content_hash": "3134a096af91a1b53418f985d28dd0feb53451eb",
|
| 178429 |
+
"group_key": "T:afb009e1d60372d4:4b2ed349435026b7",
|
| 178430 |
+
"parse_status": "ok",
|
| 178431 |
+
"n_objs": 12,
|
| 178432 |
+
"n_levels": 8,
|
| 178433 |
+
"n_dups": 0,
|
| 178434 |
+
"members": []
|
| 178435 |
+
},
|
| 178436 |
{
|
| 178437 |
"file": "7e44b6a96ee9fed7bed39ffe088cce0d.txt",
|
| 178438 |
"label": "7e44b6a96ee9fed7bed39ffe088cce0d",
|
|
|
|
| 277401 |
"n_dups": 0,
|
| 277402 |
"members": []
|
| 277403 |
},
|
| 277404 |
+
{
|
| 277405 |
+
"file": "d8efa5436ff080691070a46fcd0f227b.txt",
|
| 277406 |
+
"label": "d8efa5436ff080691070a46fcd0f227b",
|
| 277407 |
+
"content_hash": "e5aac9ae73bf18ff148178422271afe26fea6564",
|
| 277408 |
+
"group_key": "T:241d7a4486b706df:9958c4e4c3b92165",
|
| 277409 |
+
"parse_status": "ok",
|
| 277410 |
+
"n_objs": 20,
|
| 277411 |
+
"n_levels": 3,
|
| 277412 |
+
"n_dups": 0,
|
| 277413 |
+
"members": []
|
| 277414 |
+
},
|
| 277415 |
{
|
| 277416 |
"file": "d8f2d91fd2094c562176695f75ab9048.txt",
|
| 277417 |
"label": "d8f2d91fd2094c562176695f75ab9048",
|