smearle commited on
Commit
ad33e4e
·
verified ·
1 Parent(s): 06abd05

Daily refresh: 37914 games

Browse files
Files changed (3) hide show
  1. README.md +2 -2
  2. data/puzzlescript_games.jsonl +2 -2
  3. dedup_master.json +120 -22
README.md CHANGED
@@ -22,7 +22,7 @@ configs:
22
 
23
  # PuzzleScript Human-Authored Games (Full Gist Corpus)
24
 
25
- **35,157** 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,382 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,173** 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,390 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:b07a497fd5009cbcfccd4bfe0c81e0fb7f9b58c52eb1df72646f7c015a0b1480
3
- size 316427694
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b4381f057739484e1856d6a833c905b7a61788d254e4423d6358d3c2abdd3ba
3
+ size 316578696
dedup_master.json CHANGED
@@ -1,18 +1,18 @@
1
  {
2
  "master_dir": "/home/jupyter-smearle/puzzlescript-gists",
3
- "n_files": 37898,
4
- "n_unique_content": 33380,
5
- "n_after_dedup": 27636,
6
- "removed_as_dups": 10262,
7
  "parse_status_counts": {
8
- "parse_error": 4679,
9
- "ok": 32879,
10
  "preprocess_error": 302,
11
  "timeout": 38
12
  },
13
- "n_parsed_candidates": 23452,
14
- "n_distinct_mechanics": 17067,
15
- "n_distinct_levelsets": 19878,
16
  "n_mechanics_shared_by_2plus": 2781,
17
  "candidates": [
18
  {
@@ -6831,6 +6831,17 @@
6831
  "n_dups": 0,
6832
  "members": []
6833
  },
 
 
 
 
 
 
 
 
 
 
 
6834
  {
6835
  "file": "049b4c37df66ff016f14.txt",
6836
  "label": "049b4c37df66ff016f14",
@@ -22381,6 +22392,17 @@
22381
  "n_dups": 0,
22382
  "members": []
22383
  },
 
 
 
 
 
 
 
 
 
 
 
22384
  {
22385
  "file": "0e9a234d0e5f66d308f64f6b9e1c1fdb.txt",
22386
  "label": "0e9a234d0e5f66d308f64f6b9e1c1fdb",
@@ -35290,6 +35312,17 @@
35290
  "da87ebe58eb3e03f0376b3a3f7ac04ab.txt"
35291
  ]
35292
  },
 
 
 
 
 
 
 
 
 
 
 
35293
  {
35294
  "file": "152afaffacbb083647090e19c03bbbed.txt",
35295
  "label": "152afaffacbb083647090e19c03bbbed",
@@ -122659,6 +122692,20 @@
122659
  "n_dups": 0,
122660
  "members": []
122661
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122662
  {
122663
  "file": "5ac29e9a157c4119f649a64a3692f762.txt",
122664
  "label": "5ac29e9a157c4119f649a64a3692f762",
@@ -138831,7 +138878,7 @@
138831
  "parse_status": "ok",
138832
  "n_objs": 5,
138833
  "n_levels": 1,
138834
- "n_dups": 610,
138835
  "members": [
138836
  "017e7c78a8d854b93a042a5e71ccb44b.txt",
138837
  "01f3e38c1fb1e3260290b4dc1b156865.txt",
@@ -138953,8 +139000,10 @@
138953
  "316361037a6a93aca0517f854539f295.txt",
138954
  "31805e9c15a7acf16c1cf50e17ab73ba.txt",
138955
  "31a09fab55e7066f9b45128c19464b23.txt",
 
138956
  "32509cca003e961d926bec4d1a71f9d1.txt",
138957
  "328cbcbbf59b96485173fbdf6f004103.txt",
 
138958
  "32ffc28fd4a2dfcfd1aa62f9c9b5cfa4.txt",
138959
  "3380b5cf588bf832672a512ff315a6d2.txt",
138960
  "33fe75b76f1bfff50617ae76487b3877.txt",
@@ -138989,6 +139038,7 @@
138989
  "41ba41bc99cf7c30ccd6566ff0588618.txt",
138990
  "42111d6e6acea4f1fa7269c67a770bde.txt",
138991
  "4320778a8bfdb1edea0941a8b141b45c.txt",
 
138992
  "43f6734b3e56ebaa74e5acd17e5dc552.txt",
138993
  "4452a951f853918815937de1c896f014.txt",
138994
  "44aca37139393cac6afc57499f55a5e5.txt",
@@ -139158,6 +139208,7 @@
139158
  "8232038a23d99ae6703b2e6507bf2a4f.txt",
139159
  "82ba505c59d03b65fcfce2a562f8ca77.txt",
139160
  "82db71a7ef45ddcd6709f768b93a3c07.txt",
 
139161
  "8333ff7900788c6818d8b1211b7b9497.txt",
139162
  "8372151.txt",
139163
  "837a8c376af844301850a6003ac8490d.txt",
@@ -153184,6 +153235,17 @@
153184
  "n_dups": 0,
153185
  "members": []
153186
  },
 
 
 
 
 
 
 
 
 
 
 
153187
  {
153188
  "file": "6e230b5cec4db05327d1.txt",
153189
  "label": "6e230b5cec4db05327d1",
@@ -186067,17 +186129,6 @@
186067
  "ba342cf70346ba41bf60be101d9438b4.txt"
186068
  ]
186069
  },
186070
- {
186071
- "file": "81d5fce4b2b8032129e100d2feb39392.txt",
186072
- "label": "81d5fce4b2b8032129e100d2feb39392",
186073
- "content_hash": "bea85c64013eb00ba8a635abfb02251bfce322e0",
186074
- "group_key": "L:7d2ee83287e7cf39:af3bc28f605ad30b",
186075
- "parse_status": "parse_error:VisitError",
186076
- "n_objs": null,
186077
- "n_levels": null,
186078
- "n_dups": 0,
186079
- "members": []
186080
- },
186081
  {
186082
  "file": "81ddf36a37677ef51b4bee21396d0ea8.txt",
186083
  "label": "81ddf36a37677ef51b4bee21396d0ea8",
@@ -203325,6 +203376,17 @@
203325
  "n_dups": 0,
203326
  "members": []
203327
  },
 
 
 
 
 
 
 
 
 
 
 
203328
  {
203329
  "file": "8cf4233abfcdd3103bd619068ead5332.txt",
203330
  "label": "8cf4233abfcdd3103bd619068ead5332",
@@ -233594,6 +233656,17 @@
233594
  "n_dups": 0,
233595
  "members": []
233596
  },
 
 
 
 
 
 
 
 
 
 
 
233597
  {
233598
  "file": "a66e1deb6988e78331b08ebf83a826d2.txt",
233599
  "label": "a66e1deb6988e78331b08ebf83a826d2",
@@ -280513,6 +280586,17 @@
280513
  "n_dups": 0,
280514
  "members": []
280515
  },
 
 
 
 
 
 
 
 
 
 
 
280516
  {
280517
  "file": "d77cf23b0dbd90a5212a94451585cc01.txt",
280518
  "label": "d77cf23b0dbd90a5212a94451585cc01",
@@ -308941,6 +309025,17 @@
308941
  "n_dups": 0,
308942
  "members": []
308943
  },
 
 
 
 
 
 
 
 
 
 
 
308944
  {
308945
  "file": "f768c27f73410e4e22cdff78abd4b4bc.txt",
308946
  "label": "f768c27f73410e4e22cdff78abd4b4bc",
@@ -321568,10 +321663,11 @@
321568
  "parse_status": "ok",
321569
  "n_objs": 5,
321570
  "n_levels": 2,
321571
- "n_dups": 239,
321572
  "members": [
321573
  "0304134ff1b81854e3c0d6c2d5690595.txt",
321574
  "03156a20867fa0cf5047ae87de404cae.txt",
 
321575
  "0463bea98ccd9b8d557e7e4c9bc1b51a.txt",
321576
  "04b8af6f9b0592829dd66bcd8f1bb75a.txt",
321577
  "06b5e70278a93df2297b379bce2701d1.txt",
@@ -321696,6 +321792,7 @@
321696
  "7b123d6e5226f0831097c9855d179a66.txt",
321697
  "7b13daa003fd16cac1cf859e06dc00c5.txt",
321698
  "7b51a63cbaaf4794cd15613a412f0214.txt",
 
321699
  "7be5e23fe721ac320472d315e8696d6d.txt",
321700
  "7c4e76e9642069a290e058afe9128953.txt",
321701
  "7c7f40e858a273f1b8b76d828d297df7.txt",
@@ -321704,6 +321801,7 @@
321704
  "8054aca28003abc8a51521e70c0489c1.txt",
321705
  "8266037.txt",
321706
  "8310c25f2f7974adfddbd292872bf5e2.txt",
 
321707
  "845bea01e9f20803ba18b6ad392e2759.txt",
321708
  "8555096.txt",
321709
  "85f130d56a5c5f5b15d2ca7d0f4656f2.txt",
 
1
  {
2
  "master_dir": "/home/jupyter-smearle/puzzlescript-gists",
3
+ "n_files": 37914,
4
+ "n_unique_content": 33392,
5
+ "n_after_dedup": 27644,
6
+ "removed_as_dups": 10270,
7
  "parse_status_counts": {
8
+ "parse_error": 4684,
9
+ "ok": 32890,
10
  "preprocess_error": 302,
11
  "timeout": 38
12
  },
13
+ "n_parsed_candidates": 23456,
14
+ "n_distinct_mechanics": 17070,
15
+ "n_distinct_levelsets": 19882,
16
  "n_mechanics_shared_by_2plus": 2781,
17
  "candidates": [
18
  {
 
6831
  "n_dups": 0,
6832
  "members": []
6833
  },
6834
+ {
6835
+ "file": "0498cae649d971d7d43ac0ebfd5b6e03.txt",
6836
+ "label": "0498cae649d971d7d43ac0ebfd5b6e03",
6837
+ "content_hash": "f44f1ed4a812b738ceb1b3ae5651e37cef804c7e",
6838
+ "group_key": "T:352a90e6ced198bf:ac2b99416dfa1dce",
6839
+ "parse_status": "ok",
6840
+ "n_objs": 7,
6841
+ "n_levels": 1,
6842
+ "n_dups": 0,
6843
+ "members": []
6844
+ },
6845
  {
6846
  "file": "049b4c37df66ff016f14.txt",
6847
  "label": "049b4c37df66ff016f14",
 
22392
  "n_dups": 0,
22393
  "members": []
22394
  },
22395
+ {
22396
+ "file": "0e98a5b04d772631567589ad63aea90b.txt",
22397
+ "label": "0e98a5b04d772631567589ad63aea90b",
22398
+ "content_hash": "09dc58bd2fe3e4220cd80683270d5bc02479f7db",
22399
+ "group_key": "L:6b626e0436216f45:e0990650ad800808",
22400
+ "parse_status": "parse_error:VisitError",
22401
+ "n_objs": null,
22402
+ "n_levels": null,
22403
+ "n_dups": 0,
22404
+ "members": []
22405
+ },
22406
  {
22407
  "file": "0e9a234d0e5f66d308f64f6b9e1c1fdb.txt",
22408
  "label": "0e9a234d0e5f66d308f64f6b9e1c1fdb",
 
35312
  "da87ebe58eb3e03f0376b3a3f7ac04ab.txt"
35313
  ]
35314
  },
35315
+ {
35316
+ "file": "1529c450555ceb0211c36c7e8641988a.txt",
35317
+ "label": "1529c450555ceb0211c36c7e8641988a",
35318
+ "content_hash": "5dc7589f4ba1af94ca1612b1427126b55bab7a1e",
35319
+ "group_key": "T:ad6e898885d6ed60:144bed6a714ef7fd",
35320
+ "parse_status": "ok",
35321
+ "n_objs": 5,
35322
+ "n_levels": 1,
35323
+ "n_dups": 0,
35324
+ "members": []
35325
+ },
35326
  {
35327
  "file": "152afaffacbb083647090e19c03bbbed.txt",
35328
  "label": "152afaffacbb083647090e19c03bbbed",
 
122692
  "n_dups": 0,
122693
  "members": []
122694
  },
122695
+ {
122696
+ "file": "5ac202da90c97fa99359af31ee34bd33.txt",
122697
+ "label": "5ac202da90c97fa99359af31ee34bd33",
122698
+ "content_hash": "bea85c64013eb00ba8a635abfb02251bfce322e0",
122699
+ "group_key": "L:7d2ee83287e7cf39:af3bc28f605ad30b",
122700
+ "parse_status": "parse_error:VisitError",
122701
+ "n_objs": null,
122702
+ "n_levels": null,
122703
+ "n_dups": 1,
122704
+ "members": [
122705
+ "5ac202da90c97fa99359af31ee34bd33.txt",
122706
+ "81d5fce4b2b8032129e100d2feb39392.txt"
122707
+ ]
122708
+ },
122709
  {
122710
  "file": "5ac29e9a157c4119f649a64a3692f762.txt",
122711
  "label": "5ac29e9a157c4119f649a64a3692f762",
 
138878
  "parse_status": "ok",
138879
  "n_objs": 5,
138880
  "n_levels": 1,
138881
+ "n_dups": 614,
138882
  "members": [
138883
  "017e7c78a8d854b93a042a5e71ccb44b.txt",
138884
  "01f3e38c1fb1e3260290b4dc1b156865.txt",
 
139000
  "316361037a6a93aca0517f854539f295.txt",
139001
  "31805e9c15a7acf16c1cf50e17ab73ba.txt",
139002
  "31a09fab55e7066f9b45128c19464b23.txt",
139003
+ "323f6bc6ac712c90582b395feef779a2.txt",
139004
  "32509cca003e961d926bec4d1a71f9d1.txt",
139005
  "328cbcbbf59b96485173fbdf6f004103.txt",
139006
+ "328dc0d1a0a1b2991768b9252ada4102.txt",
139007
  "32ffc28fd4a2dfcfd1aa62f9c9b5cfa4.txt",
139008
  "3380b5cf588bf832672a512ff315a6d2.txt",
139009
  "33fe75b76f1bfff50617ae76487b3877.txt",
 
139038
  "41ba41bc99cf7c30ccd6566ff0588618.txt",
139039
  "42111d6e6acea4f1fa7269c67a770bde.txt",
139040
  "4320778a8bfdb1edea0941a8b141b45c.txt",
139041
+ "43c51103233e0ff975f40c257ab217f8.txt",
139042
  "43f6734b3e56ebaa74e5acd17e5dc552.txt",
139043
  "4452a951f853918815937de1c896f014.txt",
139044
  "44aca37139393cac6afc57499f55a5e5.txt",
 
139208
  "8232038a23d99ae6703b2e6507bf2a4f.txt",
139209
  "82ba505c59d03b65fcfce2a562f8ca77.txt",
139210
  "82db71a7ef45ddcd6709f768b93a3c07.txt",
139211
+ "82fcb6a3882e7ef064e9556e8d9f7049.txt",
139212
  "8333ff7900788c6818d8b1211b7b9497.txt",
139213
  "8372151.txt",
139214
  "837a8c376af844301850a6003ac8490d.txt",
 
153235
  "n_dups": 0,
153236
  "members": []
153237
  },
153238
+ {
153239
+ "file": "6e22df70d9fc41e639602b044a7a9ca7.txt",
153240
+ "label": "6e22df70d9fc41e639602b044a7a9ca7",
153241
+ "content_hash": "99da1d8a1d7795099f2094e0c07844d27e3dc5d8",
153242
+ "group_key": "T:4487d49ff70a0dab:fc6a6c6bbcf27791",
153243
+ "parse_status": "ok",
153244
+ "n_objs": 12,
153245
+ "n_levels": 3,
153246
+ "n_dups": 0,
153247
+ "members": []
153248
+ },
153249
  {
153250
  "file": "6e230b5cec4db05327d1.txt",
153251
  "label": "6e230b5cec4db05327d1",
 
186129
  "ba342cf70346ba41bf60be101d9438b4.txt"
186130
  ]
186131
  },
 
 
 
 
 
 
 
 
 
 
 
186132
  {
186133
  "file": "81ddf36a37677ef51b4bee21396d0ea8.txt",
186134
  "label": "81ddf36a37677ef51b4bee21396d0ea8",
 
203376
  "n_dups": 0,
203377
  "members": []
203378
  },
203379
+ {
203380
+ "file": "8cf2451aa646bfc288583baaa0cbfc5f.txt",
203381
+ "label": "8cf2451aa646bfc288583baaa0cbfc5f",
203382
+ "content_hash": "e72927ac04dd5f177c17d275eb42e6757421d32d",
203383
+ "group_key": "L:7d2ee83287e7cf39:086aa32e412104d8",
203384
+ "parse_status": "parse_error:VisitError",
203385
+ "n_objs": null,
203386
+ "n_levels": null,
203387
+ "n_dups": 0,
203388
+ "members": []
203389
+ },
203390
  {
203391
  "file": "8cf4233abfcdd3103bd619068ead5332.txt",
203392
  "label": "8cf4233abfcdd3103bd619068ead5332",
 
233656
  "n_dups": 0,
233657
  "members": []
233658
  },
233659
+ {
233660
+ "file": "a66b666a4a6a94ae6cf0a4fd08669dad.txt",
233661
+ "label": "a66b666a4a6a94ae6cf0a4fd08669dad",
233662
+ "content_hash": "5282a9dd9ff3e250e81a2b517d36f91075a41fca",
233663
+ "group_key": "T:5ce7b75869885340:716ebc37299f6ca4",
233664
+ "parse_status": "ok",
233665
+ "n_objs": 211,
233666
+ "n_levels": 5,
233667
+ "n_dups": 0,
233668
+ "members": []
233669
+ },
233670
  {
233671
  "file": "a66e1deb6988e78331b08ebf83a826d2.txt",
233672
  "label": "a66e1deb6988e78331b08ebf83a826d2",
 
280586
  "n_dups": 0,
280587
  "members": []
280588
  },
280589
+ {
280590
+ "file": "d77b9871f86f0d7b2b144fbe0dff5f26.txt",
280591
+ "label": "d77b9871f86f0d7b2b144fbe0dff5f26",
280592
+ "content_hash": "2cf560eb6827d97c0dd5f165e739b2e47bdfc004",
280593
+ "group_key": "L:cbc3c90fa19d5b26:3cd100b638eb032b",
280594
+ "parse_status": "parse_error:VisitError",
280595
+ "n_objs": null,
280596
+ "n_levels": null,
280597
+ "n_dups": 0,
280598
+ "members": []
280599
+ },
280600
  {
280601
  "file": "d77cf23b0dbd90a5212a94451585cc01.txt",
280602
  "label": "d77cf23b0dbd90a5212a94451585cc01",
 
309025
  "n_dups": 0,
309026
  "members": []
309027
  },
309028
+ {
309029
+ "file": "f7685138b816f0300042d46d517f3c74.txt",
309030
+ "label": "f7685138b816f0300042d46d517f3c74",
309031
+ "content_hash": "bdca491dc0d3ca6d1039dea284168a202c8bcbe7",
309032
+ "group_key": "L:5ca7f79d0a251c4e:f202072f69e81216",
309033
+ "parse_status": "parse_error:VisitError",
309034
+ "n_objs": null,
309035
+ "n_levels": null,
309036
+ "n_dups": 0,
309037
+ "members": []
309038
+ },
309039
  {
309040
  "file": "f768c27f73410e4e22cdff78abd4b4bc.txt",
309041
  "label": "f768c27f73410e4e22cdff78abd4b4bc",
 
321663
  "parse_status": "ok",
321664
  "n_objs": 5,
321665
  "n_levels": 2,
321666
+ "n_dups": 242,
321667
  "members": [
321668
  "0304134ff1b81854e3c0d6c2d5690595.txt",
321669
  "03156a20867fa0cf5047ae87de404cae.txt",
321670
+ "036066ee90d0c0fbf5340cc94033b04a.txt",
321671
  "0463bea98ccd9b8d557e7e4c9bc1b51a.txt",
321672
  "04b8af6f9b0592829dd66bcd8f1bb75a.txt",
321673
  "06b5e70278a93df2297b379bce2701d1.txt",
 
321792
  "7b123d6e5226f0831097c9855d179a66.txt",
321793
  "7b13daa003fd16cac1cf859e06dc00c5.txt",
321794
  "7b51a63cbaaf4794cd15613a412f0214.txt",
321795
+ "7ba3c0812ea0285d79af1a9958fa35e3.txt",
321796
  "7be5e23fe721ac320472d315e8696d6d.txt",
321797
  "7c4e76e9642069a290e058afe9128953.txt",
321798
  "7c7f40e858a273f1b8b76d828d297df7.txt",
 
321801
  "8054aca28003abc8a51521e70c0489c1.txt",
321802
  "8266037.txt",
321803
  "8310c25f2f7974adfddbd292872bf5e2.txt",
321804
+ "845a637a83e4b17e1dd51b0360061da4.txt",
321805
  "845bea01e9f20803ba18b6ad392e2759.txt",
321806
  "8555096.txt",
321807
  "85f130d56a5c5f5b15d2ca7d0f4656f2.txt",