Datasets:
Daily refresh: 37237 games
Browse files- README.md +2 -2
- data/puzzlescript_games.jsonl +2 -2
- dedup_master.json +33 -8
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,741** 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,127 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:6ae1146032d661ba765d8446e32aa8218c54741bc0b28c6a52e4ba79c6a4bc5c
|
| 3 |
+
size 313818957
|
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": 2762,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
@@ -125228,6 +125228,17 @@
|
|
| 125228 |
"n_dups": 0,
|
| 125229 |
"members": []
|
| 125230 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125231 |
{
|
| 125232 |
"file": "5f8616413aee4bf03e4ae61d66721b99.txt",
|
| 125233 |
"label": "5f8616413aee4bf03e4ae61d66721b99",
|
|
@@ -200001,6 +200012,20 @@
|
|
| 200001 |
"96f4f0ebd6922e6034edda268c744805.txt"
|
| 200002 |
]
|
| 200003 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 200004 |
{
|
| 200005 |
"file": "8d25993fd409e1796523.txt",
|
| 200006 |
"label": "8d25993fd409e1796523",
|
|
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
+
"n_files": 37237,
|
| 4 |
+
"n_unique_content": 32832,
|
| 5 |
+
"n_after_dedup": 27182,
|
| 6 |
+
"removed_as_dups": 10055,
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4361,
|
| 9 |
+
"ok": 32543,
|
| 10 |
"preprocess_error": 295,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
+
"n_parsed_candidates": 23259,
|
| 14 |
+
"n_distinct_mechanics": 16917,
|
| 15 |
+
"n_distinct_levelsets": 19709,
|
| 16 |
"n_mechanics_shared_by_2plus": 2762,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
|
|
| 125228 |
"n_dups": 0,
|
| 125229 |
"members": []
|
| 125230 |
},
|
| 125231 |
+
{
|
| 125232 |
+
"file": "5f83695d16aba0270e79616529c1ed1d.txt",
|
| 125233 |
+
"label": "5f83695d16aba0270e79616529c1ed1d",
|
| 125234 |
+
"content_hash": "e301c2834aaddb06eb62bd1f663f93d2ae3750bb",
|
| 125235 |
+
"group_key": "T:21260e1512efb3ac:5c743f16683c114c",
|
| 125236 |
+
"parse_status": "ok",
|
| 125237 |
+
"n_objs": 11,
|
| 125238 |
+
"n_levels": 1,
|
| 125239 |
+
"n_dups": 0,
|
| 125240 |
+
"members": []
|
| 125241 |
+
},
|
| 125242 |
{
|
| 125243 |
"file": "5f8616413aee4bf03e4ae61d66721b99.txt",
|
| 125244 |
"label": "5f8616413aee4bf03e4ae61d66721b99",
|
|
|
|
| 200012 |
"96f4f0ebd6922e6034edda268c744805.txt"
|
| 200013 |
]
|
| 200014 |
},
|
| 200015 |
+
{
|
| 200016 |
+
"file": "8d2152e7cb5e9c05454febc4bb586d9f.txt",
|
| 200017 |
+
"label": "8d2152e7cb5e9c05454febc4bb586d9f",
|
| 200018 |
+
"content_hash": "e5a89efa9a83122891b12252faaa5251aed2d73c",
|
| 200019 |
+
"group_key": "T:cd955a33ecc2350d:bedfa784c2a99633",
|
| 200020 |
+
"parse_status": "ok",
|
| 200021 |
+
"n_objs": 11,
|
| 200022 |
+
"n_levels": 6,
|
| 200023 |
+
"n_dups": 1,
|
| 200024 |
+
"members": [
|
| 200025 |
+
"8d2152e7cb5e9c05454febc4bb586d9f.txt",
|
| 200026 |
+
"c226fce2870c392c5a10d41d7579ad64.txt"
|
| 200027 |
+
]
|
| 200028 |
+
},
|
| 200029 |
{
|
| 200030 |
"file": "8d25993fd409e1796523.txt",
|
| 200031 |
"label": "8d25993fd409e1796523",
|