Datasets:
Daily refresh: 37260 games
Browse files- README.md +2 -2
- data/puzzlescript_games.jsonl +2 -2
- dedup_master.json +94 -26
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,764** 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,143 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:93b943a8e78af95cfc78a2008b373e79e1bcfbf0d15327d4d8bcf9c38ab333ab
|
| 3 |
+
size 313883023
|
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": 4361,
|
| 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": 2763,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
@@ -2481,6 +2481,17 @@
|
|
| 2481 |
"n_dups": 0,
|
| 2482 |
"members": []
|
| 2483 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2484 |
{
|
| 2485 |
"file": "01b074a8bd6dcd5996ebabbce768732f.txt",
|
| 2486 |
"label": "01b074a8bd6dcd5996ebabbce768732f",
|
|
@@ -18149,6 +18160,24 @@
|
|
| 18149 |
"62b8171fba438f169b44513afc63df10.txt"
|
| 18150 |
]
|
| 18151 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18152 |
{
|
| 18153 |
"file": "0c310ba2559b8d27973601ffe43c0478.txt",
|
| 18154 |
"label": "0c310ba2559b8d27973601ffe43c0478",
|
|
@@ -39379,6 +39408,17 @@
|
|
| 39379 |
"n_dups": 0,
|
| 39380 |
"members": []
|
| 39381 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39382 |
{
|
| 39383 |
"file": "18a60efde689c1719944.txt",
|
| 39384 |
"label": "18a60efde689c1719944",
|
|
@@ -164629,6 +164669,17 @@
|
|
| 164629 |
"n_dups": 0,
|
| 164630 |
"members": []
|
| 164631 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164632 |
{
|
| 164633 |
"file": "7456770bb655f441e0bac7325034913f.txt",
|
| 164634 |
"label": "7456770bb655f441e0bac7325034913f",
|
|
@@ -174472,23 +174523,6 @@
|
|
| 174472 |
"n_dups": 0,
|
| 174473 |
"members": []
|
| 174474 |
},
|
| 174475 |
-
{
|
| 174476 |
-
"file": "7a8ddd0d0ba5b655a0877e519b36dde3.txt",
|
| 174477 |
-
"label": "7a8ddd0d0ba5b655a0877e519b36dde3",
|
| 174478 |
-
"content_hash": "704525887f5518803a00034b7ee0657e816bfb06",
|
| 174479 |
-
"group_key": "T:cd955a33ecc2350d:bedfa784c2a99633",
|
| 174480 |
-
"parse_status": "ok",
|
| 174481 |
-
"n_objs": 11,
|
| 174482 |
-
"n_levels": 6,
|
| 174483 |
-
"n_dups": 4,
|
| 174484 |
-
"members": [
|
| 174485 |
-
"7a8ddd0d0ba5b655a0877e519b36dde3.txt",
|
| 174486 |
-
"8d2152e7cb5e9c05454febc4bb586d9f.txt",
|
| 174487 |
-
"8e0543512a78153b0681b489a84a0580.txt",
|
| 174488 |
-
"c226fce2870c392c5a10d41d7579ad64.txt",
|
| 174489 |
-
"c4084f72486fb1c0c9b5f97e5cde13db.txt"
|
| 174490 |
-
]
|
| 174491 |
-
},
|
| 174492 |
{
|
| 174493 |
"file": "7a8ec737b2fcbb82844cfe759090d4c5.txt",
|
| 174494 |
"label": "7a8ec737b2fcbb82844cfe759090d4c5",
|
|
@@ -221844,9 +221878,10 @@
|
|
| 221844 |
"parse_status": "ok",
|
| 221845 |
"n_objs": 12,
|
| 221846 |
"n_levels": 6,
|
| 221847 |
-
"n_dups":
|
| 221848 |
"members": [
|
| 221849 |
"9db5aee13a5620639d28f1179317b300.txt",
|
|
|
|
| 221850 |
"da68b2957f488d147999385ec727c441.txt"
|
| 221851 |
]
|
| 221852 |
},
|
|
@@ -227905,6 +227940,17 @@
|
|
| 227905 |
"n_dups": 0,
|
| 227906 |
"members": []
|
| 227907 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 227908 |
{
|
| 227909 |
"file": "a43cf4491489ef029e45c6e622eb4e1c.txt",
|
| 227910 |
"label": "a43cf4491489ef029e45c6e622eb4e1c",
|
|
@@ -244539,6 +244585,17 @@
|
|
| 244539 |
"n_dups": 0,
|
| 244540 |
"members": []
|
| 244541 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 244542 |
{
|
| 244543 |
"file": "b581f391a9649445209cd33f36d99d5a.txt",
|
| 244544 |
"label": "b581f391a9649445209cd33f36d99d5a",
|
|
@@ -252737,6 +252794,17 @@
|
|
| 252737 |
"n_dups": 0,
|
| 252738 |
"members": []
|
| 252739 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 252740 |
{
|
| 252741 |
"file": "be59aed63f49d8a3ca74279f84af01d2.txt",
|
| 252742 |
"label": "be59aed63f49d8a3ca74279f84af01d2",
|
|
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
+
"n_files": 37260,
|
| 4 |
+
"n_unique_content": 32854,
|
| 5 |
+
"n_after_dedup": 27198,
|
| 6 |
+
"removed_as_dups": 10062,
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4361,
|
| 9 |
+
"ok": 32566,
|
| 10 |
"preprocess_error": 295,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
+
"n_parsed_candidates": 23275,
|
| 14 |
+
"n_distinct_mechanics": 16929,
|
| 15 |
+
"n_distinct_levelsets": 19723,
|
| 16 |
"n_mechanics_shared_by_2plus": 2763,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
|
|
| 2481 |
"n_dups": 0,
|
| 2482 |
"members": []
|
| 2483 |
},
|
| 2484 |
+
{
|
| 2485 |
+
"file": "01af8ecf19dff2b91f91f185527a0fcc.txt",
|
| 2486 |
+
"label": "01af8ecf19dff2b91f91f185527a0fcc",
|
| 2487 |
+
"content_hash": "4af92df0ad78484d6efe4abc2c64e7ff6c2a5305",
|
| 2488 |
+
"group_key": "T:2cb8f256f7015035:2f42d43120e7bf65",
|
| 2489 |
+
"parse_status": "ok",
|
| 2490 |
+
"n_objs": 29,
|
| 2491 |
+
"n_levels": 1,
|
| 2492 |
+
"n_dups": 0,
|
| 2493 |
+
"members": []
|
| 2494 |
+
},
|
| 2495 |
{
|
| 2496 |
"file": "01b074a8bd6dcd5996ebabbce768732f.txt",
|
| 2497 |
"label": "01b074a8bd6dcd5996ebabbce768732f",
|
|
|
|
| 18160 |
"62b8171fba438f169b44513afc63df10.txt"
|
| 18161 |
]
|
| 18162 |
},
|
| 18163 |
+
{
|
| 18164 |
+
"file": "0c2f1bf60fa080cda9aa5015c181b260.txt",
|
| 18165 |
+
"label": "0c2f1bf60fa080cda9aa5015c181b260",
|
| 18166 |
+
"content_hash": "eb786e69695fef1f5f08b01ffd50a388e7db3895",
|
| 18167 |
+
"group_key": "T:cd955a33ecc2350d:bedfa784c2a99633",
|
| 18168 |
+
"parse_status": "ok",
|
| 18169 |
+
"n_objs": 11,
|
| 18170 |
+
"n_levels": 6,
|
| 18171 |
+
"n_dups": 5,
|
| 18172 |
+
"members": [
|
| 18173 |
+
"0c2f1bf60fa080cda9aa5015c181b260.txt",
|
| 18174 |
+
"7a8ddd0d0ba5b655a0877e519b36dde3.txt",
|
| 18175 |
+
"8d2152e7cb5e9c05454febc4bb586d9f.txt",
|
| 18176 |
+
"8e0543512a78153b0681b489a84a0580.txt",
|
| 18177 |
+
"c226fce2870c392c5a10d41d7579ad64.txt",
|
| 18178 |
+
"c4084f72486fb1c0c9b5f97e5cde13db.txt"
|
| 18179 |
+
]
|
| 18180 |
+
},
|
| 18181 |
{
|
| 18182 |
"file": "0c310ba2559b8d27973601ffe43c0478.txt",
|
| 18183 |
"label": "0c310ba2559b8d27973601ffe43c0478",
|
|
|
|
| 39408 |
"n_dups": 0,
|
| 39409 |
"members": []
|
| 39410 |
},
|
| 39411 |
+
{
|
| 39412 |
+
"file": "18a0d34857496aca443275ca829280b1.txt",
|
| 39413 |
+
"label": "18a0d34857496aca443275ca829280b1",
|
| 39414 |
+
"content_hash": "32152e4982df68cefb1ea45363ac34c1503f2761",
|
| 39415 |
+
"group_key": "T:022b156e2792e342:e7f4e5e70cb8335e",
|
| 39416 |
+
"parse_status": "ok",
|
| 39417 |
+
"n_objs": 14,
|
| 39418 |
+
"n_levels": 6,
|
| 39419 |
+
"n_dups": 0,
|
| 39420 |
+
"members": []
|
| 39421 |
+
},
|
| 39422 |
{
|
| 39423 |
"file": "18a60efde689c1719944.txt",
|
| 39424 |
"label": "18a60efde689c1719944",
|
|
|
|
| 164669 |
"n_dups": 0,
|
| 164670 |
"members": []
|
| 164671 |
},
|
| 164672 |
+
{
|
| 164673 |
+
"file": "74552fb02c7bfa9a1d6c5d3c92a168c2.txt",
|
| 164674 |
+
"label": "74552fb02c7bfa9a1d6c5d3c92a168c2",
|
| 164675 |
+
"content_hash": "6d09d92f17e5d7de25f4c448051b201a6d2695b8",
|
| 164676 |
+
"group_key": "T:4207659a69f1b4c2:550e23eacc1d398e",
|
| 164677 |
+
"parse_status": "ok",
|
| 164678 |
+
"n_objs": 25,
|
| 164679 |
+
"n_levels": 1,
|
| 164680 |
+
"n_dups": 0,
|
| 164681 |
+
"members": []
|
| 164682 |
+
},
|
| 164683 |
{
|
| 164684 |
"file": "7456770bb655f441e0bac7325034913f.txt",
|
| 164685 |
"label": "7456770bb655f441e0bac7325034913f",
|
|
|
|
| 174523 |
"n_dups": 0,
|
| 174524 |
"members": []
|
| 174525 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 174526 |
{
|
| 174527 |
"file": "7a8ec737b2fcbb82844cfe759090d4c5.txt",
|
| 174528 |
"label": "7a8ec737b2fcbb82844cfe759090d4c5",
|
|
|
|
| 221878 |
"parse_status": "ok",
|
| 221879 |
"n_objs": 12,
|
| 221880 |
"n_levels": 6,
|
| 221881 |
+
"n_dups": 2,
|
| 221882 |
"members": [
|
| 221883 |
"9db5aee13a5620639d28f1179317b300.txt",
|
| 221884 |
+
"9e7601d6e81e3a9b85d43e573139428b.txt",
|
| 221885 |
"da68b2957f488d147999385ec727c441.txt"
|
| 221886 |
]
|
| 221887 |
},
|
|
|
|
| 227940 |
"n_dups": 0,
|
| 227941 |
"members": []
|
| 227942 |
},
|
| 227943 |
+
{
|
| 227944 |
+
"file": "a43c9d6b49f97fcb31f7fe1de1073282.txt",
|
| 227945 |
+
"label": "a43c9d6b49f97fcb31f7fe1de1073282",
|
| 227946 |
+
"content_hash": "ec203d20a1f265bfa4ecdcc1d3904ce485688f10",
|
| 227947 |
+
"group_key": "T:7c34d637035fa70b:630a3f87667a49c7",
|
| 227948 |
+
"parse_status": "ok",
|
| 227949 |
+
"n_objs": 31,
|
| 227950 |
+
"n_levels": 2,
|
| 227951 |
+
"n_dups": 0,
|
| 227952 |
+
"members": []
|
| 227953 |
+
},
|
| 227954 |
{
|
| 227955 |
"file": "a43cf4491489ef029e45c6e622eb4e1c.txt",
|
| 227956 |
"label": "a43cf4491489ef029e45c6e622eb4e1c",
|
|
|
|
| 244585 |
"n_dups": 0,
|
| 244586 |
"members": []
|
| 244587 |
},
|
| 244588 |
+
{
|
| 244589 |
+
"file": "b57db8cce5acab5708efb6668a191ae1.txt",
|
| 244590 |
+
"label": "b57db8cce5acab5708efb6668a191ae1",
|
| 244591 |
+
"content_hash": "6d074063c14fc761382871e95b3b4750bcc7d39d",
|
| 244592 |
+
"group_key": "T:cf9155e3beec9924:0211be1b0fa78d70",
|
| 244593 |
+
"parse_status": "ok",
|
| 244594 |
+
"n_objs": 4,
|
| 244595 |
+
"n_levels": 1,
|
| 244596 |
+
"n_dups": 0,
|
| 244597 |
+
"members": []
|
| 244598 |
+
},
|
| 244599 |
{
|
| 244600 |
"file": "b581f391a9649445209cd33f36d99d5a.txt",
|
| 244601 |
"label": "b581f391a9649445209cd33f36d99d5a",
|
|
|
|
| 252794 |
"n_dups": 0,
|
| 252795 |
"members": []
|
| 252796 |
},
|
| 252797 |
+
{
|
| 252798 |
+
"file": "be50f359738a271859919e0482c03ae1.txt",
|
| 252799 |
+
"label": "be50f359738a271859919e0482c03ae1",
|
| 252800 |
+
"content_hash": "a0c427694080ad7c3564e61b7a95583d2453b3ff",
|
| 252801 |
+
"group_key": "T:022b156e2792e342:a05a86b1520f6597",
|
| 252802 |
+
"parse_status": "ok",
|
| 252803 |
+
"n_objs": 14,
|
| 252804 |
+
"n_levels": 6,
|
| 252805 |
+
"n_dups": 0,
|
| 252806 |
+
"members": []
|
| 252807 |
+
},
|
| 252808 |
{
|
| 252809 |
"file": "be59aed63f49d8a3ca74279f84af01d2.txt",
|
| 252810 |
"label": "be59aed63f49d8a3ca74279f84af01d2",
|