smearle commited on
Commit
eb155cf
·
verified ·
1 Parent(s): 354d4b6

Daily refresh: 38221 games

Browse files
Files changed (3) hide show
  1. README.md +2 -2
  2. data/puzzlescript_games.jsonl +2 -2
  3. dedup_master.json +62 -11
README.md CHANGED
@@ -22,7 +22,7 @@ configs:
22
 
23
  # PuzzleScript Human-Authored Games (Full Gist Corpus)
24
 
25
- **35,421** 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,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,564 distinct games
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,428** 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,568 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:3fbbcb1f672302c18877b5ca4286e0ae645e5bd205b5cd435aade3ad58a696c7
3
- size 318165783
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1fc514631e7c282870ce54a492d96f4f26ca5f2020e6aa11e0c1a6898fb316a
3
+ size 318204677
dedup_master.json CHANGED
@@ -1,18 +1,18 @@
1
  {
2
  "master_dir": "/home/jupyter-smearle/puzzlescript-gists",
3
- "n_files": 38214,
4
- "n_unique_content": 33638,
5
- "n_after_dedup": 27861,
6
- "removed_as_dups": 10353,
7
  "parse_status_counts": {
8
  "parse_error": 4755,
9
- "ok": 33111,
10
  "preprocess_error": 310,
11
  "timeout": 38
12
  },
13
- "n_parsed_candidates": 23611,
14
- "n_distinct_mechanics": 17173,
15
- "n_distinct_levelsets": 20013,
16
  "n_mechanics_shared_by_2plus": 2796,
17
  "candidates": [
18
  {
@@ -53558,6 +53558,17 @@
53558
  "n_dups": 0,
53559
  "members": []
53560
  },
 
 
 
 
 
 
 
 
 
 
 
53561
  {
53562
  "file": "2224d6112f6846a78805f89e3a5210cb.txt",
53563
  "label": "2224d6112f6846a78805f89e3a5210cb",
@@ -63848,6 +63859,20 @@
63848
  "n_dups": 0,
63849
  "members": []
63850
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63851
  {
63852
  "file": "29cf856bcc259a9a7c16e782d94880f2.txt",
63853
  "label": "29cf856bcc259a9a7c16e782d94880f2",
@@ -93710,10 +93735,11 @@
93710
  "parse_status": "ok",
93711
  "n_objs": 22,
93712
  "n_levels": 8,
93713
- "n_dups": 4,
93714
  "members": [
93715
  "4109107680b6c4eee5c235e363ec0bad.txt",
93716
  "490e893fd1f64c20022ef64121aec8f2.txt",
 
93717
  "5c51c75114eb543ea700493968b4f744.txt",
93718
  "78b374b577f3bb814ecd8628b62960b3.txt",
93719
  "cd0f4767fece017996ef386912802c8d.txt"
@@ -121952,8 +121978,11 @@
121952
  "parse_status": "ok",
121953
  "n_objs": 35,
121954
  "n_levels": 7,
121955
- "n_dups": 0,
121956
- "members": []
 
 
 
121957
  },
121958
  {
121959
  "file": "5927975c3d9e683e9c56.txt",
@@ -241231,6 +241260,17 @@
241231
  "n_dups": 0,
241232
  "members": []
241233
  },
 
 
 
 
 
 
 
 
 
 
 
241234
  {
241235
  "file": "ac0992ec487125973f2758b1300e905f.txt",
241236
  "label": "ac0992ec487125973f2758b1300e905f",
@@ -313644,6 +313684,17 @@
313644
  "n_dups": 0,
313645
  "members": []
313646
  },
 
 
 
 
 
 
 
 
 
 
 
313647
  {
313648
  "file": "f9fa74387b671cd336383ac4fec40765.txt",
313649
  "label": "f9fa74387b671cd336383ac4fec40765",
 
1
  {
2
  "master_dir": "/home/jupyter-smearle/puzzlescript-gists",
3
+ "n_files": 38221,
4
+ "n_unique_content": 33644,
5
+ "n_after_dedup": 27865,
6
+ "removed_as_dups": 10356,
7
  "parse_status_counts": {
8
  "parse_error": 4755,
9
+ "ok": 33118,
10
  "preprocess_error": 310,
11
  "timeout": 38
12
  },
13
+ "n_parsed_candidates": 23615,
14
+ "n_distinct_mechanics": 17177,
15
+ "n_distinct_levelsets": 20016,
16
  "n_mechanics_shared_by_2plus": 2796,
17
  "candidates": [
18
  {
 
53558
  "n_dups": 0,
53559
  "members": []
53560
  },
53561
+ {
53562
+ "file": "22244b4fa56c09aeec023330bbb34797.txt",
53563
+ "label": "22244b4fa56c09aeec023330bbb34797",
53564
+ "content_hash": "89e2dc834c13fea0c5cc2382e36a72a1d90cb2a7",
53565
+ "group_key": "T:697d32e7c429c36c:117ef0ee04c77a93",
53566
+ "parse_status": "ok",
53567
+ "n_objs": 12,
53568
+ "n_levels": 1,
53569
+ "n_dups": 0,
53570
+ "members": []
53571
+ },
53572
  {
53573
  "file": "2224d6112f6846a78805f89e3a5210cb.txt",
53574
  "label": "2224d6112f6846a78805f89e3a5210cb",
 
63859
  "n_dups": 0,
63860
  "members": []
63861
  },
63862
+ {
63863
+ "file": "29cee2965418ec610a367ec9cd599e27.txt",
63864
+ "label": "29cee2965418ec610a367ec9cd599e27",
63865
+ "content_hash": "080d109aeca595814b160a719ee1cb8b756e007e",
63866
+ "group_key": "T:4f905e35f8752987:912952da76c4d0fa",
63867
+ "parse_status": "ok",
63868
+ "n_objs": 24,
63869
+ "n_levels": 4,
63870
+ "n_dups": 1,
63871
+ "members": [
63872
+ "29cee2965418ec610a367ec9cd599e27.txt",
63873
+ "af46b47819a76d8365f3ac670676cd9d.txt"
63874
+ ]
63875
+ },
63876
  {
63877
  "file": "29cf856bcc259a9a7c16e782d94880f2.txt",
63878
  "label": "29cf856bcc259a9a7c16e782d94880f2",
 
93735
  "parse_status": "ok",
93736
  "n_objs": 22,
93737
  "n_levels": 8,
93738
+ "n_dups": 5,
93739
  "members": [
93740
  "4109107680b6c4eee5c235e363ec0bad.txt",
93741
  "490e893fd1f64c20022ef64121aec8f2.txt",
93742
+ "5c1e50cab9d42e90a6c9cf42bf857dfd.txt",
93743
  "5c51c75114eb543ea700493968b4f744.txt",
93744
  "78b374b577f3bb814ecd8628b62960b3.txt",
93745
  "cd0f4767fece017996ef386912802c8d.txt"
 
121978
  "parse_status": "ok",
121979
  "n_objs": 35,
121980
  "n_levels": 7,
121981
+ "n_dups": 1,
121982
+ "members": [
121983
+ "59257720322604cb4b1129e13a03ded4.txt",
121984
+ "d08fe342fbf2b1b5471d197a88668b89.txt"
121985
+ ]
121986
  },
121987
  {
121988
  "file": "5927975c3d9e683e9c56.txt",
 
241260
  "n_dups": 0,
241261
  "members": []
241262
  },
241263
+ {
241264
+ "file": "ac08fb3ffecf9d4facd836f0becfab94.txt",
241265
+ "label": "ac08fb3ffecf9d4facd836f0becfab94",
241266
+ "content_hash": "e2322d411f1912e9e91055d8af32c2d7f25bd199",
241267
+ "group_key": "T:d82ffc82267488e1:117ef0ee04c77a93",
241268
+ "parse_status": "ok",
241269
+ "n_objs": 12,
241270
+ "n_levels": 1,
241271
+ "n_dups": 0,
241272
+ "members": []
241273
+ },
241274
  {
241275
  "file": "ac0992ec487125973f2758b1300e905f.txt",
241276
  "label": "ac0992ec487125973f2758b1300e905f",
 
313684
  "n_dups": 0,
313685
  "members": []
313686
  },
313687
+ {
313688
+ "file": "f9f6a8f8d9bb76af6f56a53334412a3b.txt",
313689
+ "label": "f9f6a8f8d9bb76af6f56a53334412a3b",
313690
+ "content_hash": "1608ad5e39e5cc508f6e139bf6b078d542b0add2",
313691
+ "group_key": "T:66831711cc970599:1cfcaa554d2cf19e",
313692
+ "parse_status": "ok",
313693
+ "n_objs": 7,
313694
+ "n_levels": 5,
313695
+ "n_dups": 0,
313696
+ "members": []
313697
+ },
313698
  {
313699
  "file": "f9fa74387b671cd336383ac4fec40765.txt",
313700
  "label": "f9fa74387b671cd336383ac4fec40765",