Datasets:
Daily refresh: 37898 games
Browse files- README.md +2 -2
- data/puzzlescript_games.jsonl +2 -2
- dedup_master.json +33 -19
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,157** 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,382 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:b07a497fd5009cbcfccd4bfe0c81e0fb7f9b58c52eb1df72646f7c015a0b1480
|
| 3 |
+
size 316427694
|
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": 4679,
|
| 9 |
-
"ok":
|
| 10 |
"preprocess_error": 302,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
-
"n_parsed_candidates":
|
| 14 |
-
"n_distinct_mechanics":
|
| 15 |
-
"n_distinct_levelsets":
|
| 16 |
"n_mechanics_shared_by_2plus": 2781,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
@@ -51380,6 +51380,17 @@
|
|
| 51380 |
"n_dups": 0,
|
| 51381 |
"members": []
|
| 51382 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51383 |
{
|
| 51384 |
"file": "20ce1d1b0f9e7363d84f7c6b0a11a526.txt",
|
| 51385 |
"label": "20ce1d1b0f9e7363d84f7c6b0a11a526",
|
|
@@ -122648,6 +122659,20 @@
|
|
| 122648 |
"n_dups": 0,
|
| 122649 |
"members": []
|
| 122650 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122651 |
{
|
| 122652 |
"file": "5ac4eb45db823d58827a7e7ec4ba626b.txt",
|
| 122653 |
"label": "5ac4eb45db823d58827a7e7ec4ba626b",
|
|
@@ -291189,17 +291214,6 @@
|
|
| 291189 |
"n_dups": 0,
|
| 291190 |
"members": []
|
| 291191 |
},
|
| 291192 |
-
{
|
| 291193 |
-
"file": "e2a39cfe6516f76e5125c6b190bddfa5.txt",
|
| 291194 |
-
"label": "e2a39cfe6516f76e5125c6b190bddfa5",
|
| 291195 |
-
"content_hash": "024d14ab5c1d0b966e166426f024ccd00d147b4f",
|
| 291196 |
-
"group_key": "T:0a5584a051443571:aa206737535ff8e1",
|
| 291197 |
-
"parse_status": "ok",
|
| 291198 |
-
"n_objs": 45,
|
| 291199 |
-
"n_levels": 12,
|
| 291200 |
-
"n_dups": 0,
|
| 291201 |
-
"members": []
|
| 291202 |
-
},
|
| 291203 |
{
|
| 291204 |
"file": "e2acfd055c6fce72f0003ca599faa6ad.txt",
|
| 291205 |
"label": "e2acfd055c6fce72f0003ca599faa6ad",
|
|
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
+
"n_files": 37898,
|
| 4 |
+
"n_unique_content": 33380,
|
| 5 |
+
"n_after_dedup": 27636,
|
| 6 |
+
"removed_as_dups": 10262,
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4679,
|
| 9 |
+
"ok": 32879,
|
| 10 |
"preprocess_error": 302,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
+
"n_parsed_candidates": 23452,
|
| 14 |
+
"n_distinct_mechanics": 17067,
|
| 15 |
+
"n_distinct_levelsets": 19878,
|
| 16 |
"n_mechanics_shared_by_2plus": 2781,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
|
|
| 51380 |
"n_dups": 0,
|
| 51381 |
"members": []
|
| 51382 |
},
|
| 51383 |
+
{
|
| 51384 |
+
"file": "20c862963fe44c875f74a33ac9a023f0.txt",
|
| 51385 |
+
"label": "20c862963fe44c875f74a33ac9a023f0",
|
| 51386 |
+
"content_hash": "68bb6f5254927042c201402e5f0f7e63da16560e",
|
| 51387 |
+
"group_key": "T:6b4656c23cabb876:8c614874ccd19d85",
|
| 51388 |
+
"parse_status": "ok",
|
| 51389 |
+
"n_objs": 32,
|
| 51390 |
+
"n_levels": 7,
|
| 51391 |
+
"n_dups": 0,
|
| 51392 |
+
"members": []
|
| 51393 |
+
},
|
| 51394 |
{
|
| 51395 |
"file": "20ce1d1b0f9e7363d84f7c6b0a11a526.txt",
|
| 51396 |
"label": "20ce1d1b0f9e7363d84f7c6b0a11a526",
|
|
|
|
| 122659 |
"n_dups": 0,
|
| 122660 |
"members": []
|
| 122661 |
},
|
| 122662 |
+
{
|
| 122663 |
+
"file": "5ac29e9a157c4119f649a64a3692f762.txt",
|
| 122664 |
+
"label": "5ac29e9a157c4119f649a64a3692f762",
|
| 122665 |
+
"content_hash": "024d14ab5c1d0b966e166426f024ccd00d147b4f",
|
| 122666 |
+
"group_key": "T:0a5584a051443571:aa206737535ff8e1",
|
| 122667 |
+
"parse_status": "ok",
|
| 122668 |
+
"n_objs": 45,
|
| 122669 |
+
"n_levels": 12,
|
| 122670 |
+
"n_dups": 1,
|
| 122671 |
+
"members": [
|
| 122672 |
+
"5ac29e9a157c4119f649a64a3692f762.txt",
|
| 122673 |
+
"e2a39cfe6516f76e5125c6b190bddfa5.txt"
|
| 122674 |
+
]
|
| 122675 |
+
},
|
| 122676 |
{
|
| 122677 |
"file": "5ac4eb45db823d58827a7e7ec4ba626b.txt",
|
| 122678 |
"label": "5ac4eb45db823d58827a7e7ec4ba626b",
|
|
|
|
| 291214 |
"n_dups": 0,
|
| 291215 |
"members": []
|
| 291216 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 291217 |
{
|
| 291218 |
"file": "e2acfd055c6fce72f0003ca599faa6ad.txt",
|
| 291219 |
"label": "e2acfd055c6fce72f0003ca599faa6ad",
|