Datasets:
Daily refresh: 38375 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,577** 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,660 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:cd820abf7b344b061fb7fff3474716a9fd46ac4312fa8c251a39876c456b4ce5
|
| 3 |
+
size 320553510
|
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": 10414,
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4774,
|
| 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": 2807,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
@@ -35495,6 +35495,17 @@
|
|
| 35495 |
"n_dups": 0,
|
| 35496 |
"members": []
|
| 35497 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35498 |
{
|
| 35499 |
"file": "15042ea892b624ae61c38754d1571446.txt",
|
| 35500 |
"label": "15042ea892b624ae61c38754d1571446",
|
|
@@ -188636,6 +188647,17 @@
|
|
| 188636 |
"n_dups": 0,
|
| 188637 |
"members": []
|
| 188638 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 188639 |
{
|
| 188640 |
"file": "821f3ae9b3802af22adaeb2a822aad84.txt",
|
| 188641 |
"label": "821f3ae9b3802af22adaeb2a822aad84",
|
|
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
+
"n_files": 38375,
|
| 4 |
+
"n_unique_content": 33760,
|
| 5 |
+
"n_after_dedup": 27961,
|
| 6 |
"removed_as_dups": 10414,
|
| 7 |
"parse_status_counts": {
|
| 8 |
"parse_error": 4774,
|
| 9 |
+
"ok": 33251,
|
| 10 |
"preprocess_error": 312,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
+
"n_parsed_candidates": 23694,
|
| 14 |
+
"n_distinct_mechanics": 17234,
|
| 15 |
+
"n_distinct_levelsets": 20085,
|
| 16 |
"n_mechanics_shared_by_2plus": 2807,
|
| 17 |
"candidates": [
|
| 18 |
{
|
|
|
|
| 35495 |
"n_dups": 0,
|
| 35496 |
"members": []
|
| 35497 |
},
|
| 35498 |
+
{
|
| 35499 |
+
"file": "1501be8a45c9af440b60d9e27c70c19e.txt",
|
| 35500 |
+
"label": "1501be8a45c9af440b60d9e27c70c19e",
|
| 35501 |
+
"content_hash": "a4ff6e1d25d1d367b38518f5712c87407fc06126",
|
| 35502 |
+
"group_key": "T:51f0edf30f7c2302:67e9cdd347401100",
|
| 35503 |
+
"parse_status": "ok",
|
| 35504 |
+
"n_objs": 24,
|
| 35505 |
+
"n_levels": 3,
|
| 35506 |
+
"n_dups": 0,
|
| 35507 |
+
"members": []
|
| 35508 |
+
},
|
| 35509 |
{
|
| 35510 |
"file": "15042ea892b624ae61c38754d1571446.txt",
|
| 35511 |
"label": "15042ea892b624ae61c38754d1571446",
|
|
|
|
| 188647 |
"n_dups": 0,
|
| 188648 |
"members": []
|
| 188649 |
},
|
| 188650 |
+
{
|
| 188651 |
+
"file": "821b51893113430ceea627b7912667e8.txt",
|
| 188652 |
+
"label": "821b51893113430ceea627b7912667e8",
|
| 188653 |
+
"content_hash": "23e504424c68eb7380cdef724146e9ae5e507c6c",
|
| 188654 |
+
"group_key": "T:36b0bd8afb00ecba:00b4485abce19e31",
|
| 188655 |
+
"parse_status": "ok",
|
| 188656 |
+
"n_objs": 49,
|
| 188657 |
+
"n_levels": 10,
|
| 188658 |
+
"n_dups": 0,
|
| 188659 |
+
"members": []
|
| 188660 |
+
},
|
| 188661 |
{
|
| 188662 |
"file": "821f3ae9b3802af22adaeb2a822aad84.txt",
|
| 188663 |
"label": "821f3ae9b3802af22adaeb2a822aad84",
|