Datasets:
Daily refresh: 37203 games
Browse files- README.md +2 -2
- data/puzzlescript_games.jsonl +2 -2
- dedup_master.json +32 -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,715** 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,105 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:60a88d8597a542fee920574fcb58bf25268700340bf5dd2ad0d1d906b6100074
|
| 3 |
+
size 313606197
|
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": 4352,
|
| 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": 2761,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
@@ -67827,6 +67827,17 @@
|
|
| 67827 |
"n_dups": 0,
|
| 67828 |
"members": []
|
| 67829 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67830 |
{
|
| 67831 |
"file": "2e3656767c34ce82194ca53e2404853d.txt",
|
| 67832 |
"label": "2e3656767c34ce82194ca53e2404853d",
|
|
@@ -171656,6 +171667,17 @@
|
|
| 171656 |
"n_dups": 0,
|
| 171657 |
"members": []
|
| 171658 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 171659 |
{
|
| 171660 |
"file": "78f1d14d2943d6e2a95e8f08d8f75fd4.txt",
|
| 171661 |
"label": "78f1d14d2943d6e2a95e8f08d8f75fd4",
|
|
@@ -315826,7 +315848,7 @@
|
|
| 315826 |
"parse_status": "ok",
|
| 315827 |
"n_objs": 5,
|
| 315828 |
"n_levels": 2,
|
| 315829 |
-
"n_dups":
|
| 315830 |
"members": [
|
| 315831 |
"0304134ff1b81854e3c0d6c2d5690595.txt",
|
| 315832 |
"03156a20867fa0cf5047ae87de404cae.txt",
|
|
@@ -316044,6 +316066,7 @@
|
|
| 316044 |
"e8f022b04badb96a7f36704132fdc0cc.txt",
|
| 316045 |
"e957fea437a28965eb7ad0a047984747.txt",
|
| 316046 |
"ed74c9ec78e40f8ba6aff4d3bb2a6641.txt",
|
|
|
|
| 316047 |
"f16333b0afb01010ed09e3a666ad8097.txt",
|
| 316048 |
"f1773498063a569f0bed684e8443956a.txt",
|
| 316049 |
"f1e71e5d88eed3e13d590ebf09ea22cc.txt",
|
|
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
+
"n_files": 37203,
|
| 4 |
+
"n_unique_content": 32801,
|
| 5 |
+
"n_after_dedup": 27153,
|
| 6 |
+
"removed_as_dups": 10050,
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4352,
|
| 9 |
+
"ok": 32518,
|
| 10 |
"preprocess_error": 295,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
+
"n_parsed_candidates": 23238,
|
| 14 |
+
"n_distinct_mechanics": 16898,
|
| 15 |
+
"n_distinct_levelsets": 19692,
|
| 16 |
"n_mechanics_shared_by_2plus": 2761,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
|
|
| 67827 |
"n_dups": 0,
|
| 67828 |
"members": []
|
| 67829 |
},
|
| 67830 |
+
{
|
| 67831 |
+
"file": "2e26847c49f07852a622034fb970ac81.txt",
|
| 67832 |
+
"label": "2e26847c49f07852a622034fb970ac81",
|
| 67833 |
+
"content_hash": "9fbe797c5765acead7fddc108522adb53f1b5901",
|
| 67834 |
+
"group_key": "T:5fd42d289fedaa35:fec483d9e7f5e557",
|
| 67835 |
+
"parse_status": "ok",
|
| 67836 |
+
"n_objs": 24,
|
| 67837 |
+
"n_levels": 9,
|
| 67838 |
+
"n_dups": 0,
|
| 67839 |
+
"members": []
|
| 67840 |
+
},
|
| 67841 |
{
|
| 67842 |
"file": "2e3656767c34ce82194ca53e2404853d.txt",
|
| 67843 |
"label": "2e3656767c34ce82194ca53e2404853d",
|
|
|
|
| 171667 |
"n_dups": 0,
|
| 171668 |
"members": []
|
| 171669 |
},
|
| 171670 |
+
{
|
| 171671 |
+
"file": "78f11e3330720d15acd9f1a8e4954841.txt",
|
| 171672 |
+
"label": "78f11e3330720d15acd9f1a8e4954841",
|
| 171673 |
+
"content_hash": "5d641a7ebd31cefa55a62ddcae5c63d42b830cd2",
|
| 171674 |
+
"group_key": "T:45ff87ee43c8e7bf:41e20d7da43b1e48",
|
| 171675 |
+
"parse_status": "ok",
|
| 171676 |
+
"n_objs": 15,
|
| 171677 |
+
"n_levels": 17,
|
| 171678 |
+
"n_dups": 0,
|
| 171679 |
+
"members": []
|
| 171680 |
+
},
|
| 171681 |
{
|
| 171682 |
"file": "78f1d14d2943d6e2a95e8f08d8f75fd4.txt",
|
| 171683 |
"label": "78f1d14d2943d6e2a95e8f08d8f75fd4",
|
|
|
|
| 315848 |
"parse_status": "ok",
|
| 315849 |
"n_objs": 5,
|
| 315850 |
"n_levels": 2,
|
| 315851 |
+
"n_dups": 233,
|
| 315852 |
"members": [
|
| 315853 |
"0304134ff1b81854e3c0d6c2d5690595.txt",
|
| 315854 |
"03156a20867fa0cf5047ae87de404cae.txt",
|
|
|
|
| 316066 |
"e8f022b04badb96a7f36704132fdc0cc.txt",
|
| 316067 |
"e957fea437a28965eb7ad0a047984747.txt",
|
| 316068 |
"ed74c9ec78e40f8ba6aff4d3bb2a6641.txt",
|
| 316069 |
+
"f041986feb3b6548e13c51d1a9ff7fa7.txt",
|
| 316070 |
"f16333b0afb01010ed09e3a666ad8097.txt",
|
| 316071 |
"f1773498063a569f0bed684e8443956a.txt",
|
| 316072 |
"f1e71e5d88eed3e13d590ebf09ea22cc.txt",
|