Datasets:
Daily refresh: 38521 games
Browse files- README.md +2 -2
- data/puzzlescript_games.jsonl +2 -2
- dedup_master.json +62 -7
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,712** 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,752 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:ec857d38e50885c2a2977a28e5bddce09af4ea9b1c38f823b556b7a79e20a068
|
| 3 |
+
size 322196184
|
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": 10462,
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4798,
|
| 9 |
-
"ok":
|
| 10 |
"preprocess_error": 312,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
-
"n_parsed_candidates":
|
| 14 |
-
"n_distinct_mechanics":
|
| 15 |
-
"n_distinct_levelsets":
|
| 16 |
"n_mechanics_shared_by_2plus": 2817,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
@@ -69605,6 +69605,17 @@
|
|
| 69605 |
"n_dups": 0,
|
| 69606 |
"members": []
|
| 69607 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69608 |
{
|
| 69609 |
"file": "2d81856a31428f85236f8a0c532fadbc.txt",
|
| 69610 |
"label": "2d81856a31428f85236f8a0c532fadbc",
|
|
@@ -95802,6 +95813,17 @@
|
|
| 95802 |
"n_dups": 0,
|
| 95803 |
"members": []
|
| 95804 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95805 |
{
|
| 95806 |
"file": "426798b11cc555c6bd415a402f69bf25.txt",
|
| 95807 |
"label": "426798b11cc555c6bd415a402f69bf25",
|
|
@@ -109237,6 +109259,17 @@
|
|
| 109237 |
"n_dups": 0,
|
| 109238 |
"members": []
|
| 109239 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109240 |
{
|
| 109241 |
"file": "4d94b9c24d0dffe9282042d0de2d6d79.txt",
|
| 109242 |
"label": "4d94b9c24d0dffe9282042d0de2d6d79",
|
|
@@ -131404,6 +131437,17 @@
|
|
| 131404 |
"cdbe244ad59a4a81aa525a3102d8c03e.txt"
|
| 131405 |
]
|
| 131406 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131407 |
{
|
| 131408 |
"file": "60c1a6bfc737a8b92b472488f965d1e5.txt",
|
| 131409 |
"label": "60c1a6bfc737a8b92b472488f965d1e5",
|
|
@@ -182259,6 +182303,17 @@
|
|
| 182259 |
"n_dups": 0,
|
| 182260 |
"members": []
|
| 182261 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 182262 |
{
|
| 182263 |
"file": "7ca4a31b9d76e9adff91.txt",
|
| 182264 |
"label": "7ca4a31b9d76e9adff91",
|
|
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
+
"n_files": 38521,
|
| 4 |
+
"n_unique_content": 33875,
|
| 5 |
+
"n_after_dedup": 28059,
|
| 6 |
"removed_as_dups": 10462,
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4798,
|
| 9 |
+
"ok": 33373,
|
| 10 |
"preprocess_error": 312,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
+
"n_parsed_candidates": 23774,
|
| 14 |
+
"n_distinct_mechanics": 17298,
|
| 15 |
+
"n_distinct_levelsets": 20153,
|
| 16 |
"n_mechanics_shared_by_2plus": 2817,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
|
|
| 69605 |
"n_dups": 0,
|
| 69606 |
"members": []
|
| 69607 |
},
|
| 69608 |
+
{
|
| 69609 |
+
"file": "2d7f5b057e96ecdc36ef2dae4ca7b4a2.txt",
|
| 69610 |
+
"label": "2d7f5b057e96ecdc36ef2dae4ca7b4a2",
|
| 69611 |
+
"content_hash": "be1ff9a14e0a0971687f319759069f6fb1e0fb80",
|
| 69612 |
+
"group_key": "T:3f61ebf159800ffa:f9050da73e11319a",
|
| 69613 |
+
"parse_status": "ok",
|
| 69614 |
+
"n_objs": 93,
|
| 69615 |
+
"n_levels": 1,
|
| 69616 |
+
"n_dups": 0,
|
| 69617 |
+
"members": []
|
| 69618 |
+
},
|
| 69619 |
{
|
| 69620 |
"file": "2d81856a31428f85236f8a0c532fadbc.txt",
|
| 69621 |
"label": "2d81856a31428f85236f8a0c532fadbc",
|
|
|
|
| 95813 |
"n_dups": 0,
|
| 95814 |
"members": []
|
| 95815 |
},
|
| 95816 |
+
{
|
| 95817 |
+
"file": "42645cc9c98fd5af8771100761b99ae0.txt",
|
| 95818 |
+
"label": "42645cc9c98fd5af8771100761b99ae0",
|
| 95819 |
+
"content_hash": "00e0182f51bd1f4bf1bcdd0e45866a29799ea7ef",
|
| 95820 |
+
"group_key": "T:316512232cf3301e:86b4ebc523ea7590",
|
| 95821 |
+
"parse_status": "ok",
|
| 95822 |
+
"n_objs": 15,
|
| 95823 |
+
"n_levels": 5,
|
| 95824 |
+
"n_dups": 0,
|
| 95825 |
+
"members": []
|
| 95826 |
+
},
|
| 95827 |
{
|
| 95828 |
"file": "426798b11cc555c6bd415a402f69bf25.txt",
|
| 95829 |
"label": "426798b11cc555c6bd415a402f69bf25",
|
|
|
|
| 109259 |
"n_dups": 0,
|
| 109260 |
"members": []
|
| 109261 |
},
|
| 109262 |
+
{
|
| 109263 |
+
"file": "4d9334bc3e752069ed3cec990b72dbb5.txt",
|
| 109264 |
+
"label": "4d9334bc3e752069ed3cec990b72dbb5",
|
| 109265 |
+
"content_hash": "dccfa663255feb0d867baa5de77e8ef68d90dbe6",
|
| 109266 |
+
"group_key": "T:4ba11e789ec459a2:2f873f63b25cd7e8",
|
| 109267 |
+
"parse_status": "ok",
|
| 109268 |
+
"n_objs": 27,
|
| 109269 |
+
"n_levels": 6,
|
| 109270 |
+
"n_dups": 0,
|
| 109271 |
+
"members": []
|
| 109272 |
+
},
|
| 109273 |
{
|
| 109274 |
"file": "4d94b9c24d0dffe9282042d0de2d6d79.txt",
|
| 109275 |
"label": "4d94b9c24d0dffe9282042d0de2d6d79",
|
|
|
|
| 131437 |
"cdbe244ad59a4a81aa525a3102d8c03e.txt"
|
| 131438 |
]
|
| 131439 |
},
|
| 131440 |
+
{
|
| 131441 |
+
"file": "60c01169d06d66f51a16ce00f965c6a9.txt",
|
| 131442 |
+
"label": "60c01169d06d66f51a16ce00f965c6a9",
|
| 131443 |
+
"content_hash": "d9bdfcca3a67eac4741d161ff47beb1d333dd9cf",
|
| 131444 |
+
"group_key": "T:5428efb8ea954113:8eca44fd83655d8e",
|
| 131445 |
+
"parse_status": "ok",
|
| 131446 |
+
"n_objs": 93,
|
| 131447 |
+
"n_levels": 2,
|
| 131448 |
+
"n_dups": 0,
|
| 131449 |
+
"members": []
|
| 131450 |
+
},
|
| 131451 |
{
|
| 131452 |
"file": "60c1a6bfc737a8b92b472488f965d1e5.txt",
|
| 131453 |
"label": "60c1a6bfc737a8b92b472488f965d1e5",
|
|
|
|
| 182303 |
"n_dups": 0,
|
| 182304 |
"members": []
|
| 182305 |
},
|
| 182306 |
+
{
|
| 182307 |
+
"file": "7ca359dc5994b61eca850b15273b08ee.txt",
|
| 182308 |
+
"label": "7ca359dc5994b61eca850b15273b08ee",
|
| 182309 |
+
"content_hash": "d9d0a9433a5d6683dc31d7ed8dd4548f35c90b8b",
|
| 182310 |
+
"group_key": "T:dfdb29e359e43bbd:a561831c2450b66c",
|
| 182311 |
+
"parse_status": "ok",
|
| 182312 |
+
"n_objs": 9,
|
| 182313 |
+
"n_levels": 16,
|
| 182314 |
+
"n_dups": 0,
|
| 182315 |
+
"members": []
|
| 182316 |
+
},
|
| 182317 |
{
|
| 182318 |
"file": "7ca4a31b9d76e9adff91.txt",
|
| 182319 |
"label": "7ca4a31b9d76e9adff91",
|