Datasets:
Daily refresh: 37975 games
Browse files- README.md +2 -2
- data/puzzlescript_games.jsonl +2 -2
- dedup_master.json +21 -9
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,227** 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,421 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:66e006c578c67924c9536484f9a08af7c409325e98bd928177fcbfaa0bd23679
|
| 3 |
+
size 316726005
|
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": 4698,
|
| 9 |
-
"ok":
|
| 10 |
"preprocess_error": 303,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
-
"n_parsed_candidates":
|
| 14 |
-
"n_distinct_mechanics":
|
| 15 |
-
"n_distinct_levelsets":
|
| 16 |
"n_mechanics_shared_by_2plus": 2786,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
@@ -128102,6 +128102,17 @@
|
|
| 128102 |
"n_dups": 0,
|
| 128103 |
"members": []
|
| 128104 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128105 |
{
|
| 128106 |
"file": "5f949c808c62bda08de8547ba24b37ac.txt",
|
| 128107 |
"label": "5f949c808c62bda08de8547ba24b37ac",
|
|
@@ -139071,7 +139082,7 @@
|
|
| 139071 |
"parse_status": "ok",
|
| 139072 |
"n_objs": 5,
|
| 139073 |
"n_levels": 1,
|
| 139074 |
-
"n_dups":
|
| 139075 |
"members": [
|
| 139076 |
"017e7c78a8d854b93a042a5e71ccb44b.txt",
|
| 139077 |
"01f3e38c1fb1e3260290b4dc1b156865.txt",
|
|
@@ -139224,6 +139235,7 @@
|
|
| 139224 |
"3d38c5e48e824dea3fdf3a06f964eefe.txt",
|
| 139225 |
"3db4e9dba6176290346bf865841fb6c4.txt",
|
| 139226 |
"3ee5086887ad9b23ad9666497d320eda.txt",
|
|
|
|
| 139227 |
"3fa092135192cbbd66bd45080563c2df.txt",
|
| 139228 |
"4029ad815671d462cb16a0716280ca8b.txt",
|
| 139229 |
"4131da75dc5767414f5d28b22c9aa2d4.txt",
|
|
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
+
"n_files": 37975,
|
| 4 |
+
"n_unique_content": 33437,
|
| 5 |
+
"n_after_dedup": 27682,
|
| 6 |
+
"removed_as_dups": 10293,
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4698,
|
| 9 |
+
"ok": 32936,
|
| 10 |
"preprocess_error": 303,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
+
"n_parsed_candidates": 23482,
|
| 14 |
+
"n_distinct_mechanics": 17078,
|
| 15 |
+
"n_distinct_levelsets": 19905,
|
| 16 |
"n_mechanics_shared_by_2plus": 2786,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
|
|
| 128102 |
"n_dups": 0,
|
| 128103 |
"members": []
|
| 128104 |
},
|
| 128105 |
+
{
|
| 128106 |
+
"file": "5f90ffb359e2082a7270055e63b45f4c.txt",
|
| 128107 |
+
"label": "5f90ffb359e2082a7270055e63b45f4c",
|
| 128108 |
+
"content_hash": "87c0abc8096699eed8881440e0e45e3e574a8b96",
|
| 128109 |
+
"group_key": "T:f29a6e8c09243011:fde0d9ed37696591",
|
| 128110 |
+
"parse_status": "ok",
|
| 128111 |
+
"n_objs": 18,
|
| 128112 |
+
"n_levels": 7,
|
| 128113 |
+
"n_dups": 0,
|
| 128114 |
+
"members": []
|
| 128115 |
+
},
|
| 128116 |
{
|
| 128117 |
"file": "5f949c808c62bda08de8547ba24b37ac.txt",
|
| 128118 |
"label": "5f949c808c62bda08de8547ba24b37ac",
|
|
|
|
| 139082 |
"parse_status": "ok",
|
| 139083 |
"n_objs": 5,
|
| 139084 |
"n_levels": 1,
|
| 139085 |
+
"n_dups": 617,
|
| 139086 |
"members": [
|
| 139087 |
"017e7c78a8d854b93a042a5e71ccb44b.txt",
|
| 139088 |
"01f3e38c1fb1e3260290b4dc1b156865.txt",
|
|
|
|
| 139235 |
"3d38c5e48e824dea3fdf3a06f964eefe.txt",
|
| 139236 |
"3db4e9dba6176290346bf865841fb6c4.txt",
|
| 139237 |
"3ee5086887ad9b23ad9666497d320eda.txt",
|
| 139238 |
+
"3f1f3237b9fd90c5bfd87e811b29d974.txt",
|
| 139239 |
"3fa092135192cbbd66bd45080563c2df.txt",
|
| 139240 |
"4029ad815671d462cb16a0716280ca8b.txt",
|
| 139241 |
"4131da75dc5767414f5d28b22c9aa2d4.txt",
|