smearle commited on
Commit
3371acd
·
verified ·
1 Parent(s): 9034c31

Daily refresh: 38254 games

Browse files
Files changed (3) hide show
  1. README.md +2 -2
  2. data/puzzlescript_games.jsonl +2 -2
  3. dedup_master.json +132 -26
README.md CHANGED
@@ -22,7 +22,7 @@ configs:
22
 
23
  # PuzzleScript Human-Authored Games (Full Gist Corpus)
24
 
25
- **35,449** 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,579 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,461** 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,588 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:e3365d3c80e39e81160761286a199eb183291aca7a8d5a84d3605a54e9b333b5
3
- size 318308945
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3313a4b28b9e0742692b74471569f6ba05af087a915656beca23cf87fe2ecb3f
3
+ size 318376717
dedup_master.json CHANGED
@@ -1,19 +1,19 @@
1
  {
2
  "master_dir": "/home/jupyter-smearle/puzzlescript-gists",
3
- "n_files": 38242,
4
- "n_unique_content": 33660,
5
- "n_after_dedup": 27876,
6
- "removed_as_dups": 10366,
7
  "parse_status_counts": {
8
- "parse_error": 4755,
9
- "ok": 33139,
10
  "preprocess_error": 310,
11
  "timeout": 38
12
  },
13
- "n_parsed_candidates": 23626,
14
- "n_distinct_mechanics": 17184,
15
- "n_distinct_levelsets": 20027,
16
- "n_mechanics_shared_by_2plus": 2798,
17
  "candidates": [
18
  {
19
  "file": "9d573d3cfa79cfa1f132.txt",
@@ -43665,8 +43665,11 @@
43665
  "parse_status": "ok",
43666
  "n_objs": 20,
43667
  "n_levels": 6,
43668
- "n_dups": 0,
43669
- "members": []
 
 
 
43670
  },
43671
  {
43672
  "file": "1b0a7970f3b0da2ea8e507bb10bc3228.txt",
@@ -51977,6 +51980,17 @@
51977
  "n_dups": 0,
51978
  "members": []
51979
  },
 
 
 
 
 
 
 
 
 
 
 
51980
  {
51981
  "file": "20e5db7d72fe440aa6f910355ae936bb.txt",
51982
  "label": "20e5db7d72fe440aa6f910355ae936bb",
@@ -69084,6 +69098,21 @@
69084
  "5a7cf1171cfe76902ba2b31a2504e4f9.txt"
69085
  ]
69086
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69087
  {
69088
  "file": "2d870514fc40a5ef99c5.txt",
69089
  "label": "2d870514fc40a5ef99c5",
@@ -69822,20 +69851,6 @@
69822
  "n_dups": 0,
69823
  "members": []
69824
  },
69825
- {
69826
- "file": "2e1017e670470b48f667cc9e01da4727.txt",
69827
- "label": "2e1017e670470b48f667cc9e01da4727",
69828
- "content_hash": "d79180bac9bc6ca92c4ebd219d1896bfa3c9709b",
69829
- "group_key": "T:54dae4657cf040b2:536a282d50127a69",
69830
- "parse_status": "ok",
69831
- "n_objs": 22,
69832
- "n_levels": 9,
69833
- "n_dups": 1,
69834
- "members": [
69835
- "2e1017e670470b48f667cc9e01da4727.txt",
69836
- "d4ec4c25eafad730fd6ca7803b6cf21d.txt"
69837
- ]
69838
- },
69839
  {
69840
  "file": "2e1476ed8994afe0b5a8.txt",
69841
  "label": "2e1476ed8994afe0b5a8",
@@ -104173,6 +104188,17 @@
104173
  "n_dups": 0,
104174
  "members": []
104175
  },
 
 
 
 
 
 
 
 
 
 
 
104176
  {
104177
  "file": "4a2fe38ea0d288c8449fcc5a8e8938cc.txt",
104178
  "label": "4a2fe38ea0d288c8449fcc5a8e8938cc",
@@ -107255,6 +107281,17 @@
107255
  "a09488fdbbaa9ea3e48cb2b6ef031140.txt"
107256
  ]
107257
  },
 
 
 
 
 
 
 
 
 
 
 
107258
  {
107259
  "file": "4cccb0fd3ce86dde1d7e43f723eb8c45.txt",
107260
  "label": "4cccb0fd3ce86dde1d7e43f723eb8c45",
@@ -110144,6 +110181,20 @@
110144
  "n_dups": 0,
110145
  "members": []
110146
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110147
  {
110148
  "file": "4f34ec9c70482475e500118d39d8c3da.txt",
110149
  "label": "4f34ec9c70482475e500118d39d8c3da",
@@ -153451,6 +153502,17 @@
153451
  "7e38ab3414b48c100363acaac4cad48e.txt"
153452
  ]
153453
  },
 
 
 
 
 
 
 
 
 
 
 
153454
  {
153455
  "file": "6d168f0302ef2933f92a242afce68f46.txt",
153456
  "label": "6d168f0302ef2933f92a242afce68f46",
@@ -154080,6 +154142,17 @@
154080
  "n_dups": 0,
154081
  "members": []
154082
  },
 
 
 
 
 
 
 
 
 
 
 
154083
  {
154084
  "file": "6db35fb9d71be4690b029fff02579653.txt",
154085
  "label": "6db35fb9d71be4690b029fff02579653",
@@ -200176,6 +200249,17 @@
200176
  "n_dups": 0,
200177
  "members": []
200178
  },
 
 
 
 
 
 
 
 
 
 
 
200179
  {
200180
  "file": "88eab597d5635611861edd5d9c613deb.txt",
200181
  "label": "88eab597d5635611861edd5d9c613deb",
@@ -215599,6 +215683,17 @@
215599
  "n_dups": 0,
215600
  "members": []
215601
  },
 
 
 
 
 
 
 
 
 
 
 
215602
  {
215603
  "file": "9439312.txt",
215604
  "label": "9439312",
@@ -311367,6 +311462,17 @@
311367
  "n_dups": 0,
311368
  "members": []
311369
  },
 
 
 
 
 
 
 
 
 
 
 
311370
  {
311371
  "file": "f71265b544406f3b7ad1bdc83ce66ab6.txt",
311372
  "label": "f71265b544406f3b7ad1bdc83ce66ab6",
 
1
  {
2
  "master_dir": "/home/jupyter-smearle/puzzlescript-gists",
3
+ "n_files": 38254,
4
+ "n_unique_content": 33670,
5
+ "n_after_dedup": 27885,
6
+ "removed_as_dups": 10369,
7
  "parse_status_counts": {
8
+ "parse_error": 4756,
9
+ "ok": 33150,
10
  "preprocess_error": 310,
11
  "timeout": 38
12
  },
13
+ "n_parsed_candidates": 23634,
14
+ "n_distinct_mechanics": 17191,
15
+ "n_distinct_levelsets": 20033,
16
+ "n_mechanics_shared_by_2plus": 2799,
17
  "candidates": [
18
  {
19
  "file": "9d573d3cfa79cfa1f132.txt",
 
43665
  "parse_status": "ok",
43666
  "n_objs": 20,
43667
  "n_levels": 6,
43668
+ "n_dups": 1,
43669
+ "members": [
43670
+ "1b05e13f6b3f66ccbba7b15ed28c2c4c.txt",
43671
+ "8f36b8ed75ce77e13e87c4511378fe00.txt"
43672
+ ]
43673
  },
43674
  {
43675
  "file": "1b0a7970f3b0da2ea8e507bb10bc3228.txt",
 
51980
  "n_dups": 0,
51981
  "members": []
51982
  },
51983
+ {
51984
+ "file": "20e2b57c00660e630c2d4bac9ee7b8f0.txt",
51985
+ "label": "20e2b57c00660e630c2d4bac9ee7b8f0",
51986
+ "content_hash": "e14a5771720c5ff3e0ed5e25c899fa4d6ec0b9bd",
51987
+ "group_key": "T:88271eba05a3121a:8e29e25cba4845a1",
51988
+ "parse_status": "ok",
51989
+ "n_objs": 14,
51990
+ "n_levels": 8,
51991
+ "n_dups": 0,
51992
+ "members": []
51993
+ },
51994
  {
51995
  "file": "20e5db7d72fe440aa6f910355ae936bb.txt",
51996
  "label": "20e5db7d72fe440aa6f910355ae936bb",
 
69098
  "5a7cf1171cfe76902ba2b31a2504e4f9.txt"
69099
  ]
69100
  },
69101
+ {
69102
+ "file": "2d846b79ec0e3e7260841aaa0bcb511e.txt",
69103
+ "label": "2d846b79ec0e3e7260841aaa0bcb511e",
69104
+ "content_hash": "d79180bac9bc6ca92c4ebd219d1896bfa3c9709b",
69105
+ "group_key": "T:54dae4657cf040b2:536a282d50127a69",
69106
+ "parse_status": "ok",
69107
+ "n_objs": 22,
69108
+ "n_levels": 9,
69109
+ "n_dups": 2,
69110
+ "members": [
69111
+ "2d846b79ec0e3e7260841aaa0bcb511e.txt",
69112
+ "2e1017e670470b48f667cc9e01da4727.txt",
69113
+ "d4ec4c25eafad730fd6ca7803b6cf21d.txt"
69114
+ ]
69115
+ },
69116
  {
69117
  "file": "2d870514fc40a5ef99c5.txt",
69118
  "label": "2d870514fc40a5ef99c5",
 
69851
  "n_dups": 0,
69852
  "members": []
69853
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69854
  {
69855
  "file": "2e1476ed8994afe0b5a8.txt",
69856
  "label": "2e1476ed8994afe0b5a8",
 
104188
  "n_dups": 0,
104189
  "members": []
104190
  },
104191
+ {
104192
+ "file": "4a28e465883415aa6eded7b1ed957e6b.txt",
104193
+ "label": "4a28e465883415aa6eded7b1ed957e6b",
104194
+ "content_hash": "a44ac99561155de679ad4cf1fec3418daf231fdc",
104195
+ "group_key": "T:bc76598dd4080fc3:ebc9ebbeaa6757b9",
104196
+ "parse_status": "ok",
104197
+ "n_objs": 6,
104198
+ "n_levels": 3,
104199
+ "n_dups": 0,
104200
+ "members": []
104201
+ },
104202
  {
104203
  "file": "4a2fe38ea0d288c8449fcc5a8e8938cc.txt",
104204
  "label": "4a2fe38ea0d288c8449fcc5a8e8938cc",
 
107281
  "a09488fdbbaa9ea3e48cb2b6ef031140.txt"
107282
  ]
107283
  },
107284
+ {
107285
+ "file": "4cc3bedea33f40468435bfd77d11db83.txt",
107286
+ "label": "4cc3bedea33f40468435bfd77d11db83",
107287
+ "content_hash": "e7d7251beff75d198452294589f7c2ad74f91f7f",
107288
+ "group_key": "L:435b59e90c3d95c9:497de192ad4fd648",
107289
+ "parse_status": "parse_error:VisitError",
107290
+ "n_objs": null,
107291
+ "n_levels": null,
107292
+ "n_dups": 0,
107293
+ "members": []
107294
+ },
107295
  {
107296
  "file": "4cccb0fd3ce86dde1d7e43f723eb8c45.txt",
107297
  "label": "4cccb0fd3ce86dde1d7e43f723eb8c45",
 
110181
  "n_dups": 0,
110182
  "members": []
110183
  },
110184
+ {
110185
+ "file": "4f2b9d0b489fad965d056f239db55fe5.txt",
110186
+ "label": "4f2b9d0b489fad965d056f239db55fe5",
110187
+ "content_hash": "e36d05399c5a4c8987a2fcb8767379240a395a4f",
110188
+ "group_key": "T:df66ad2933521c57:124febf12da382a1",
110189
+ "parse_status": "ok",
110190
+ "n_objs": 29,
110191
+ "n_levels": 5,
110192
+ "n_dups": 1,
110193
+ "members": [
110194
+ "4f2b9d0b489fad965d056f239db55fe5.txt",
110195
+ "b0b1b04dd00044dcd591cff3fad952b0.txt"
110196
+ ]
110197
+ },
110198
  {
110199
  "file": "4f34ec9c70482475e500118d39d8c3da.txt",
110200
  "label": "4f34ec9c70482475e500118d39d8c3da",
 
153502
  "7e38ab3414b48c100363acaac4cad48e.txt"
153503
  ]
153504
  },
153505
+ {
153506
+ "file": "6d1272cb431791e862fbafc56fd83279.txt",
153507
+ "label": "6d1272cb431791e862fbafc56fd83279",
153508
+ "content_hash": "72467cd30238a233d5b4d89ae0700ce202faf751",
153509
+ "group_key": "T:af834ddc80561c2b:b4014a52db08f99f",
153510
+ "parse_status": "ok",
153511
+ "n_objs": 12,
153512
+ "n_levels": 15,
153513
+ "n_dups": 0,
153514
+ "members": []
153515
+ },
153516
  {
153517
  "file": "6d168f0302ef2933f92a242afce68f46.txt",
153518
  "label": "6d168f0302ef2933f92a242afce68f46",
 
154142
  "n_dups": 0,
154143
  "members": []
154144
  },
154145
+ {
154146
+ "file": "6db0fa7d107b468f2a6e4270df9224ea.txt",
154147
+ "label": "6db0fa7d107b468f2a6e4270df9224ea",
154148
+ "content_hash": "5787307c2d079cf19b6445a02eed7da280fe36ff",
154149
+ "group_key": "T:af834ddc80561c2b:50ae57105f22ec03",
154150
+ "parse_status": "ok",
154151
+ "n_objs": 12,
154152
+ "n_levels": 15,
154153
+ "n_dups": 0,
154154
+ "members": []
154155
+ },
154156
  {
154157
  "file": "6db35fb9d71be4690b029fff02579653.txt",
154158
  "label": "6db35fb9d71be4690b029fff02579653",
 
200249
  "n_dups": 0,
200250
  "members": []
200251
  },
200252
+ {
200253
+ "file": "88ea820c1ab0fb0b8864e57c3468522e.txt",
200254
+ "label": "88ea820c1ab0fb0b8864e57c3468522e",
200255
+ "content_hash": "ee6c03d7dcaacd9f295ef8be194069c83b4cf3bd",
200256
+ "group_key": "T:b2ee1ebc12b94a7c:7e0349293610023b",
200257
+ "parse_status": "ok",
200258
+ "n_objs": 26,
200259
+ "n_levels": 2,
200260
+ "n_dups": 0,
200261
+ "members": []
200262
+ },
200263
  {
200264
  "file": "88eab597d5635611861edd5d9c613deb.txt",
200265
  "label": "88eab597d5635611861edd5d9c613deb",
 
215683
  "n_dups": 0,
215684
  "members": []
215685
  },
215686
+ {
215687
+ "file": "943921b9b9183837ad547bafce0d633b.txt",
215688
+ "label": "943921b9b9183837ad547bafce0d633b",
215689
+ "content_hash": "a80244e07db4567324a6ed4c9508ab1a59ae187e",
215690
+ "group_key": "T:42e7c3b79e01636e:4527977597e719e9",
215691
+ "parse_status": "ok",
215692
+ "n_objs": 19,
215693
+ "n_levels": 5,
215694
+ "n_dups": 0,
215695
+ "members": []
215696
+ },
215697
  {
215698
  "file": "9439312.txt",
215699
  "label": "9439312",
 
311462
  "n_dups": 0,
311463
  "members": []
311464
  },
311465
+ {
311466
+ "file": "f710b8e0831b0c7166db64168bf17f1d.txt",
311467
+ "label": "f710b8e0831b0c7166db64168bf17f1d",
311468
+ "content_hash": "b8ac90aa70dfd89cdfa1a43cd769f68cd40afb4c",
311469
+ "group_key": "T:b8229e784be47fda:1817c9059e2f78af",
311470
+ "parse_status": "ok",
311471
+ "n_objs": 28,
311472
+ "n_levels": 4,
311473
+ "n_dups": 0,
311474
+ "members": []
311475
+ },
311476
  {
311477
  "file": "f71265b544406f3b7ad1bdc83ce66ab6.txt",
311478
  "label": "f71265b544406f3b7ad1bdc83ce66ab6",