Datasets:
Daily refresh: 37369 games
Browse files- README.md +2 -2
- data/puzzlescript_games.jsonl +2 -2
- dedup_master.json +45 -9
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,848** 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,191 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:8c17473d305fb8235c3b9eaf81c53f6590309c07f4acd954b89915d35a4716bb
|
| 3 |
+
size 314432035
|
dedup_master.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
| 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": 4386,
|
| 9 |
-
"ok":
|
| 10 |
"preprocess_error": 296,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
-
"n_parsed_candidates":
|
| 14 |
-
"n_distinct_mechanics":
|
| 15 |
"n_distinct_levelsets": 19761,
|
| 16 |
"n_mechanics_shared_by_2plus": 2769,
|
| 17 |
"candidates": [
|
|
@@ -136638,7 +136638,7 @@
|
|
| 136638 |
"parse_status": "ok",
|
| 136639 |
"n_objs": 5,
|
| 136640 |
"n_levels": 1,
|
| 136641 |
-
"n_dups":
|
| 136642 |
"members": [
|
| 136643 |
"017e7c78a8d854b93a042a5e71ccb44b.txt",
|
| 136644 |
"01f3e38c1fb1e3260290b4dc1b156865.txt",
|
|
@@ -136702,6 +136702,7 @@
|
|
| 136702 |
"1dce8ae38c2e9531db97559f16983e6d.txt",
|
| 136703 |
"1ddd6d5b46b8238bb0832498bff470ed.txt",
|
| 136704 |
"1e5b6cc5b8d567c66eed174812349122.txt",
|
|
|
|
| 136705 |
"1eb4e6de30dafe5c9e858683dee88d60.txt",
|
| 136706 |
"1f2b17b0a84c4ec5b9dc22dba83aa941.txt",
|
| 136707 |
"1f3a2029320d43d748b83ed272a91a26.txt",
|
|
@@ -137167,6 +137168,7 @@
|
|
| 137167 |
"e439e526132d58cd6f146532af557d31.txt",
|
| 137168 |
"e44943f568f738211b3c0b5f6de1c2ac.txt",
|
| 137169 |
"e46851625b9f564787ea96b57dc3cc14.txt",
|
|
|
|
| 137170 |
"e5e3e2aff9c55bbd42f4e7f4276c14ac.txt",
|
| 137171 |
"e62f68a04ed70a056e34840244ee5d09.txt",
|
| 137172 |
"e65dd2212c9121c6aaf1b90823c70afd.txt",
|
|
@@ -170546,6 +170548,17 @@
|
|
| 170546 |
"n_dups": 0,
|
| 170547 |
"members": []
|
| 170548 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 170549 |
{
|
| 170550 |
"file": "775f6f2703f2e52135a4.txt",
|
| 170551 |
"label": "775f6f2703f2e52135a4",
|
|
@@ -246001,6 +246014,17 @@
|
|
| 246001 |
"n_dups": 0,
|
| 246002 |
"members": []
|
| 246003 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 246004 |
{
|
| 246005 |
"file": "b63a9d16f11c0fdd7b9993ee0e6663f5.txt",
|
| 246006 |
"label": "b63a9d16f11c0fdd7b9993ee0e6663f5",
|
|
@@ -289929,6 +289953,17 @@
|
|
| 289929 |
"n_dups": 0,
|
| 289930 |
"members": []
|
| 289931 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 289932 |
{
|
| 289933 |
"file": "e5d4e1d163ea0ea896ce2af4a387f3d8.txt",
|
| 289934 |
"label": "e5d4e1d163ea0ea896ce2af4a387f3d8",
|
|
@@ -317176,7 +317211,7 @@
|
|
| 317176 |
"parse_status": "ok",
|
| 317177 |
"n_objs": 5,
|
| 317178 |
"n_levels": 2,
|
| 317179 |
-
"n_dups":
|
| 317180 |
"members": [
|
| 317181 |
"0304134ff1b81854e3c0d6c2d5690595.txt",
|
| 317182 |
"03156a20867fa0cf5047ae87de404cae.txt",
|
|
@@ -317395,6 +317430,7 @@
|
|
| 317395 |
"e957fea437a28965eb7ad0a047984747.txt",
|
| 317396 |
"ed74c9ec78e40f8ba6aff4d3bb2a6641.txt",
|
| 317397 |
"f041986feb3b6548e13c51d1a9ff7fa7.txt",
|
|
|
|
| 317398 |
"f16333b0afb01010ed09e3a666ad8097.txt",
|
| 317399 |
"f1773498063a569f0bed684e8443956a.txt",
|
| 317400 |
"f1e71e5d88eed3e13d590ebf09ea22cc.txt",
|
|
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
+
"n_files": 37369,
|
| 4 |
+
"n_unique_content": 32936,
|
| 5 |
+
"n_after_dedup": 27269,
|
| 6 |
+
"removed_as_dups": 10100,
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4386,
|
| 9 |
+
"ok": 32649,
|
| 10 |
"preprocess_error": 296,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
+
"n_parsed_candidates": 23322,
|
| 14 |
+
"n_distinct_mechanics": 16965,
|
| 15 |
"n_distinct_levelsets": 19761,
|
| 16 |
"n_mechanics_shared_by_2plus": 2769,
|
| 17 |
"candidates": [
|
|
|
|
| 136638 |
"parse_status": "ok",
|
| 136639 |
"n_objs": 5,
|
| 136640 |
"n_levels": 1,
|
| 136641 |
+
"n_dups": 598,
|
| 136642 |
"members": [
|
| 136643 |
"017e7c78a8d854b93a042a5e71ccb44b.txt",
|
| 136644 |
"01f3e38c1fb1e3260290b4dc1b156865.txt",
|
|
|
|
| 136702 |
"1dce8ae38c2e9531db97559f16983e6d.txt",
|
| 136703 |
"1ddd6d5b46b8238bb0832498bff470ed.txt",
|
| 136704 |
"1e5b6cc5b8d567c66eed174812349122.txt",
|
| 136705 |
+
"1ea12afc95882576a8bf4e381cbcf065.txt",
|
| 136706 |
"1eb4e6de30dafe5c9e858683dee88d60.txt",
|
| 136707 |
"1f2b17b0a84c4ec5b9dc22dba83aa941.txt",
|
| 136708 |
"1f3a2029320d43d748b83ed272a91a26.txt",
|
|
|
|
| 137168 |
"e439e526132d58cd6f146532af557d31.txt",
|
| 137169 |
"e44943f568f738211b3c0b5f6de1c2ac.txt",
|
| 137170 |
"e46851625b9f564787ea96b57dc3cc14.txt",
|
| 137171 |
+
"e52bbc29625b08c7788815828981d5c3.txt",
|
| 137172 |
"e5e3e2aff9c55bbd42f4e7f4276c14ac.txt",
|
| 137173 |
"e62f68a04ed70a056e34840244ee5d09.txt",
|
| 137174 |
"e65dd2212c9121c6aaf1b90823c70afd.txt",
|
|
|
|
| 170548 |
"n_dups": 0,
|
| 170549 |
"members": []
|
| 170550 |
},
|
| 170551 |
+
{
|
| 170552 |
+
"file": "775d5e3f8ef72739b0d11e3624f66bfd.txt",
|
| 170553 |
+
"label": "775d5e3f8ef72739b0d11e3624f66bfd",
|
| 170554 |
+
"content_hash": "6c7d7a93918830aa907128a5fcc92960fe2cfa19",
|
| 170555 |
+
"group_key": "T:93710cb52c700135:e8386a7f6be74308",
|
| 170556 |
+
"parse_status": "ok",
|
| 170557 |
+
"n_objs": 11,
|
| 170558 |
+
"n_levels": 1,
|
| 170559 |
+
"n_dups": 0,
|
| 170560 |
+
"members": []
|
| 170561 |
+
},
|
| 170562 |
{
|
| 170563 |
"file": "775f6f2703f2e52135a4.txt",
|
| 170564 |
"label": "775f6f2703f2e52135a4",
|
|
|
|
| 246014 |
"n_dups": 0,
|
| 246015 |
"members": []
|
| 246016 |
},
|
| 246017 |
+
{
|
| 246018 |
+
"file": "b63a3348878693f6cdeeb547642a0d0f.txt",
|
| 246019 |
+
"label": "b63a3348878693f6cdeeb547642a0d0f",
|
| 246020 |
+
"content_hash": "50cbb76cf72306c801d1a5c8818bbc8b1a116ddd",
|
| 246021 |
+
"group_key": "T:0666ea3539a22087:5bcb1bf5e012f35a",
|
| 246022 |
+
"parse_status": "ok",
|
| 246023 |
+
"n_objs": 11,
|
| 246024 |
+
"n_levels": 1,
|
| 246025 |
+
"n_dups": 0,
|
| 246026 |
+
"members": []
|
| 246027 |
+
},
|
| 246028 |
{
|
| 246029 |
"file": "b63a9d16f11c0fdd7b9993ee0e6663f5.txt",
|
| 246030 |
"label": "b63a9d16f11c0fdd7b9993ee0e6663f5",
|
|
|
|
| 289953 |
"n_dups": 0,
|
| 289954 |
"members": []
|
| 289955 |
},
|
| 289956 |
+
{
|
| 289957 |
+
"file": "e5d31d9998358b3f1f1a54fe030b64f7.txt",
|
| 289958 |
+
"label": "e5d31d9998358b3f1f1a54fe030b64f7",
|
| 289959 |
+
"content_hash": "fd1b8abb7a9589bc6e36c97bcf00cd39b5a8d425",
|
| 289960 |
+
"group_key": "T:a31c8bffae6378c8:ad242933e151719d",
|
| 289961 |
+
"parse_status": "ok",
|
| 289962 |
+
"n_objs": 53,
|
| 289963 |
+
"n_levels": 5,
|
| 289964 |
+
"n_dups": 0,
|
| 289965 |
+
"members": []
|
| 289966 |
+
},
|
| 289967 |
{
|
| 289968 |
"file": "e5d4e1d163ea0ea896ce2af4a387f3d8.txt",
|
| 289969 |
"label": "e5d4e1d163ea0ea896ce2af4a387f3d8",
|
|
|
|
| 317211 |
"parse_status": "ok",
|
| 317212 |
"n_objs": 5,
|
| 317213 |
"n_levels": 2,
|
| 317214 |
+
"n_dups": 234,
|
| 317215 |
"members": [
|
| 317216 |
"0304134ff1b81854e3c0d6c2d5690595.txt",
|
| 317217 |
"03156a20867fa0cf5047ae87de404cae.txt",
|
|
|
|
| 317430 |
"e957fea437a28965eb7ad0a047984747.txt",
|
| 317431 |
"ed74c9ec78e40f8ba6aff4d3bb2a6641.txt",
|
| 317432 |
"f041986feb3b6548e13c51d1a9ff7fa7.txt",
|
| 317433 |
+
"f0a15d8cdbbece1c96e10270939011ba.txt",
|
| 317434 |
"f16333b0afb01010ed09e3a666ad8097.txt",
|
| 317435 |
"f1773498063a569f0bed684e8443956a.txt",
|
| 317436 |
"f1e71e5d88eed3e13d590ebf09ea22cc.txt",
|