Datasets:
Daily refresh: 36603 games
Browse files- README.md +2 -2
- data/puzzlescript_games.jsonl +2 -2
- dedup_master.json +17 -6
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"]) # 24,
|
| 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,140** 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"]) # 24,736 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:bef56c57c15c9b281382ae9807e26ac15890f65b12bea20ab902f0262e4bf84c
|
| 3 |
+
size 310196964
|
dedup_master.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
-
"n_files":
|
| 4 |
-
"n_unique_content":
|
| 5 |
-
"n_after_dedup":
|
| 6 |
"removed_as_dups": 9837,
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4293,
|
| 9 |
-
"ok":
|
| 10 |
"preprocess_error": 292,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
-
"n_parsed_candidates":
|
| 14 |
-
"n_distinct_mechanics":
|
| 15 |
"n_distinct_levelsets": 19399,
|
| 16 |
"n_mechanics_shared_by_2plus": 2712,
|
| 17 |
"candidates": [
|
|
@@ -284767,6 +284767,17 @@
|
|
| 284767 |
"n_dups": 0,
|
| 284768 |
"members": []
|
| 284769 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 284770 |
{
|
| 284771 |
"file": "e65424574001a16c4ff1adf975985596.txt",
|
| 284772 |
"label": "e65424574001a16c4ff1adf975985596",
|
|
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
+
"n_files": 36603,
|
| 4 |
+
"n_unique_content": 32336,
|
| 5 |
+
"n_after_dedup": 26766,
|
| 6 |
"removed_as_dups": 9837,
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4293,
|
| 9 |
+
"ok": 31980,
|
| 10 |
"preprocess_error": 292,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
+
"n_parsed_candidates": 22897,
|
| 14 |
+
"n_distinct_mechanics": 16658,
|
| 15 |
"n_distinct_levelsets": 19399,
|
| 16 |
"n_mechanics_shared_by_2plus": 2712,
|
| 17 |
"candidates": [
|
|
|
|
| 284767 |
"n_dups": 0,
|
| 284768 |
"members": []
|
| 284769 |
},
|
| 284770 |
+
{
|
| 284771 |
+
"file": "e651b7faca428e0bc0d8c2f025936f80.txt",
|
| 284772 |
+
"label": "e651b7faca428e0bc0d8c2f025936f80",
|
| 284773 |
+
"content_hash": "70794f1ebc6ff7bccc666446a582d8026979be44",
|
| 284774 |
+
"group_key": "T:9b73fc5481beea01:61ab6c6ae3a852b3",
|
| 284775 |
+
"parse_status": "ok",
|
| 284776 |
+
"n_objs": 29,
|
| 284777 |
+
"n_levels": 1,
|
| 284778 |
+
"n_dups": 0,
|
| 284779 |
+
"members": []
|
| 284780 |
+
},
|
| 284781 |
{
|
| 284782 |
"file": "e65424574001a16c4ff1adf975985596.txt",
|
| 284783 |
"label": "e65424574001a16c4ff1adf975985596",
|