Datasets:
Daily refresh: 38260 games
Browse files- README.md +2 -2
- data/puzzlescript_games.jsonl +2 -2
- dedup_master.json +63 -23
README.md
CHANGED
|
@@ -22,7 +22,7 @@ configs:
|
|
| 22 |
|
| 23 |
# PuzzleScript Human-Authored Games (Full Gist Corpus)
|
| 24 |
|
| 25 |
-
**35,
|
| 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 |
+
**35,467** 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,591 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:d1d59464ad7f50a6f8cd52afc7c98138b9a387dd61a7235ebf52747e27f7cc40
|
| 3 |
+
size 318415381
|
dedup_master.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
| 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":
|
| 9 |
-
"ok":
|
| 10 |
"preprocess_error": 310,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
-
"n_parsed_candidates":
|
| 14 |
-
"n_distinct_mechanics":
|
| 15 |
-
"n_distinct_levelsets":
|
| 16 |
-
"n_mechanics_shared_by_2plus":
|
| 17 |
"candidates": [
|
| 18 |
{
|
| 19 |
"file": "9d573d3cfa79cfa1f132.txt",
|
|
@@ -58013,6 +58013,20 @@
|
|
| 58013 |
"n_dups": 0,
|
| 58014 |
"members": []
|
| 58015 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58016 |
{
|
| 58017 |
"file": "2561b0ec74e78cfa279ef32e7de1e0f8.txt",
|
| 58018 |
"label": "2561b0ec74e78cfa279ef32e7de1e0f8",
|
|
@@ -107289,8 +107303,12 @@
|
|
| 107289 |
"parse_status": "parse_error:VisitError",
|
| 107290 |
"n_objs": null,
|
| 107291 |
"n_levels": null,
|
| 107292 |
-
"n_dups":
|
| 107293 |
-
"members": [
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107294 |
},
|
| 107295 |
{
|
| 107296 |
"file": "4cccb0fd3ce86dde1d7e43f723eb8c45.txt",
|
|
@@ -153502,17 +153520,6 @@
|
|
| 153502 |
"7e38ab3414b48c100363acaac4cad48e.txt"
|
| 153503 |
]
|
| 153504 |
},
|
| 153505 |
-
{
|
| 153506 |
-
"file": "6d1272cb431791e862fbafc56fd83279.txt",
|
| 153507 |
-
"label": "6d1272cb431791e862fbafc56fd83279",
|
| 153508 |
-
"content_hash": "72467cd30238a233d5b4d89ae0700ce202faf751",
|
| 153509 |
-
"group_key": "T:af834ddc80561c2b:b4014a52db08f99f",
|
| 153510 |
-
"parse_status": "ok",
|
| 153511 |
-
"n_objs": 12,
|
| 153512 |
-
"n_levels": 15,
|
| 153513 |
-
"n_dups": 0,
|
| 153514 |
-
"members": []
|
| 153515 |
-
},
|
| 153516 |
{
|
| 153517 |
"file": "6d168f0302ef2933f92a242afce68f46.txt",
|
| 153518 |
"label": "6d168f0302ef2933f92a242afce68f46",
|
|
@@ -167748,6 +167755,17 @@
|
|
| 167748 |
"n_dups": 0,
|
| 167749 |
"members": []
|
| 167750 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 167751 |
{
|
| 167752 |
"file": "7398979.txt",
|
| 167753 |
"label": "7398979",
|
|
@@ -206578,6 +206596,17 @@
|
|
| 206578 |
"n_dups": 0,
|
| 206579 |
"members": []
|
| 206580 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 206581 |
{
|
| 206582 |
"file": "8e9f03e820c932d4345b.txt",
|
| 206583 |
"label": "8e9f03e820c932d4345b",
|
|
@@ -295353,6 +295382,17 @@
|
|
| 295353 |
"n_dups": 0,
|
| 295354 |
"members": []
|
| 295355 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 295356 |
{
|
| 295357 |
"file": "e446cdb875b8e69f10b78756de92d0de.txt",
|
| 295358 |
"label": "e446cdb875b8e69f10b78756de92d0de",
|
|
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
+
"n_files": 38260,
|
| 4 |
+
"n_unique_content": 33676,
|
| 5 |
+
"n_after_dedup": 27888,
|
| 6 |
+
"removed_as_dups": 10372,
|
| 7 |
"parse_status_counts": {
|
| 8 |
+
"parse_error": 4758,
|
| 9 |
+
"ok": 33154,
|
| 10 |
"preprocess_error": 310,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
+
"n_parsed_candidates": 23637,
|
| 14 |
+
"n_distinct_mechanics": 17193,
|
| 15 |
+
"n_distinct_levelsets": 20036,
|
| 16 |
+
"n_mechanics_shared_by_2plus": 2800,
|
| 17 |
"candidates": [
|
| 18 |
{
|
| 19 |
"file": "9d573d3cfa79cfa1f132.txt",
|
|
|
|
| 58013 |
"n_dups": 0,
|
| 58014 |
"members": []
|
| 58015 |
},
|
| 58016 |
+
{
|
| 58017 |
+
"file": "255c872f1913374eb2b11f93e8ab6ca4.txt",
|
| 58018 |
+
"label": "255c872f1913374eb2b11f93e8ab6ca4",
|
| 58019 |
+
"content_hash": "7379d0fc9d1641506d28f3b1e834cb31a06c00d1",
|
| 58020 |
+
"group_key": "T:af834ddc80561c2b:b4014a52db08f99f",
|
| 58021 |
+
"parse_status": "ok",
|
| 58022 |
+
"n_objs": 12,
|
| 58023 |
+
"n_levels": 15,
|
| 58024 |
+
"n_dups": 1,
|
| 58025 |
+
"members": [
|
| 58026 |
+
"255c872f1913374eb2b11f93e8ab6ca4.txt",
|
| 58027 |
+
"6d1272cb431791e862fbafc56fd83279.txt"
|
| 58028 |
+
]
|
| 58029 |
+
},
|
| 58030 |
{
|
| 58031 |
"file": "2561b0ec74e78cfa279ef32e7de1e0f8.txt",
|
| 58032 |
"label": "2561b0ec74e78cfa279ef32e7de1e0f8",
|
|
|
|
| 107303 |
"parse_status": "parse_error:VisitError",
|
| 107304 |
"n_objs": null,
|
| 107305 |
"n_levels": null,
|
| 107306 |
+
"n_dups": 2,
|
| 107307 |
+
"members": [
|
| 107308 |
+
"4cc3bedea33f40468435bfd77d11db83.txt",
|
| 107309 |
+
"4e2557fc349552e400618b5ef4606172.txt",
|
| 107310 |
+
"870e3cfb518b119471d45aeb2db6de41.txt"
|
| 107311 |
+
]
|
| 107312 |
},
|
| 107313 |
{
|
| 107314 |
"file": "4cccb0fd3ce86dde1d7e43f723eb8c45.txt",
|
|
|
|
| 153520 |
"7e38ab3414b48c100363acaac4cad48e.txt"
|
| 153521 |
]
|
| 153522 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153523 |
{
|
| 153524 |
"file": "6d168f0302ef2933f92a242afce68f46.txt",
|
| 153525 |
"label": "6d168f0302ef2933f92a242afce68f46",
|
|
|
|
| 167755 |
"n_dups": 0,
|
| 167756 |
"members": []
|
| 167757 |
},
|
| 167758 |
+
{
|
| 167759 |
+
"file": "73988d229dba23683f278ea9730f6128.txt",
|
| 167760 |
+
"label": "73988d229dba23683f278ea9730f6128",
|
| 167761 |
+
"content_hash": "439b583886e2834cfdee1c94c6ee39b1cf6bdc83",
|
| 167762 |
+
"group_key": "T:eb39f5140674c18e:4617116619005df0",
|
| 167763 |
+
"parse_status": "ok",
|
| 167764 |
+
"n_objs": 20,
|
| 167765 |
+
"n_levels": 9,
|
| 167766 |
+
"n_dups": 0,
|
| 167767 |
+
"members": []
|
| 167768 |
+
},
|
| 167769 |
{
|
| 167770 |
"file": "7398979.txt",
|
| 167771 |
"label": "7398979",
|
|
|
|
| 206596 |
"n_dups": 0,
|
| 206597 |
"members": []
|
| 206598 |
},
|
| 206599 |
+
{
|
| 206600 |
+
"file": "8e9a6f63e729b3db437fa8de05300f00.txt",
|
| 206601 |
+
"label": "8e9a6f63e729b3db437fa8de05300f00",
|
| 206602 |
+
"content_hash": "d8fc6856dc49f92b85fbb126fea50cb1ac29c382",
|
| 206603 |
+
"group_key": "T:f67f86dcb7580c2a:c70e65d2aa594a8c",
|
| 206604 |
+
"parse_status": "ok",
|
| 206605 |
+
"n_objs": 18,
|
| 206606 |
+
"n_levels": 1,
|
| 206607 |
+
"n_dups": 0,
|
| 206608 |
+
"members": []
|
| 206609 |
+
},
|
| 206610 |
{
|
| 206611 |
"file": "8e9f03e820c932d4345b.txt",
|
| 206612 |
"label": "8e9f03e820c932d4345b",
|
|
|
|
| 295382 |
"n_dups": 0,
|
| 295383 |
"members": []
|
| 295384 |
},
|
| 295385 |
+
{
|
| 295386 |
+
"file": "e44699197e7d73703d12eff1501cdd22.txt",
|
| 295387 |
+
"label": "e44699197e7d73703d12eff1501cdd22",
|
| 295388 |
+
"content_hash": "c82a76a49530108f1f0576c88fbe9f7532656771",
|
| 295389 |
+
"group_key": "T:77e39c435a7e5a22:f75cce2707ce178e",
|
| 295390 |
+
"parse_status": "ok",
|
| 295391 |
+
"n_objs": 34,
|
| 295392 |
+
"n_levels": 8,
|
| 295393 |
+
"n_dups": 0,
|
| 295394 |
+
"members": []
|
| 295395 |
+
},
|
| 295396 |
{
|
| 295397 |
"file": "e446cdb875b8e69f10b78756de92d0de.txt",
|
| 295398 |
"label": "e446cdb875b8e69f10b78756de92d0de",
|