Datasets:
Daily refresh: 38516 games
Browse files- README.md +2 -2
- data/puzzlescript_games.jsonl +2 -2
- dedup_master.json +29 -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,707** 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,747 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:7a0f16bb7894d33e302275f69a2c114022cd307ec77be54e1cbc3b611e912122
|
| 3 |
+
size 322068785
|
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 |
{
|
|
@@ -4526,6 +4526,17 @@
|
|
| 4526 |
"n_dups": 0,
|
| 4527 |
"members": []
|
| 4528 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4529 |
{
|
| 4530 |
"file": "030194e3f4dcf416081714318569364b.txt",
|
| 4531 |
"label": "030194e3f4dcf416081714318569364b",
|
|
@@ -50412,6 +50423,17 @@
|
|
| 50412 |
"n_dups": 0,
|
| 50413 |
"members": []
|
| 50414 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50415 |
{
|
| 50416 |
"file": "1fada6dec5f3782d8b7fe6d2b1f3f4ee.txt",
|
| 50417 |
"label": "1fada6dec5f3782d8b7fe6d2b1f3f4ee",
|
|
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
+
"n_files": 38516,
|
| 4 |
+
"n_unique_content": 33870,
|
| 5 |
+
"n_after_dedup": 28054,
|
| 6 |
"removed_as_dups": 10462,
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4798,
|
| 9 |
+
"ok": 33368,
|
| 10 |
"preprocess_error": 312,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
+
"n_parsed_candidates": 23769,
|
| 14 |
+
"n_distinct_mechanics": 17293,
|
| 15 |
+
"n_distinct_levelsets": 20148,
|
| 16 |
"n_mechanics_shared_by_2plus": 2817,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
|
|
| 4526 |
"n_dups": 0,
|
| 4527 |
"members": []
|
| 4528 |
},
|
| 4529 |
+
{
|
| 4530 |
+
"file": "03001ae0f5130f8f5169bef7541daeb5.txt",
|
| 4531 |
+
"label": "03001ae0f5130f8f5169bef7541daeb5",
|
| 4532 |
+
"content_hash": "23b484ee98155fd91098abe7786faafa0ba929b8",
|
| 4533 |
+
"group_key": "T:d1f13d7fe0e6ad2b:5c2b0e4ac6de8b1e",
|
| 4534 |
+
"parse_status": "ok",
|
| 4535 |
+
"n_objs": 9,
|
| 4536 |
+
"n_levels": 9,
|
| 4537 |
+
"n_dups": 0,
|
| 4538 |
+
"members": []
|
| 4539 |
+
},
|
| 4540 |
{
|
| 4541 |
"file": "030194e3f4dcf416081714318569364b.txt",
|
| 4542 |
"label": "030194e3f4dcf416081714318569364b",
|
|
|
|
| 50423 |
"n_dups": 0,
|
| 50424 |
"members": []
|
| 50425 |
},
|
| 50426 |
+
{
|
| 50427 |
+
"file": "1fa99be7226c88a5fd3ca2dc4f8e3480.txt",
|
| 50428 |
+
"label": "1fa99be7226c88a5fd3ca2dc4f8e3480",
|
| 50429 |
+
"content_hash": "01754f1b38df05c91909bdd66b91ce02f03ff0e0",
|
| 50430 |
+
"group_key": "T:7dd79b00923099f2:39971a504dabf473",
|
| 50431 |
+
"parse_status": "ok",
|
| 50432 |
+
"n_objs": 15,
|
| 50433 |
+
"n_levels": 5,
|
| 50434 |
+
"n_dups": 0,
|
| 50435 |
+
"members": []
|
| 50436 |
+
},
|
| 50437 |
{
|
| 50438 |
"file": "1fada6dec5f3782d8b7fe6d2b1f3f4ee.txt",
|
| 50439 |
"label": "1fada6dec5f3782d8b7fe6d2b1f3f4ee",
|