Datasets:
Daily refresh: 37857 games
Browse files- README.md +2 -2
- data/puzzlescript_games.jsonl +2 -2
- dedup_master.json +57 -12
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,116** 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,361 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:5121206889a86e25a2eb16acdfd402a363339fa38a06f90a8f331b1a1655d7ab
|
| 3 |
+
size 316260012
|
dedup_master.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
| 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":
|
| 9 |
-
"ok":
|
| 10 |
"preprocess_error": 302,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
-
"n_parsed_candidates":
|
| 14 |
-
"n_distinct_mechanics":
|
| 15 |
-
"n_distinct_levelsets":
|
| 16 |
-
"n_mechanics_shared_by_2plus":
|
| 17 |
"candidates": [
|
| 18 |
{
|
| 19 |
"file": "9d573d3cfa79cfa1f132.txt",
|
|
@@ -89384,6 +89384,17 @@
|
|
| 89384 |
"n_dups": 0,
|
| 89385 |
"members": []
|
| 89386 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89387 |
{
|
| 89388 |
"file": "3e32c393c9342539b72bf541553aa5ed.txt",
|
| 89389 |
"label": "3e32c393c9342539b72bf541553aa5ed",
|
|
@@ -89489,6 +89500,17 @@
|
|
| 89489 |
"n_dups": 0,
|
| 89490 |
"members": []
|
| 89491 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89492 |
{
|
| 89493 |
"file": "3e50102ec73202b9c0a7353f85ddb7a9.txt",
|
| 89494 |
"label": "3e50102ec73202b9c0a7353f85ddb7a9",
|
|
@@ -107872,11 +107894,12 @@
|
|
| 107872 |
"parse_status": "ok",
|
| 107873 |
"n_objs": 22,
|
| 107874 |
"n_levels": 13,
|
| 107875 |
-
"n_dups":
|
| 107876 |
"members": [
|
| 107877 |
"4e3e39297ab4f87c249c08cdde8864b4.txt",
|
| 107878 |
"61bdb1b44dfb520bdc0248fdade1c0ee.txt",
|
| 107879 |
-
"a54335e973475acc01268ffcb43066f5.txt"
|
|
|
|
| 107880 |
]
|
| 107881 |
},
|
| 107882 |
{
|
|
@@ -185883,6 +185906,17 @@
|
|
| 185883 |
"ba342cf70346ba41bf60be101d9438b4.txt"
|
| 185884 |
]
|
| 185885 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 185886 |
{
|
| 185887 |
"file": "81ddf36a37677ef51b4bee21396d0ea8.txt",
|
| 185888 |
"label": "81ddf36a37677ef51b4bee21396d0ea8",
|
|
@@ -207528,6 +207562,17 @@
|
|
| 207528 |
"n_dups": 0,
|
| 207529 |
"members": []
|
| 207530 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 207531 |
{
|
| 207532 |
"file": "90f7dc1fb2ff723179401f884746df5f.txt",
|
| 207533 |
"label": "90f7dc1fb2ff723179401f884746df5f",
|
|
|
|
| 1 |
{
|
| 2 |
"master_dir": "/home/jupyter-smearle/puzzlescript-gists",
|
| 3 |
+
"n_files": 37857,
|
| 4 |
+
"n_unique_content": 33345,
|
| 5 |
+
"n_after_dedup": 27615,
|
| 6 |
+
"removed_as_dups": 10242,
|
| 7 |
"parse_status_counts": {
|
| 8 |
+
"parse_error": 4655,
|
| 9 |
+
"ok": 32862,
|
| 10 |
"preprocess_error": 302,
|
| 11 |
"timeout": 38
|
| 12 |
},
|
| 13 |
+
"n_parsed_candidates": 23442,
|
| 14 |
+
"n_distinct_mechanics": 17058,
|
| 15 |
+
"n_distinct_levelsets": 19869,
|
| 16 |
+
"n_mechanics_shared_by_2plus": 2781,
|
| 17 |
"candidates": [
|
| 18 |
{
|
| 19 |
"file": "9d573d3cfa79cfa1f132.txt",
|
|
|
|
| 89384 |
"n_dups": 0,
|
| 89385 |
"members": []
|
| 89386 |
},
|
| 89387 |
+
{
|
| 89388 |
+
"file": "3e30037c143c31910a4002488f5e1024.txt",
|
| 89389 |
+
"label": "3e30037c143c31910a4002488f5e1024",
|
| 89390 |
+
"content_hash": "23a4732acb1e251f9520cb26397104db10c82c7b",
|
| 89391 |
+
"group_key": "T:cf0b30f6716c4778:4f7c405a1ded2584",
|
| 89392 |
+
"parse_status": "ok",
|
| 89393 |
+
"n_objs": 13,
|
| 89394 |
+
"n_levels": 4,
|
| 89395 |
+
"n_dups": 0,
|
| 89396 |
+
"members": []
|
| 89397 |
+
},
|
| 89398 |
{
|
| 89399 |
"file": "3e32c393c9342539b72bf541553aa5ed.txt",
|
| 89400 |
"label": "3e32c393c9342539b72bf541553aa5ed",
|
|
|
|
| 89500 |
"n_dups": 0,
|
| 89501 |
"members": []
|
| 89502 |
},
|
| 89503 |
+
{
|
| 89504 |
+
"file": "3e4a08730382ccaf35067502b19b56c9.txt",
|
| 89505 |
+
"label": "3e4a08730382ccaf35067502b19b56c9",
|
| 89506 |
+
"content_hash": "d6d55918a98e8840d74a26182e0060ca49fefee0",
|
| 89507 |
+
"group_key": "L:55b782ff84394fd2:af6b2c6abce678b8",
|
| 89508 |
+
"parse_status": "parse_error:UnexpectedCharacters",
|
| 89509 |
+
"n_objs": null,
|
| 89510 |
+
"n_levels": null,
|
| 89511 |
+
"n_dups": 0,
|
| 89512 |
+
"members": []
|
| 89513 |
+
},
|
| 89514 |
{
|
| 89515 |
"file": "3e50102ec73202b9c0a7353f85ddb7a9.txt",
|
| 89516 |
"label": "3e50102ec73202b9c0a7353f85ddb7a9",
|
|
|
|
| 107894 |
"parse_status": "ok",
|
| 107895 |
"n_objs": 22,
|
| 107896 |
"n_levels": 13,
|
| 107897 |
+
"n_dups": 3,
|
| 107898 |
"members": [
|
| 107899 |
"4e3e39297ab4f87c249c08cdde8864b4.txt",
|
| 107900 |
"61bdb1b44dfb520bdc0248fdade1c0ee.txt",
|
| 107901 |
+
"a54335e973475acc01268ffcb43066f5.txt",
|
| 107902 |
+
"e0f8c5a37d091decc97a4dfa2fff722c.txt"
|
| 107903 |
]
|
| 107904 |
},
|
| 107905 |
{
|
|
|
|
| 185906 |
"ba342cf70346ba41bf60be101d9438b4.txt"
|
| 185907 |
]
|
| 185908 |
},
|
| 185909 |
+
{
|
| 185910 |
+
"file": "81d5fce4b2b8032129e100d2feb39392.txt",
|
| 185911 |
+
"label": "81d5fce4b2b8032129e100d2feb39392",
|
| 185912 |
+
"content_hash": "bea85c64013eb00ba8a635abfb02251bfce322e0",
|
| 185913 |
+
"group_key": "L:7d2ee83287e7cf39:af3bc28f605ad30b",
|
| 185914 |
+
"parse_status": "parse_error:VisitError",
|
| 185915 |
+
"n_objs": null,
|
| 185916 |
+
"n_levels": null,
|
| 185917 |
+
"n_dups": 0,
|
| 185918 |
+
"members": []
|
| 185919 |
+
},
|
| 185920 |
{
|
| 185921 |
"file": "81ddf36a37677ef51b4bee21396d0ea8.txt",
|
| 185922 |
"label": "81ddf36a37677ef51b4bee21396d0ea8",
|
|
|
|
| 207562 |
"n_dups": 0,
|
| 207563 |
"members": []
|
| 207564 |
},
|
| 207565 |
+
{
|
| 207566 |
+
"file": "90f55a8e8a7c3a4398ab38776d8e78af.txt",
|
| 207567 |
+
"label": "90f55a8e8a7c3a4398ab38776d8e78af",
|
| 207568 |
+
"content_hash": "d0df77852dcfebbe2852380a30e8ab605a05b240",
|
| 207569 |
+
"group_key": "T:cf0b30f6716c4778:feedeb4f9ac5f0df",
|
| 207570 |
+
"parse_status": "ok",
|
| 207571 |
+
"n_objs": 13,
|
| 207572 |
+
"n_levels": 3,
|
| 207573 |
+
"n_dups": 0,
|
| 207574 |
+
"members": []
|
| 207575 |
+
},
|
| 207576 |
{
|
| 207577 |
"file": "90f7dc1fb2ff723179401f884746df5f.txt",
|
| 207578 |
"label": "90f7dc1fb2ff723179401f884746df5f",
|