Datasets:
Daily refresh: 37350 games
Browse files- README.md +2 -2
- data/puzzlescript_games.jsonl +2 -2
- dedup_master.json +102 -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,829** 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,181 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:eca9ed605f25d451a32f760f8b4a9b67ba3df2b9d0aae055070b287db4866f3a
|
| 3 |
+
size 314152929
|
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": 4386,
|
| 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": 2769,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
@@ -13249,6 +13249,20 @@
|
|
| 13249 |
"n_dups": 0,
|
| 13250 |
"members": []
|
| 13251 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13252 |
{
|
| 13253 |
"file": "08eae9cc76a17505219b.txt",
|
| 13254 |
"label": "08eae9cc76a17505219b",
|
|
@@ -63381,6 +63395,20 @@
|
|
| 63381 |
"3a6d818c73579fc31750b2fdd0cfa3a5.txt"
|
| 63382 |
]
|
| 63383 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63384 |
{
|
| 63385 |
"file": "2aa33778b42084019dfe76be95ce72dd.txt",
|
| 63386 |
"label": "2aa33778b42084019dfe76be95ce72dd",
|
|
@@ -101026,6 +101054,17 @@
|
|
| 101026 |
"n_dups": 0,
|
| 101027 |
"members": []
|
| 101028 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 101029 |
{
|
| 101030 |
"file": "49cc1e6502376bd49596.txt",
|
| 101031 |
"label": "49cc1e6502376bd49596",
|
|
@@ -117504,6 +117543,17 @@
|
|
| 117504 |
"n_dups": 0,
|
| 117505 |
"members": []
|
| 117506 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117507 |
{
|
| 117508 |
"file": "57ec02d5b3ae64053266f1a9352ddac7.txt",
|
| 117509 |
"label": "57ec02d5b3ae64053266f1a9352ddac7",
|
|
@@ -177497,6 +177547,17 @@
|
|
| 177497 |
"n_dups": 0,
|
| 177498 |
"members": []
|
| 177499 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 177500 |
{
|
| 177501 |
"file": "7d433b5520e2da4692140621f400bae5.txt",
|
| 177502 |
"label": "7d433b5520e2da4692140621f400bae5",
|
|
@@ -249006,6 +249067,17 @@
|
|
| 249006 |
"n_dups": 0,
|
| 249007 |
"members": []
|
| 249008 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 249009 |
{
|
| 249010 |
"file": "b98e5335ab8906df00e629689d506069.txt",
|
| 249011 |
"label": "b98e5335ab8906df00e629689d506069",
|
|
@@ -259075,6 +259147,17 @@
|
|
| 259075 |
"n_dups": 0,
|
| 259076 |
"members": []
|
| 259077 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 259078 |
{
|
| 259079 |
"file": "c43141518a0a48c139c6e0706e86990c.txt",
|
| 259080 |
"label": "c43141518a0a48c139c6e0706e86990c",
|
|
@@ -266194,6 +266277,17 @@
|
|
| 266194 |
"n_dups": 0,
|
| 266195 |
"members": []
|
| 266196 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 266197 |
{
|
| 266198 |
"file": "cc29b2a1fa2f2ec66fb211d11212dc9a.txt",
|
| 266199 |
"label": "cc29b2a1fa2f2ec66fb211d11212dc9a",
|
|
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
+
"n_files": 37350,
|
| 4 |
+
"n_unique_content": 32922,
|
| 5 |
+
"n_after_dedup": 27259,
|
| 6 |
+
"removed_as_dups": 10091,
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4386,
|
| 9 |
+
"ok": 32631,
|
| 10 |
"preprocess_error": 295,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
+
"n_parsed_candidates": 23313,
|
| 14 |
+
"n_distinct_mechanics": 16956,
|
| 15 |
+
"n_distinct_levelsets": 19758,
|
| 16 |
"n_mechanics_shared_by_2plus": 2769,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
|
|
| 13249 |
"n_dups": 0,
|
| 13250 |
"members": []
|
| 13251 |
},
|
| 13252 |
+
{
|
| 13253 |
+
"file": "08e89f99bac72ea6c71bed6f2142efdd.txt",
|
| 13254 |
+
"label": "08e89f99bac72ea6c71bed6f2142efdd",
|
| 13255 |
+
"content_hash": "27e89f5ef4a4a4a12abbe575778fb0ed74e7959b",
|
| 13256 |
+
"group_key": "T:711f6f523cc217f0:9842c380964d8f82",
|
| 13257 |
+
"parse_status": "ok",
|
| 13258 |
+
"n_objs": 53,
|
| 13259 |
+
"n_levels": 3,
|
| 13260 |
+
"n_dups": 1,
|
| 13261 |
+
"members": [
|
| 13262 |
+
"08e89f99bac72ea6c71bed6f2142efdd.txt",
|
| 13263 |
+
"b72e62d3ecf91f1ca4c1ef645b050715.txt"
|
| 13264 |
+
]
|
| 13265 |
+
},
|
| 13266 |
{
|
| 13267 |
"file": "08eae9cc76a17505219b.txt",
|
| 13268 |
"label": "08eae9cc76a17505219b",
|
|
|
|
| 63395 |
"3a6d818c73579fc31750b2fdd0cfa3a5.txt"
|
| 63396 |
]
|
| 63397 |
},
|
| 63398 |
+
{
|
| 63399 |
+
"file": "2aa1dd493cfbc88d3e160c37a2811ac9.txt",
|
| 63400 |
+
"label": "2aa1dd493cfbc88d3e160c37a2811ac9",
|
| 63401 |
+
"content_hash": "0a08884d20f8f522d345947f9e72ba8452b772db",
|
| 63402 |
+
"group_key": "T:c4610d38995be82d:6e40e815c1334ce0",
|
| 63403 |
+
"parse_status": "ok",
|
| 63404 |
+
"n_objs": 36,
|
| 63405 |
+
"n_levels": 3,
|
| 63406 |
+
"n_dups": 1,
|
| 63407 |
+
"members": [
|
| 63408 |
+
"2aa1dd493cfbc88d3e160c37a2811ac9.txt",
|
| 63409 |
+
"3bb25a741863e1ada80e3c210af2b886.txt"
|
| 63410 |
+
]
|
| 63411 |
+
},
|
| 63412 |
{
|
| 63413 |
"file": "2aa33778b42084019dfe76be95ce72dd.txt",
|
| 63414 |
"label": "2aa33778b42084019dfe76be95ce72dd",
|
|
|
|
| 101054 |
"n_dups": 0,
|
| 101055 |
"members": []
|
| 101056 |
},
|
| 101057 |
+
{
|
| 101058 |
+
"file": "49cbf76eae1f77f275de083cad6d384d.txt",
|
| 101059 |
+
"label": "49cbf76eae1f77f275de083cad6d384d",
|
| 101060 |
+
"content_hash": "347355893c111b1316a09c77d394d6ae44ec0c90",
|
| 101061 |
+
"group_key": "T:2beef73ce47cb761:481c09ed6f0a861b",
|
| 101062 |
+
"parse_status": "ok",
|
| 101063 |
+
"n_objs": 48,
|
| 101064 |
+
"n_levels": 2,
|
| 101065 |
+
"n_dups": 0,
|
| 101066 |
+
"members": []
|
| 101067 |
+
},
|
| 101068 |
{
|
| 101069 |
"file": "49cc1e6502376bd49596.txt",
|
| 101070 |
"label": "49cc1e6502376bd49596",
|
|
|
|
| 117543 |
"n_dups": 0,
|
| 117544 |
"members": []
|
| 117545 |
},
|
| 117546 |
+
{
|
| 117547 |
+
"file": "57e90c9eb17a4cfd0874f055fb93a4aa.txt",
|
| 117548 |
+
"label": "57e90c9eb17a4cfd0874f055fb93a4aa",
|
| 117549 |
+
"content_hash": "f15c4e9d74e3de2f4e2eee9fe0896a136230b5ed",
|
| 117550 |
+
"group_key": "T:8cfd4329c1ffb4b9:6a9adb8bab5a5124",
|
| 117551 |
+
"parse_status": "ok",
|
| 117552 |
+
"n_objs": 33,
|
| 117553 |
+
"n_levels": 1,
|
| 117554 |
+
"n_dups": 0,
|
| 117555 |
+
"members": []
|
| 117556 |
+
},
|
| 117557 |
{
|
| 117558 |
"file": "57ec02d5b3ae64053266f1a9352ddac7.txt",
|
| 117559 |
"label": "57ec02d5b3ae64053266f1a9352ddac7",
|
|
|
|
| 177547 |
"n_dups": 0,
|
| 177548 |
"members": []
|
| 177549 |
},
|
| 177550 |
+
{
|
| 177551 |
+
"file": "7d405ee4035d53c1448d95d74787d68a.txt",
|
| 177552 |
+
"label": "7d405ee4035d53c1448d95d74787d68a",
|
| 177553 |
+
"content_hash": "c8b72d59fc554de0223db5e4deadf91b05f8cb2b",
|
| 177554 |
+
"group_key": "T:abc45f2aac7ca1f8:d78304389b9687de",
|
| 177555 |
+
"parse_status": "ok",
|
| 177556 |
+
"n_objs": 32,
|
| 177557 |
+
"n_levels": 1,
|
| 177558 |
+
"n_dups": 0,
|
| 177559 |
+
"members": []
|
| 177560 |
+
},
|
| 177561 |
{
|
| 177562 |
"file": "7d433b5520e2da4692140621f400bae5.txt",
|
| 177563 |
"label": "7d433b5520e2da4692140621f400bae5",
|
|
|
|
| 249067 |
"n_dups": 0,
|
| 249068 |
"members": []
|
| 249069 |
},
|
| 249070 |
+
{
|
| 249071 |
+
"file": "b98dedb71cfd814c4c0a751da6bcfcf7.txt",
|
| 249072 |
+
"label": "b98dedb71cfd814c4c0a751da6bcfcf7",
|
| 249073 |
+
"content_hash": "166095ee1b12747c753959a928ad701d594aa9ff",
|
| 249074 |
+
"group_key": "T:4908ba574d37e53c:5abf9bd1e3c93597",
|
| 249075 |
+
"parse_status": "ok",
|
| 249076 |
+
"n_objs": 53,
|
| 249077 |
+
"n_levels": 5,
|
| 249078 |
+
"n_dups": 0,
|
| 249079 |
+
"members": []
|
| 249080 |
+
},
|
| 249081 |
{
|
| 249082 |
"file": "b98e5335ab8906df00e629689d506069.txt",
|
| 249083 |
"label": "b98e5335ab8906df00e629689d506069",
|
|
|
|
| 259147 |
"n_dups": 0,
|
| 259148 |
"members": []
|
| 259149 |
},
|
| 259150 |
+
{
|
| 259151 |
+
"file": "c42fc56b3638c4ec4624e09fad575a91.txt",
|
| 259152 |
+
"label": "c42fc56b3638c4ec4624e09fad575a91",
|
| 259153 |
+
"content_hash": "4b9da00f7512edc791c722f90692d7213fc7bd16",
|
| 259154 |
+
"group_key": "T:8f70cc24ac09462c:481c09ed6f0a861b",
|
| 259155 |
+
"parse_status": "ok",
|
| 259156 |
+
"n_objs": 48,
|
| 259157 |
+
"n_levels": 2,
|
| 259158 |
+
"n_dups": 0,
|
| 259159 |
+
"members": []
|
| 259160 |
+
},
|
| 259161 |
{
|
| 259162 |
"file": "c43141518a0a48c139c6e0706e86990c.txt",
|
| 259163 |
"label": "c43141518a0a48c139c6e0706e86990c",
|
|
|
|
| 266277 |
"n_dups": 0,
|
| 266278 |
"members": []
|
| 266279 |
},
|
| 266280 |
+
{
|
| 266281 |
+
"file": "cc26329d71e036f08d648f5c7eb44bae.txt",
|
| 266282 |
+
"label": "cc26329d71e036f08d648f5c7eb44bae",
|
| 266283 |
+
"content_hash": "5077914d3bdb32c8c2157927d3ebdd211bde1d0f",
|
| 266284 |
+
"group_key": "T:6f214593d52a90f8:4f065fecabfdb3ff",
|
| 266285 |
+
"parse_status": "ok",
|
| 266286 |
+
"n_objs": 27,
|
| 266287 |
+
"n_levels": 1,
|
| 266288 |
+
"n_dups": 0,
|
| 266289 |
+
"members": []
|
| 266290 |
+
},
|
| 266291 |
{
|
| 266292 |
"file": "cc29b2a1fa2f2ec66fb211d11212dc9a.txt",
|
| 266293 |
"label": "cc29b2a1fa2f2ec66fb211d11212dc9a",
|