diff --git a/benchmark/CodeContests/data/train-00037-of-00039-995207c374a4e6f2.parquet b/benchmark/CodeContests/data/train-00037-of-00039-995207c374a4e6f2.parquet
new file mode 100644
index 0000000000000000000000000000000000000000..115fc75a47045803e037204de013d51cfcaa8200
--- /dev/null
+++ b/benchmark/CodeContests/data/train-00037-of-00039-995207c374a4e6f2.parquet
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bc6e40d8b2de70a52056f0d25d70cac57dd77b8671fa5d1e467e330156addca0
+size 231402023
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1616694_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1616694_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..8fcc87a2d80ad322ab2ef903caa4619bbcd1b793
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1616694_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:605ade7543daa91ff38920012f78d58f56deeb6b9d2e21fdea39bc3001e7272a
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1616928_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1616928_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..fa4fac48fab70ee1353b7af9c3850c9636bebe18
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1616928_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d4c3d290577e03a73bbdd5823097758549c73495d85e0b717fc38b303e06e2c1
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1617307_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1617307_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..1cbd2afb6a5d3f43fa854296849d936faf36fb5b
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1617307_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4d97360c7313c2ae5512f6f3cac1f81725ba2742e29664f2185a4673fea9430a
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1618390_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1618390_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..5db51781a29021579f48bd359da8d66317b1634d
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1618390_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2936ef4c37ef45534ddb9096678e8a9fb6ac94394d5c15e90966599e490d1920
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1677476_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1677476_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..bb2289a2bccd65518fcc0ef339ad559661bbe190
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1677476_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7f2d5902e7ae1ad33213855bdafd11e5ac9211ea62b8a6cab2449ce00b70d7de
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1678906_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1678906_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..0a5bc4cf81205d5da06257658a32f74b9fce1062
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1678906_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b022a6475c980b29c52ff3e765d5acfffded0dc89f22c0fa3f56f7961033baa4
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1679834_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1679834_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..92dd3866420d1910ca0a553c548a4392cf6d88d5
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1679834_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:50734d26a30a5cc262b78bbcb42752974b298085e7cddc585ae1c4325741313e
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1681431_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1681431_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..ee32c40ec07a33f04e74ba5d13f5ccedbab3b5b6
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1681431_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5a5b0ba2fa02b68e5507e34c84f41f76f164bec49470a0e585eadc0faf5f2b4e
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1682154_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1682154_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..ef4bc14dc6a97465df20ba4d8e20641fdb6ba7a1
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1682154_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cb61c7754f696f2abb3d989b012a241fbddfb48fbaf0ab5eaba117c9d585dc8b
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1685623_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1685623_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..a6bd42f3baae32efff44e5a763ad3b970d1f1cda
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1685623_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9c4b6840938dbb2745f3b1b816b2ca24576eb8915ac6aafaefee03d58d057568
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1686378_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1686378_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..b13b8df2bd99816c94b099949537ab9ac471ce2a
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1686378_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e3bba693d347a566ec99c119ff1b2f3cd322094c3e21a70442e59539478ee8ff
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1688061_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1688061_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..4058375b2221511cebca4c944eb6f2fcdd0634cc
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1688061_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9af7e2e3c9b8711352cf9f9a20016b2830cc0fb10c0b3b88a54fc51ed1fdb5a4
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1690598_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1690598_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..92dc7b2fc5f19d5fc9f13874ea6956c9aa20e0ec
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1690598_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b0cbc1fdb58ccf7849e316fd4330f92604262be022f29a4156cfd03699b68dd3
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1694274_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1694274_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..e59e16357909d5960038defabee5b9ab426cbad9
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1694274_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bec2ed5fa11206be87b6f5c80de4e288bb2e197098109abd2a778e7b73ae589a
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1696616_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1696616_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..948a1889578e598676f3185249d416cb49f2534e
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1696616_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fb1811ec2bae5c7f313196012ecd90901303c849652780e4a96df95a31161574
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1728154_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1728154_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..b38cd368d77f92f143e88a7e9b100daa1db751e4
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1728154_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:20a244fc474e094f74141e48621cd39e7ddb417197c86aee04c3f7c2032bbc5c
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1729164_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1729164_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..0b17c1fdfd745fe790b6d1e74317956f1263a7d4
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1729164_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1a328b181f6783822baead77f8c6a4162c297a1f5ee53693a7719513c271ce8f
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1729203_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1729203_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..1be7677d17945731ee37d74e794c2560c45ea304
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1729203_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:04fc166e58f45f4450bf419f780fc2b17314d99250f86149cab84b0de32617c1
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1730338_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1730338_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..b009840c480303d09abbef42f4c024f8de6dfc10
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1730338_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ae9a668db7c0a6a438902572177fbc0ac7083a60af47790fae6012014fb5cd42
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1733407_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1733407_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..488f03f6891c50069a215d8cb110b848f16ab5d1
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1733407_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9e45d9ca43a00c70538de409a7ef5067d9005b56de7c2089d339208c8a0ce1ca
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1770555_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1770555_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..5ecbd3a3cfea2966fe4d3ec5c9d3f82f696db297
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1770555_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ab60b08ee69024ceb9463f8c4d89cf497375ceb05db3d00888c280a69e3c9fd4
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1770746_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1770746_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..9703a40caa9a08752a09c636bb48c7f3ed0d7805
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1770746_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:13fb2caaadd732591697e06f3f9ff20945abbf858b45cc2307f1e77e73c546a6
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1772509_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1772509_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..efe88f34f20d68c36c264db568f073f53b9a08c1
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1772509_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:83e40549f96b5e8bc14bf1bd61f57432c7a7921d03d9b0f140fa6ec82aa1a064
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1773382_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1773382_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..7eb1e052ece219f393391141f7c5d4ab4fee39f3
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1773382_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4077e14e48cf262ecf12c803d5c8dc535593d9fe652ed42e554d1c85e834d87b
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1773512_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1773512_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..23073b362036d3feeaba6518e931171291822ec3
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1773512_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8556ed8c30b732527842cf39b13ba833feec1cbd4d20c4415398cae789cbeecd
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1872775_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1872775_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..219096044d84e0ec5a744d4eb912a6905cdbd159
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1872775_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8968b355b925c7912efa259f812e9ff1eddc7a3a8bb4c09890dec4271e595430
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1873948_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1873948_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..8f4e0ba82a9f0269a142954b9440bcb12a77af9c
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1873948_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:667a6e7064e67947cec55c05fea9d578f8d5acc547876b32ad7cda82bd8c4eb8
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1877038_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1877038_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..0dca626e0de0860853292c7545e679912ad5928c
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1877038_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6a3fe7a9d7453d72a8bd861fda1c48d9b0999f4154aa90d76f6ff3406b2e3d32
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1880093_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1880093_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..c7902e332f8c72b5cf01fa185cded390a58c9c35
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1880093_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c3ab9c17e5d79032bd87db377ce0a6aa9e5814af57de5d536bece72004722f14
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1881189_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1881189_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..4188adcc4d1b26f62eb0a0eeac59aa85b6a48d94
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1881189_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b9a728a18ba33a9ea28b9973857abdbc5be3059db59b1b3c9e268d8899231a61
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1885344_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1885344_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..c090e3bb1fd6cdaa3c9d59806336831940978af4
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1885344_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:99873bf2ccbe9caaced88efe07650bd776a7724826c477ccd61bf325a188cf37
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1887210_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1887210_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..c10af4a9bc545817723a2d52959838d882183f54
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1887210_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d85ecca33d23af72af1decd47a8daedec60495e87f98e8bdbdad940ccc0bab7f
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1888326_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1888326_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..e4068af31d9169c4bb72712f493f839b2efbeee4
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1888326_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cd29580c218434fd5266094d519da959dafc5f8c572fab8c5dd3bf39dd461ce1
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1890381_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1890381_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..f9b1cf363f331b8f48f1052eb38d331e11edcfe4
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1890381_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7b1fba43b46a9d55048dee2c90fd2e785f0cca3172050dbb92b98aac8de82497
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1890409_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1890409_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..7b6f1d7e45a89730cb0bd13b5687748cd1ee9259
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1890409_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e077922534bd17bc458bb0ffbb5a409e41d67c5ade680e8971e9ed546cbad34f
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1894268_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1894268_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..5ca53a18b6431f1b80b856b9754e30f4daf2f142
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1894268_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d997c2d385f4916aebece236a4795d0f097f51e74fa855c43f66fac6404ea0ef
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1894511_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1894511_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..2caad9887c9cebbe5add8d4520aedc0969941189
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1894511_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:111985139c3429550da9d1bd8f7ff96eb68056ad2fe0cda229ff7327e2e4f250
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1899216_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1899216_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..564a0f15b64d8725c11085be1af8714cd86acbc2
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1899216_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:049191931d6e2733db658bd624eb5c10ca44b1c3f3bd2e6b03980b92d19f7e27
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1902323_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1902323_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..3065a0c181bfe895690375fc94556032e6042a57
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1902323_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7cb356fed239fb5149d8910c36aaba4ef9ca062b028722d778636c85125915a1
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1903191_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1903191_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..6a3fae21092e49495519692820f4c026c218599c
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1903191_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a93fd8ffe3e4026e9d4132eac722ff2ed3701cd5a942e899b6f4eb31a31cd9c5
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1911910_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1911910_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..84a780de120f62f6d947443fe27604920622121c
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1911910_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6f091d86d6a494b5641f0b805428b0cd77587682042a6a640a7cb144d4844a45
+size 49378
diff --git a/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1917255_bonafide.pt b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1917255_bonafide.pt
new file mode 100644
index 0000000000000000000000000000000000000000..49fe2e3c26b6bb56d688475b79d6c4e625b92e97
--- /dev/null
+++ b/benchmark/IOAI/IOAI-2025/GAITE-Contest/Synthetic_Speech_Detector/training_set/bonafide/LA_E_1917255_bonafide.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b542116adf4575529b35aa20259e072ed64950636eb37a8d09e94979c29bb656
+size 49378
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_11_index.html/checkanswer.js b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_11_index.html/checkanswer.js
new file mode 100644
index 0000000000000000000000000000000000000000..cc5741feb1f623cca1b1cf7c57a0777a0c66117b
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_11_index.html/checkanswer.js
@@ -0,0 +1,281 @@
+// Do this first so that layout shift isn't too bad:
+const container = document.createElement("div");
+container.style = `
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+`;
+document.body.prepend(container);
+
+import { React, html, css, render } from "./package.js";
+
+/**
+ * Remove non-alphanumeric characters.
+ */
+const normalizeAnswer = (answer) => {
+ if (getYear() === 2003) {
+ if (document.URL.includes("teamGuest/2")) {
+ // Special case: 2003 R2, whose answers are emoji.
+ return answer.trim();
+ } else if (document.URL.includes("6_3")) {
+ // Special case: Answer is literal Greek letter.
+ return answer.trim();
+ }
+ }
+ return answer.toUpperCase().replaceAll(/[^A-Z0-9]/g, "");
+};
+
+/**
+ * Returns the year of the hunt we're in.
+ */
+const getYear = () => {
+ return Number(RegExp(`^.*/([0-9]{4})/.*$`).exec(document.URL)?.[1] ?? 0);
+};
+
+/**
+ * Fetches the answers as a list of {url, answer, prompt, intermediate}.
+ */
+const getData = async () => {
+ const res = await fetch("/answers.tsv");
+ const data = await res.text();
+ const [header, ...body] = data.split("\n");
+ const headers = header.trim().split("\t");
+ return body.map((row) => {
+ const res = {};
+ row.split("\t").forEach((item, i) => {
+ res[headers[i]] = item.trim();
+ });
+ return res;
+ });
+};
+
+/**
+ * Gets the base URL; removes trailing index.html and .html, removes everything
+ * before the year, and then removes trailing slash.
+ */
+const getBase = (url) => {
+ const root =
+ RegExp(`^(.*/)index.html`).exec(url)?.[1] ??
+ RegExp(`^(.*).html`).exec(url)?.[1] ??
+ url;
+ const base = RegExp(`^.*/([0-9]{4}/.*)$`).exec(root)?.[1] ?? root;
+ return base.endsWith("/") ? base.slice(0, -1) : base;
+};
+
+/**
+ * Get all rows in the data corresponding to a given URL. Group by same prompt.
+ */
+const getAnswers = (data, url) => {
+ const base = getBase(url);
+ const rows = data.filter((row) => getBase(row.url) === base);
+ const prompts = [];
+ for (const row of rows) {
+ const { prompt } = row;
+ const group = prompts.find((group) => group.prompt === prompt);
+ if (group) {
+ group.rows.push(row);
+ } else {
+ prompts.push({ prompt, rows: [row] });
+ }
+ }
+ return prompts;
+};
+
+/**
+ * A single textbox and submit button in the rows of possible responses.
+ */
+const ResponseRow = ({ prompt, rows, setFeedback }) => {
+ const [response, setResponse] = React.useState("");
+
+ const form = css`
+ align-items: baseline;
+ display: flex;
+ justify-content: right;
+ margin-bottom: 0.5em;
+
+ @media (max-width: 600px) {
+ align-items: flex-start;
+ flex-direction: column;
+ }
+ `;
+
+ const input = css`
+ background: #fafafa;
+ border: 1px solid #aaa;
+ border-radius: 2px;
+ color: #121212;
+ font-family: inherit;
+ font-size: 100%;
+ line-height: 1.2;
+ margin: 0 0.5em;
+ padding: 0.25em 0.5em;
+
+ @media (max-width: 600px) {
+ margin: 0 0 0.25em;
+ }
+ `;
+
+ const onSubmit = (e) => {
+ e.preventDefault();
+ let set = false;
+ for (const row of rows) {
+ const correct = normalizeAnswer(row.answer) === normalizeAnswer(response);
+ if (correct) {
+ setFeedback(
+ row.intermediate?.trim() === "TRUE"
+ ? "Correct! See the solution page for the answer."
+ : `Solved! The answer was ${row.answer}.`
+ );
+ set = true;
+ break;
+ }
+ }
+ if (!set) {
+ setFeedback("Incorrect.");
+ }
+ };
+
+ const onChange = (e) => setResponse(e.target.value);
+
+ return html`
+
+ `;
+};
+
+/**
+ * Check answer button, rendered at top of page.
+ */
+const CheckButton = ({ prompts }) => {
+ const [open, setOpen] = React.useState(false);
+ const [feedback, setFeedback] = React.useState("Call in an answer.");
+
+ const wrapper = css`
+ font-family: "PT Sans", sans-serif;
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+
+ button {
+ background: #555;
+ border: none;
+ border-radius: 2px;
+ color: #fff;
+ cursor: pointer;
+ display: inline-block;
+ font-size: 1em;
+ font-family: "PT Sans", sans-serif;
+ font-weight: bold;
+ line-height: 1.2;
+ padding: 0.25em 1em;
+ text-align: center;
+ text-decoration: none;
+ text-transform: none;
+ }
+
+ p {
+ margin: 0 0 1em;
+ }
+
+ a {
+ color: inherit !important;
+ }
+ `;
+
+ const btnTop = [2015, 2016].includes(getYear())
+ ? "50px"
+ : [2012].includes(getYear())
+ ? "-2.5em"
+ : "0px";
+
+ const button = css`
+ box-sizing: border-box;
+ height: 2.5em;
+ left: 0;
+ position: absolute;
+ top: ${btnTop};
+ width: 100%;
+ z-index: 9999;
+ `;
+
+ const dropdownWrapper = css`
+ background: #edeff0;
+ color: #121212;
+ left: 0;
+ position: absolute;
+ right: 0;
+ top: calc(2.5em + ${btnTop});
+ z-index: 9999;
+ `;
+
+ const dropdown = css`
+ margin: 0 auto;
+ max-width: 40em;
+ padding: 1em;
+ z-index: 9999;
+ `;
+
+ const responses = css`
+ margin: 0 auto;
+ width: fit-content;
+
+ @media (max-width: 600px) {
+ width: auto;
+ }
+ `;
+
+ const onClick = () => setOpen(!open);
+
+ const body =
+ prompts.length > 0
+ ? prompts.map(
+ (group) =>
+ html`<${ResponseRow} setFeedback=${setFeedback} ...${group} />`
+ )
+ : html`
+ No answers found on this page. Please report this to${" "}
+ puzzle@mit.edu .
+
`;
+
+ return html`
+
+
+
+ Check your answers spoiler-free
+
+ ${open &&
+ html`
+
+
+
${feedback}
+
${body}
+
+
+ `}
+
+ `;
+};
+
+const data = await getData();
+const prompts = getAnswers(data, document.URL);
+render(html`<${CheckButton} prompts=${prompts} />`, container);
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_11_index.html/index.html b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_11_index.html/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..30fb26af79b9771bcd2008b1f540d6972484b55c
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_11_index.html/index.html
@@ -0,0 +1,127 @@
+
+
+
+
+Stumpophobia
+
+
+
+
+
+
+
+
+
+ Spookiness
+ Rating: 1
+
+
+
+
+ Stumpophobia
+ "the fear of
+ running for office"
+ or "the fear of not being able to solve a Mystery Hunt puzzle"
+
+ This puzzle will take
+ you to some noted offices on campus. Call us and we will give you the
+ first office to go to. (In order to ease congestion on the path, we may
+ use staggered start times. First call, first served!) Using its building
+ and room number, the text appearing on the office door, and instruction
+ #1 below, determine the next office to go to. Using the new office building,
+ room, and door, follow instruction #2 to get the next office. Repeat until
+ all instructions are complete. The instructions use letters on the doors
+ as numbers; use the standard alphanumeric code (A=1, B=2, etc.). Two consecutive
+ instructions actually use a letter as a letter. Each instruction has two
+ parts. The first part gives you the new building. The second gives you
+ the new room.
+ To get the answer
+ for the trail, you must extract one letter from each door. The letters
+ in order of when you visit their doors spell the answer. The key letters
+ are described following the instructions; however, they are not given
+ in order of the doors. You'll have to use logic, the doors' characteristics,
+ and your knowledge of English to determine which clues go with which doors.
+ (If a clue for a key letter describes multiple letters, those will all
+ be the same. For example, a clue referring to this paragraph might be
+ "First letter of first word or last letter of second word".
+ The answer would be T.)
+ Instructions
+
+ Add eleventh letter
+ of sixth line to building; add third letter of seventh word to room.
+ Divide building
+ by seventh letter of fourth line (rounding down); add to room the square
+ of the difference between the first letter of the fourth line and first
+ letter of the first line.
+ Add first letter
+ of surname to building; subtract from room the square of the sum of
+ the first letters of the first and third lines.
+ Add first letter
+ of left half's third word to building; subtract product of number formed
+ from last two digits on the door times third letter of left half's third
+ word from room.
+ Divide building
+ by first letter of last word then multiply by fourth letter of that
+ word; add to room the product of third and last letters of sixth word.
+ Add tenth letter
+ to building, then precede sum with twelfth letter; multiply room by
+ eleventh letter, then add three-digit number formed by repeating fourth
+ letter from end.
+ After dropping
+ sixth letter from building, subtract twelfth letter; next room is fifth
+ letter times sum of second and last letters of last word.
+ Multiply building
+ by ninth letter, then subtract fourteenth letter; add product of first
+ two letters of second line to room
+ Subtract third
+ letter from building; subtract from the room the product of fourth letter
+ from end of second line and third letter from end of third line
+ Divide building
+ by sixth letter; add product of fifth letter and sum of first and last
+ letters of last line to room.
+ Add eighth letter
+ to building; subtract product of second word's fourth letter and third
+ line's fourth letter from room.
+ Subtract last letter
+ of first surname from building; add product of fourth letter of third
+ line and fourth letter of fourth line to room.
+ Obviously you can't
+ go any farther up the line than this room.
+
+ Key Letters
+
+
+ Fifth letter
+ from end of both spelled-out words on first line
+ Fifth letter
+ of both first word and eighth word
+ First letter
+ of words on second, third, and seventh lines
+ If you spell
+ out the first abbreviation, it's the first letter not in the abbreviation
+ Letter appearing
+ once in second word on first line, once in first word of second line
+ and nowhere else
+ Letter following
+ two pairs of doubled letters
+ Letter in the
+ same position as the V, but on the other line
+ Only doubled
+ letter
+ Only first initial
+ Second letter
+ on one line, third letter on another line, or fourth letter on the
+ remaining line
+ Second lowercase
+ letter
+ Sixth letter
+ of third word on first line
+ Third letter
+ from the end
+
+
+
+
+
+
+
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_12_index.html/checkanswer.js b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_12_index.html/checkanswer.js
new file mode 100644
index 0000000000000000000000000000000000000000..cc5741feb1f623cca1b1cf7c57a0777a0c66117b
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_12_index.html/checkanswer.js
@@ -0,0 +1,281 @@
+// Do this first so that layout shift isn't too bad:
+const container = document.createElement("div");
+container.style = `
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+`;
+document.body.prepend(container);
+
+import { React, html, css, render } from "./package.js";
+
+/**
+ * Remove non-alphanumeric characters.
+ */
+const normalizeAnswer = (answer) => {
+ if (getYear() === 2003) {
+ if (document.URL.includes("teamGuest/2")) {
+ // Special case: 2003 R2, whose answers are emoji.
+ return answer.trim();
+ } else if (document.URL.includes("6_3")) {
+ // Special case: Answer is literal Greek letter.
+ return answer.trim();
+ }
+ }
+ return answer.toUpperCase().replaceAll(/[^A-Z0-9]/g, "");
+};
+
+/**
+ * Returns the year of the hunt we're in.
+ */
+const getYear = () => {
+ return Number(RegExp(`^.*/([0-9]{4})/.*$`).exec(document.URL)?.[1] ?? 0);
+};
+
+/**
+ * Fetches the answers as a list of {url, answer, prompt, intermediate}.
+ */
+const getData = async () => {
+ const res = await fetch("/answers.tsv");
+ const data = await res.text();
+ const [header, ...body] = data.split("\n");
+ const headers = header.trim().split("\t");
+ return body.map((row) => {
+ const res = {};
+ row.split("\t").forEach((item, i) => {
+ res[headers[i]] = item.trim();
+ });
+ return res;
+ });
+};
+
+/**
+ * Gets the base URL; removes trailing index.html and .html, removes everything
+ * before the year, and then removes trailing slash.
+ */
+const getBase = (url) => {
+ const root =
+ RegExp(`^(.*/)index.html`).exec(url)?.[1] ??
+ RegExp(`^(.*).html`).exec(url)?.[1] ??
+ url;
+ const base = RegExp(`^.*/([0-9]{4}/.*)$`).exec(root)?.[1] ?? root;
+ return base.endsWith("/") ? base.slice(0, -1) : base;
+};
+
+/**
+ * Get all rows in the data corresponding to a given URL. Group by same prompt.
+ */
+const getAnswers = (data, url) => {
+ const base = getBase(url);
+ const rows = data.filter((row) => getBase(row.url) === base);
+ const prompts = [];
+ for (const row of rows) {
+ const { prompt } = row;
+ const group = prompts.find((group) => group.prompt === prompt);
+ if (group) {
+ group.rows.push(row);
+ } else {
+ prompts.push({ prompt, rows: [row] });
+ }
+ }
+ return prompts;
+};
+
+/**
+ * A single textbox and submit button in the rows of possible responses.
+ */
+const ResponseRow = ({ prompt, rows, setFeedback }) => {
+ const [response, setResponse] = React.useState("");
+
+ const form = css`
+ align-items: baseline;
+ display: flex;
+ justify-content: right;
+ margin-bottom: 0.5em;
+
+ @media (max-width: 600px) {
+ align-items: flex-start;
+ flex-direction: column;
+ }
+ `;
+
+ const input = css`
+ background: #fafafa;
+ border: 1px solid #aaa;
+ border-radius: 2px;
+ color: #121212;
+ font-family: inherit;
+ font-size: 100%;
+ line-height: 1.2;
+ margin: 0 0.5em;
+ padding: 0.25em 0.5em;
+
+ @media (max-width: 600px) {
+ margin: 0 0 0.25em;
+ }
+ `;
+
+ const onSubmit = (e) => {
+ e.preventDefault();
+ let set = false;
+ for (const row of rows) {
+ const correct = normalizeAnswer(row.answer) === normalizeAnswer(response);
+ if (correct) {
+ setFeedback(
+ row.intermediate?.trim() === "TRUE"
+ ? "Correct! See the solution page for the answer."
+ : `Solved! The answer was ${row.answer}.`
+ );
+ set = true;
+ break;
+ }
+ }
+ if (!set) {
+ setFeedback("Incorrect.");
+ }
+ };
+
+ const onChange = (e) => setResponse(e.target.value);
+
+ return html`
+
+ `;
+};
+
+/**
+ * Check answer button, rendered at top of page.
+ */
+const CheckButton = ({ prompts }) => {
+ const [open, setOpen] = React.useState(false);
+ const [feedback, setFeedback] = React.useState("Call in an answer.");
+
+ const wrapper = css`
+ font-family: "PT Sans", sans-serif;
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+
+ button {
+ background: #555;
+ border: none;
+ border-radius: 2px;
+ color: #fff;
+ cursor: pointer;
+ display: inline-block;
+ font-size: 1em;
+ font-family: "PT Sans", sans-serif;
+ font-weight: bold;
+ line-height: 1.2;
+ padding: 0.25em 1em;
+ text-align: center;
+ text-decoration: none;
+ text-transform: none;
+ }
+
+ p {
+ margin: 0 0 1em;
+ }
+
+ a {
+ color: inherit !important;
+ }
+ `;
+
+ const btnTop = [2015, 2016].includes(getYear())
+ ? "50px"
+ : [2012].includes(getYear())
+ ? "-2.5em"
+ : "0px";
+
+ const button = css`
+ box-sizing: border-box;
+ height: 2.5em;
+ left: 0;
+ position: absolute;
+ top: ${btnTop};
+ width: 100%;
+ z-index: 9999;
+ `;
+
+ const dropdownWrapper = css`
+ background: #edeff0;
+ color: #121212;
+ left: 0;
+ position: absolute;
+ right: 0;
+ top: calc(2.5em + ${btnTop});
+ z-index: 9999;
+ `;
+
+ const dropdown = css`
+ margin: 0 auto;
+ max-width: 40em;
+ padding: 1em;
+ z-index: 9999;
+ `;
+
+ const responses = css`
+ margin: 0 auto;
+ width: fit-content;
+
+ @media (max-width: 600px) {
+ width: auto;
+ }
+ `;
+
+ const onClick = () => setOpen(!open);
+
+ const body =
+ prompts.length > 0
+ ? prompts.map(
+ (group) =>
+ html`<${ResponseRow} setFeedback=${setFeedback} ...${group} />`
+ )
+ : html`
+ No answers found on this page. Please report this to${" "}
+ puzzle@mit.edu .
+
`;
+
+ return html`
+
+
+
+ Check your answers spoiler-free
+
+ ${open &&
+ html`
+
+
+
${feedback}
+
${body}
+
+
+ `}
+
+ `;
+};
+
+const data = await getData();
+const prompts = getAnswers(data, document.URL);
+render(html`<${CheckButton} prompts=${prompts} />`, container);
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_12_index.html/index.html b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_12_index.html/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..1abf281cc2e07e8cc6deedbf66d75e88b021e07e
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_12_index.html/index.html
@@ -0,0 +1,2152 @@
+
+
+
+
+Xenophobia
+
+
+
+
+
+
+
+
+
+ Spookiness
+ Rating: 0
+
+
+
+
+ Xenophobia
+ (zee-noh-FOH-bee-uh)
+
+ "fear
+ of foreigners or of anything that is strange or foreign"
+
+ (of course,
+ if you were really frightened of strange things, you wouldn't be here
+ ... would you?)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ,
+
+
+ �
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .
+
+
+
+
+
+
+
+ E
+
+
+ A
+
+
+ D
+
+
+ A
+
+
+ I
+
+
+ A
+
+
+ A
+
+
+ E
+
+
+ C
+
+
+ A
+
+
+ C
+
+
+ A
+
+
+ A
+
+
+ A
+
+
+ A
+
+
+ D
+
+
+ A
+
+
+ A
+
+
+ E
+
+
+ A
+
+
+
+
+ N
+
+
+ C
+
+
+ G
+
+
+ A
+
+
+ L
+
+
+ G
+
+
+ D
+
+
+ E
+
+
+ G
+
+
+ A
+
+
+ C
+
+
+ H
+
+
+ C
+
+
+ D
+
+
+ F
+
+
+ I
+
+
+ A
+
+
+ A
+
+
+ L
+
+
+ A
+
+
+
+
+ N
+
+
+ N
+
+
+ H
+
+
+ E
+
+
+ N
+
+
+ H
+
+
+ I
+
+
+ E
+
+
+ Í
+
+
+ C
+
+
+ E
+
+
+ Í
+
+
+ D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S
+
+
+
+ Q
+
+
+
+
+ Q
+
+
+
+ V
+
+
+ U
+
+
+ V
+
+
+
+ U
+
+
+ V
+
+
+
+ O
+
+
+ T
+
+
+
+
+
+
+
+ N
+
+
+ U
+
+
+
+ R
+
+
+
+
+ V
+
+
+
+
+
+
+
+
+
+
+ R
+
+
+ V
+
+
+
+
+
+
+
+
+
+
+
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_13_index.html/checkanswer.js b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_13_index.html/checkanswer.js
new file mode 100644
index 0000000000000000000000000000000000000000..cc5741feb1f623cca1b1cf7c57a0777a0c66117b
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_13_index.html/checkanswer.js
@@ -0,0 +1,281 @@
+// Do this first so that layout shift isn't too bad:
+const container = document.createElement("div");
+container.style = `
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+`;
+document.body.prepend(container);
+
+import { React, html, css, render } from "./package.js";
+
+/**
+ * Remove non-alphanumeric characters.
+ */
+const normalizeAnswer = (answer) => {
+ if (getYear() === 2003) {
+ if (document.URL.includes("teamGuest/2")) {
+ // Special case: 2003 R2, whose answers are emoji.
+ return answer.trim();
+ } else if (document.URL.includes("6_3")) {
+ // Special case: Answer is literal Greek letter.
+ return answer.trim();
+ }
+ }
+ return answer.toUpperCase().replaceAll(/[^A-Z0-9]/g, "");
+};
+
+/**
+ * Returns the year of the hunt we're in.
+ */
+const getYear = () => {
+ return Number(RegExp(`^.*/([0-9]{4})/.*$`).exec(document.URL)?.[1] ?? 0);
+};
+
+/**
+ * Fetches the answers as a list of {url, answer, prompt, intermediate}.
+ */
+const getData = async () => {
+ const res = await fetch("/answers.tsv");
+ const data = await res.text();
+ const [header, ...body] = data.split("\n");
+ const headers = header.trim().split("\t");
+ return body.map((row) => {
+ const res = {};
+ row.split("\t").forEach((item, i) => {
+ res[headers[i]] = item.trim();
+ });
+ return res;
+ });
+};
+
+/**
+ * Gets the base URL; removes trailing index.html and .html, removes everything
+ * before the year, and then removes trailing slash.
+ */
+const getBase = (url) => {
+ const root =
+ RegExp(`^(.*/)index.html`).exec(url)?.[1] ??
+ RegExp(`^(.*).html`).exec(url)?.[1] ??
+ url;
+ const base = RegExp(`^.*/([0-9]{4}/.*)$`).exec(root)?.[1] ?? root;
+ return base.endsWith("/") ? base.slice(0, -1) : base;
+};
+
+/**
+ * Get all rows in the data corresponding to a given URL. Group by same prompt.
+ */
+const getAnswers = (data, url) => {
+ const base = getBase(url);
+ const rows = data.filter((row) => getBase(row.url) === base);
+ const prompts = [];
+ for (const row of rows) {
+ const { prompt } = row;
+ const group = prompts.find((group) => group.prompt === prompt);
+ if (group) {
+ group.rows.push(row);
+ } else {
+ prompts.push({ prompt, rows: [row] });
+ }
+ }
+ return prompts;
+};
+
+/**
+ * A single textbox and submit button in the rows of possible responses.
+ */
+const ResponseRow = ({ prompt, rows, setFeedback }) => {
+ const [response, setResponse] = React.useState("");
+
+ const form = css`
+ align-items: baseline;
+ display: flex;
+ justify-content: right;
+ margin-bottom: 0.5em;
+
+ @media (max-width: 600px) {
+ align-items: flex-start;
+ flex-direction: column;
+ }
+ `;
+
+ const input = css`
+ background: #fafafa;
+ border: 1px solid #aaa;
+ border-radius: 2px;
+ color: #121212;
+ font-family: inherit;
+ font-size: 100%;
+ line-height: 1.2;
+ margin: 0 0.5em;
+ padding: 0.25em 0.5em;
+
+ @media (max-width: 600px) {
+ margin: 0 0 0.25em;
+ }
+ `;
+
+ const onSubmit = (e) => {
+ e.preventDefault();
+ let set = false;
+ for (const row of rows) {
+ const correct = normalizeAnswer(row.answer) === normalizeAnswer(response);
+ if (correct) {
+ setFeedback(
+ row.intermediate?.trim() === "TRUE"
+ ? "Correct! See the solution page for the answer."
+ : `Solved! The answer was ${row.answer}.`
+ );
+ set = true;
+ break;
+ }
+ }
+ if (!set) {
+ setFeedback("Incorrect.");
+ }
+ };
+
+ const onChange = (e) => setResponse(e.target.value);
+
+ return html`
+
+ `;
+};
+
+/**
+ * Check answer button, rendered at top of page.
+ */
+const CheckButton = ({ prompts }) => {
+ const [open, setOpen] = React.useState(false);
+ const [feedback, setFeedback] = React.useState("Call in an answer.");
+
+ const wrapper = css`
+ font-family: "PT Sans", sans-serif;
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+
+ button {
+ background: #555;
+ border: none;
+ border-radius: 2px;
+ color: #fff;
+ cursor: pointer;
+ display: inline-block;
+ font-size: 1em;
+ font-family: "PT Sans", sans-serif;
+ font-weight: bold;
+ line-height: 1.2;
+ padding: 0.25em 1em;
+ text-align: center;
+ text-decoration: none;
+ text-transform: none;
+ }
+
+ p {
+ margin: 0 0 1em;
+ }
+
+ a {
+ color: inherit !important;
+ }
+ `;
+
+ const btnTop = [2015, 2016].includes(getYear())
+ ? "50px"
+ : [2012].includes(getYear())
+ ? "-2.5em"
+ : "0px";
+
+ const button = css`
+ box-sizing: border-box;
+ height: 2.5em;
+ left: 0;
+ position: absolute;
+ top: ${btnTop};
+ width: 100%;
+ z-index: 9999;
+ `;
+
+ const dropdownWrapper = css`
+ background: #edeff0;
+ color: #121212;
+ left: 0;
+ position: absolute;
+ right: 0;
+ top: calc(2.5em + ${btnTop});
+ z-index: 9999;
+ `;
+
+ const dropdown = css`
+ margin: 0 auto;
+ max-width: 40em;
+ padding: 1em;
+ z-index: 9999;
+ `;
+
+ const responses = css`
+ margin: 0 auto;
+ width: fit-content;
+
+ @media (max-width: 600px) {
+ width: auto;
+ }
+ `;
+
+ const onClick = () => setOpen(!open);
+
+ const body =
+ prompts.length > 0
+ ? prompts.map(
+ (group) =>
+ html`<${ResponseRow} setFeedback=${setFeedback} ...${group} />`
+ )
+ : html`
+ No answers found on this page. Please report this to${" "}
+ puzzle@mit.edu .
+
`;
+
+ return html`
+
+
+
+ Check your answers spoiler-free
+
+ ${open &&
+ html`
+
+
+
${feedback}
+
${body}
+
+
+ `}
+
+ `;
+};
+
+const data = await getData();
+const prompts = getAnswers(data, document.URL);
+render(html`<${CheckButton} prompts=${prompts} />`, container);
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_13_index.html/index.html b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_13_index.html/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..919a58782a4bd1cb08184afa38e6942e88440a89
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_13_index.html/index.html
@@ -0,0 +1,194 @@
+
+
+
+
+Dialoguophobia
+
+
+
+
+
+
+
+
+
+ Spookiness
+ Rating: 0
+
+
+
+
+ Dialoguophobia
+
+
+
+ _ 47 _ _ _ _ _ _ 97 _,
+
+
You would, would
+ you?
+
+
+ _ 122 _ 95 _ _,
+
+
You may not.
+
+
+ _ 91 _ _ 73 _ _ 17 _
+
+
Take me! Take me!
+
+
+ 72 _ _ 3 _ _ _ _ 107 _ _
+ _ 114 _ _ _ 53
+
+
How strange was it?
+ So strange, they made a movie about it.
+
+
+ Well, I say that life
+ is an illusion.
+
+
+ 85 _ _ _ _ _ _ 76 _ _ 13 _ _ _
+ _ 100 24 _ _ 7 _ _ _
+ 49 _ _ _ 105 _ _ 12 1 _ _ _ _ _ 118
+ _,
+
+
Like your neck.
+
+
+
+ _ 2 _ 94 _ _ _ 119 _ _ _ _ _ 123 _
+ 8 _ _ _ _ 115 _ _
+ 25 _ _ _ _ _ 14 27 _ 52 _ _ _ 28
+ _ _ _ _ _ 108 _ _ _.
+
+
+
Also like your neck.
+
+
+ 79 _ _ 117 _ _ 121 _ _ 9,
+ 20 _ _ _ 56 _ _ _ 124 _ _
+ 41 _ _ _ _ _ 60 _ _ _ _ _ 102 _ _
+ 35 _.
+
+
Unlike your neck.
+
+ _ _ 112 _ _ _ _,
+
+
There's always a "however."
+
+
+ 90 _ _ 51 _ _ _ 5 _ _ _ 16 _ _ _ 42
+ _ _ 71 _ _ _ 57 _ _
+ _ 54 _ _ _ 48 _ _ 21 _
+
+
Neck?
+
+ _ _ 61 _ _ _ 34 _
+
+
And his neck.
+
+
+ _ _ _ 46 103 _ _ 18 _ _ _ 55 _ _ _ _
+ _ 58 _ _ 29
+ _ _ _ 128 _ _ _ 32 _ _ _ _ _ 68 _ _ 6
+
+
Where they were necking.
+
+
+ 126 _ _ _ 98 _ _ _ _ 37 _
+ _ 64 _ _ _ _ 11 _ 127 _ _
+ _ 125 _ _ _ _ 65 _ _ _ _ _
+
+
And neckless.
+
+
+ _ _ 116 _ 23 _ _ _ 69,
+
+
And neckless.
+
+
+ _ 81 _ _ _ 86 _ _ 63 _ _ _ 104
+ _ _ _ 4
+
+
Unlike your neck.
+
+
+ 96 _ 74 _ _ 22 _ _ _ _ 67
+ _ _ _ 87 _ 45 _ _ _ _ _ 38 _
+
+
With their
+ necks.
+
+
+ 110 _ _ _ _ _ 40
+
+
And their necks.
+
+
+ _ _ _ 93 _ 109 _ _ _ _ 59 _
+ 75 _ _ _ 36 _ _ _ _ _ 111 _
+ 26 _ _ 101 _.
+
+
Same room, different
+ filter, cheap movie.
+
+
+
+ 50 _ _ _ 120 _ _ _ _ 10 _
+
+
Where?
+
+
+ 113 _ 33 _ _ _ 83 _ _ _ 30'_ _
+ _ _ 78,
+
+
What did you have
+ for breakfast?
+
+
+ _ _ _ 15 _ _ 62 _ _ _ 99
+
+
Why is your phone
+ bill so high?
+
+
+ _ 31 _ _ 89 _ 44 _ _ _ _ 84 _ _
+ 77 _ _ _,
+
+
Where's your neck?
+
+
+ 88 _ _ _ 19 _ 66 _ _ _
+
+
And what's your favorite
+ TV show?
+
+
+ _ 106 _ 70 _ _ _ 82 _ 43
+ _ _ _ 129
+
+
And what does this
+ movie lack?
+
+
+ _ 80 _ 39 _ _ _ _ _ 92.
+
+
+ 1-2 3-4-5-6-7 8-9-10-11
+ 12-13-14-15 16-17-18-19-20-21-22-23-24
+ (25-26-27-28 29-30-31-32-33) 34-35 36-37-38, 39-40, 41-42-43-44,
+
+ 45-46-47-48 & 49-50-51-52 53-54-55 56-57-58-59-60-61
+ 62-63-64-65-66
+ 67-68-69. 70-71-72-73 74-75-76-77-78 79-80 81-82-83-84 85-86-87-88-89
+
+ 90-91 92-93-94 X. 95-96-97-98 99-100-101-102-103-104-105-106-107
+ 108-109-110-111 112-113-114-115-116 117-118-119-120-121-122-123
+ 124 X-125-126-127-128-129.
+
+
+
+
+
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_1_index.html/checkanswer.js b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_1_index.html/checkanswer.js
new file mode 100644
index 0000000000000000000000000000000000000000..cc5741feb1f623cca1b1cf7c57a0777a0c66117b
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_1_index.html/checkanswer.js
@@ -0,0 +1,281 @@
+// Do this first so that layout shift isn't too bad:
+const container = document.createElement("div");
+container.style = `
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+`;
+document.body.prepend(container);
+
+import { React, html, css, render } from "./package.js";
+
+/**
+ * Remove non-alphanumeric characters.
+ */
+const normalizeAnswer = (answer) => {
+ if (getYear() === 2003) {
+ if (document.URL.includes("teamGuest/2")) {
+ // Special case: 2003 R2, whose answers are emoji.
+ return answer.trim();
+ } else if (document.URL.includes("6_3")) {
+ // Special case: Answer is literal Greek letter.
+ return answer.trim();
+ }
+ }
+ return answer.toUpperCase().replaceAll(/[^A-Z0-9]/g, "");
+};
+
+/**
+ * Returns the year of the hunt we're in.
+ */
+const getYear = () => {
+ return Number(RegExp(`^.*/([0-9]{4})/.*$`).exec(document.URL)?.[1] ?? 0);
+};
+
+/**
+ * Fetches the answers as a list of {url, answer, prompt, intermediate}.
+ */
+const getData = async () => {
+ const res = await fetch("/answers.tsv");
+ const data = await res.text();
+ const [header, ...body] = data.split("\n");
+ const headers = header.trim().split("\t");
+ return body.map((row) => {
+ const res = {};
+ row.split("\t").forEach((item, i) => {
+ res[headers[i]] = item.trim();
+ });
+ return res;
+ });
+};
+
+/**
+ * Gets the base URL; removes trailing index.html and .html, removes everything
+ * before the year, and then removes trailing slash.
+ */
+const getBase = (url) => {
+ const root =
+ RegExp(`^(.*/)index.html`).exec(url)?.[1] ??
+ RegExp(`^(.*).html`).exec(url)?.[1] ??
+ url;
+ const base = RegExp(`^.*/([0-9]{4}/.*)$`).exec(root)?.[1] ?? root;
+ return base.endsWith("/") ? base.slice(0, -1) : base;
+};
+
+/**
+ * Get all rows in the data corresponding to a given URL. Group by same prompt.
+ */
+const getAnswers = (data, url) => {
+ const base = getBase(url);
+ const rows = data.filter((row) => getBase(row.url) === base);
+ const prompts = [];
+ for (const row of rows) {
+ const { prompt } = row;
+ const group = prompts.find((group) => group.prompt === prompt);
+ if (group) {
+ group.rows.push(row);
+ } else {
+ prompts.push({ prompt, rows: [row] });
+ }
+ }
+ return prompts;
+};
+
+/**
+ * A single textbox and submit button in the rows of possible responses.
+ */
+const ResponseRow = ({ prompt, rows, setFeedback }) => {
+ const [response, setResponse] = React.useState("");
+
+ const form = css`
+ align-items: baseline;
+ display: flex;
+ justify-content: right;
+ margin-bottom: 0.5em;
+
+ @media (max-width: 600px) {
+ align-items: flex-start;
+ flex-direction: column;
+ }
+ `;
+
+ const input = css`
+ background: #fafafa;
+ border: 1px solid #aaa;
+ border-radius: 2px;
+ color: #121212;
+ font-family: inherit;
+ font-size: 100%;
+ line-height: 1.2;
+ margin: 0 0.5em;
+ padding: 0.25em 0.5em;
+
+ @media (max-width: 600px) {
+ margin: 0 0 0.25em;
+ }
+ `;
+
+ const onSubmit = (e) => {
+ e.preventDefault();
+ let set = false;
+ for (const row of rows) {
+ const correct = normalizeAnswer(row.answer) === normalizeAnswer(response);
+ if (correct) {
+ setFeedback(
+ row.intermediate?.trim() === "TRUE"
+ ? "Correct! See the solution page for the answer."
+ : `Solved! The answer was ${row.answer}.`
+ );
+ set = true;
+ break;
+ }
+ }
+ if (!set) {
+ setFeedback("Incorrect.");
+ }
+ };
+
+ const onChange = (e) => setResponse(e.target.value);
+
+ return html`
+
+ `;
+};
+
+/**
+ * Check answer button, rendered at top of page.
+ */
+const CheckButton = ({ prompts }) => {
+ const [open, setOpen] = React.useState(false);
+ const [feedback, setFeedback] = React.useState("Call in an answer.");
+
+ const wrapper = css`
+ font-family: "PT Sans", sans-serif;
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+
+ button {
+ background: #555;
+ border: none;
+ border-radius: 2px;
+ color: #fff;
+ cursor: pointer;
+ display: inline-block;
+ font-size: 1em;
+ font-family: "PT Sans", sans-serif;
+ font-weight: bold;
+ line-height: 1.2;
+ padding: 0.25em 1em;
+ text-align: center;
+ text-decoration: none;
+ text-transform: none;
+ }
+
+ p {
+ margin: 0 0 1em;
+ }
+
+ a {
+ color: inherit !important;
+ }
+ `;
+
+ const btnTop = [2015, 2016].includes(getYear())
+ ? "50px"
+ : [2012].includes(getYear())
+ ? "-2.5em"
+ : "0px";
+
+ const button = css`
+ box-sizing: border-box;
+ height: 2.5em;
+ left: 0;
+ position: absolute;
+ top: ${btnTop};
+ width: 100%;
+ z-index: 9999;
+ `;
+
+ const dropdownWrapper = css`
+ background: #edeff0;
+ color: #121212;
+ left: 0;
+ position: absolute;
+ right: 0;
+ top: calc(2.5em + ${btnTop});
+ z-index: 9999;
+ `;
+
+ const dropdown = css`
+ margin: 0 auto;
+ max-width: 40em;
+ padding: 1em;
+ z-index: 9999;
+ `;
+
+ const responses = css`
+ margin: 0 auto;
+ width: fit-content;
+
+ @media (max-width: 600px) {
+ width: auto;
+ }
+ `;
+
+ const onClick = () => setOpen(!open);
+
+ const body =
+ prompts.length > 0
+ ? prompts.map(
+ (group) =>
+ html`<${ResponseRow} setFeedback=${setFeedback} ...${group} />`
+ )
+ : html`
+ No answers found on this page. Please report this to${" "}
+ puzzle@mit.edu .
+
`;
+
+ return html`
+
+
+
+ Check your answers spoiler-free
+
+ ${open &&
+ html`
+
+
+
${feedback}
+
${body}
+
+
+ `}
+
+ `;
+};
+
+const data = await getData();
+const prompts = getAnswers(data, document.URL);
+render(html`<${CheckButton} prompts=${prompts} />`, container);
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_1_index.html/index.html b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_1_index.html/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..a2e263782836fce8132e3cba4adcdfd2e17662d1
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_1_index.html/index.html
@@ -0,0 +1,30 @@
+
+
+
+
+
+Achluophobia
+
+
+
+
+
+
+
+
+ Spookiness
+ Rating: 4
+
+
+
+
+ Achluophobia
+ They say it's better
+ to light a candle than to curse the darkness. Unfortunately, we're not
+ giving you any candles. Call Hunt headquarters for an appointment.
+
+
+
+
+
+
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/1.JPG b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/1.JPG
new file mode 100644
index 0000000000000000000000000000000000000000..760d5040e3caacd849fbcf63316e0b7d423d3d72
Binary files /dev/null and b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/1.JPG differ
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/10.JPG b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/10.JPG
new file mode 100644
index 0000000000000000000000000000000000000000..dc2ead7733c58c3d103a57a9fbfe9f6acbf9513a
Binary files /dev/null and b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/10.JPG differ
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/11.JPG b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/11.JPG
new file mode 100644
index 0000000000000000000000000000000000000000..5c1ddbbfde07a7b115edfcabe25018eface2009c
Binary files /dev/null and b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/11.JPG differ
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/12.JPG b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/12.JPG
new file mode 100644
index 0000000000000000000000000000000000000000..6a3747ac47e96d76b45d9c54fe2a0afab3f39b49
Binary files /dev/null and b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/12.JPG differ
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/13.JPG b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/13.JPG
new file mode 100644
index 0000000000000000000000000000000000000000..c97085b5d5bb6859baabd3d8fc0360689364f49f
Binary files /dev/null and b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/13.JPG differ
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/2.JPG b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/2.JPG
new file mode 100644
index 0000000000000000000000000000000000000000..8f6b9c828289d0daaea4cc89633cdccc4b9eb483
Binary files /dev/null and b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/2.JPG differ
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/3.JPG b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/3.JPG
new file mode 100644
index 0000000000000000000000000000000000000000..6a3e6293c29f28bb908a69621cca72a5804ae292
Binary files /dev/null and b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/3.JPG differ
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/4.JPG b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/4.JPG
new file mode 100644
index 0000000000000000000000000000000000000000..ae405329964f50e087ffc8c8e94229bf494c62f4
Binary files /dev/null and b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/4.JPG differ
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/5.JPG b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/5.JPG
new file mode 100644
index 0000000000000000000000000000000000000000..9049dafecec83f832fcc2fa440bc489c09cece20
Binary files /dev/null and b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/5.JPG differ
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/6.JPG b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/6.JPG
new file mode 100644
index 0000000000000000000000000000000000000000..77eeff40dacd1cfdbb89e0d4cec642020a25dea7
Binary files /dev/null and b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/6.JPG differ
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/7.JPG b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/7.JPG
new file mode 100644
index 0000000000000000000000000000000000000000..9c409906c0eee9d0ea109a7aa70eb709428b9fde
Binary files /dev/null and b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/7.JPG differ
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/8.JPG b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/8.JPG
new file mode 100644
index 0000000000000000000000000000000000000000..241b022fea1371d498e0293b3803d55463812e31
Binary files /dev/null and b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/8.JPG differ
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/9.JPG b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/9.JPG
new file mode 100644
index 0000000000000000000000000000000000000000..38eed789c85bcc9f7f0035412da93a842b191f32
Binary files /dev/null and b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/9.JPG differ
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/checkanswer.js b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/checkanswer.js
new file mode 100644
index 0000000000000000000000000000000000000000..cc5741feb1f623cca1b1cf7c57a0777a0c66117b
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/checkanswer.js
@@ -0,0 +1,281 @@
+// Do this first so that layout shift isn't too bad:
+const container = document.createElement("div");
+container.style = `
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+`;
+document.body.prepend(container);
+
+import { React, html, css, render } from "./package.js";
+
+/**
+ * Remove non-alphanumeric characters.
+ */
+const normalizeAnswer = (answer) => {
+ if (getYear() === 2003) {
+ if (document.URL.includes("teamGuest/2")) {
+ // Special case: 2003 R2, whose answers are emoji.
+ return answer.trim();
+ } else if (document.URL.includes("6_3")) {
+ // Special case: Answer is literal Greek letter.
+ return answer.trim();
+ }
+ }
+ return answer.toUpperCase().replaceAll(/[^A-Z0-9]/g, "");
+};
+
+/**
+ * Returns the year of the hunt we're in.
+ */
+const getYear = () => {
+ return Number(RegExp(`^.*/([0-9]{4})/.*$`).exec(document.URL)?.[1] ?? 0);
+};
+
+/**
+ * Fetches the answers as a list of {url, answer, prompt, intermediate}.
+ */
+const getData = async () => {
+ const res = await fetch("/answers.tsv");
+ const data = await res.text();
+ const [header, ...body] = data.split("\n");
+ const headers = header.trim().split("\t");
+ return body.map((row) => {
+ const res = {};
+ row.split("\t").forEach((item, i) => {
+ res[headers[i]] = item.trim();
+ });
+ return res;
+ });
+};
+
+/**
+ * Gets the base URL; removes trailing index.html and .html, removes everything
+ * before the year, and then removes trailing slash.
+ */
+const getBase = (url) => {
+ const root =
+ RegExp(`^(.*/)index.html`).exec(url)?.[1] ??
+ RegExp(`^(.*).html`).exec(url)?.[1] ??
+ url;
+ const base = RegExp(`^.*/([0-9]{4}/.*)$`).exec(root)?.[1] ?? root;
+ return base.endsWith("/") ? base.slice(0, -1) : base;
+};
+
+/**
+ * Get all rows in the data corresponding to a given URL. Group by same prompt.
+ */
+const getAnswers = (data, url) => {
+ const base = getBase(url);
+ const rows = data.filter((row) => getBase(row.url) === base);
+ const prompts = [];
+ for (const row of rows) {
+ const { prompt } = row;
+ const group = prompts.find((group) => group.prompt === prompt);
+ if (group) {
+ group.rows.push(row);
+ } else {
+ prompts.push({ prompt, rows: [row] });
+ }
+ }
+ return prompts;
+};
+
+/**
+ * A single textbox and submit button in the rows of possible responses.
+ */
+const ResponseRow = ({ prompt, rows, setFeedback }) => {
+ const [response, setResponse] = React.useState("");
+
+ const form = css`
+ align-items: baseline;
+ display: flex;
+ justify-content: right;
+ margin-bottom: 0.5em;
+
+ @media (max-width: 600px) {
+ align-items: flex-start;
+ flex-direction: column;
+ }
+ `;
+
+ const input = css`
+ background: #fafafa;
+ border: 1px solid #aaa;
+ border-radius: 2px;
+ color: #121212;
+ font-family: inherit;
+ font-size: 100%;
+ line-height: 1.2;
+ margin: 0 0.5em;
+ padding: 0.25em 0.5em;
+
+ @media (max-width: 600px) {
+ margin: 0 0 0.25em;
+ }
+ `;
+
+ const onSubmit = (e) => {
+ e.preventDefault();
+ let set = false;
+ for (const row of rows) {
+ const correct = normalizeAnswer(row.answer) === normalizeAnswer(response);
+ if (correct) {
+ setFeedback(
+ row.intermediate?.trim() === "TRUE"
+ ? "Correct! See the solution page for the answer."
+ : `Solved! The answer was ${row.answer}.`
+ );
+ set = true;
+ break;
+ }
+ }
+ if (!set) {
+ setFeedback("Incorrect.");
+ }
+ };
+
+ const onChange = (e) => setResponse(e.target.value);
+
+ return html`
+
+ `;
+};
+
+/**
+ * Check answer button, rendered at top of page.
+ */
+const CheckButton = ({ prompts }) => {
+ const [open, setOpen] = React.useState(false);
+ const [feedback, setFeedback] = React.useState("Call in an answer.");
+
+ const wrapper = css`
+ font-family: "PT Sans", sans-serif;
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+
+ button {
+ background: #555;
+ border: none;
+ border-radius: 2px;
+ color: #fff;
+ cursor: pointer;
+ display: inline-block;
+ font-size: 1em;
+ font-family: "PT Sans", sans-serif;
+ font-weight: bold;
+ line-height: 1.2;
+ padding: 0.25em 1em;
+ text-align: center;
+ text-decoration: none;
+ text-transform: none;
+ }
+
+ p {
+ margin: 0 0 1em;
+ }
+
+ a {
+ color: inherit !important;
+ }
+ `;
+
+ const btnTop = [2015, 2016].includes(getYear())
+ ? "50px"
+ : [2012].includes(getYear())
+ ? "-2.5em"
+ : "0px";
+
+ const button = css`
+ box-sizing: border-box;
+ height: 2.5em;
+ left: 0;
+ position: absolute;
+ top: ${btnTop};
+ width: 100%;
+ z-index: 9999;
+ `;
+
+ const dropdownWrapper = css`
+ background: #edeff0;
+ color: #121212;
+ left: 0;
+ position: absolute;
+ right: 0;
+ top: calc(2.5em + ${btnTop});
+ z-index: 9999;
+ `;
+
+ const dropdown = css`
+ margin: 0 auto;
+ max-width: 40em;
+ padding: 1em;
+ z-index: 9999;
+ `;
+
+ const responses = css`
+ margin: 0 auto;
+ width: fit-content;
+
+ @media (max-width: 600px) {
+ width: auto;
+ }
+ `;
+
+ const onClick = () => setOpen(!open);
+
+ const body =
+ prompts.length > 0
+ ? prompts.map(
+ (group) =>
+ html`<${ResponseRow} setFeedback=${setFeedback} ...${group} />`
+ )
+ : html`
+ No answers found on this page. Please report this to${" "}
+ puzzle@mit.edu .
+
`;
+
+ return html`
+
+
+
+ Check your answers spoiler-free
+
+ ${open &&
+ html`
+
+
+
${feedback}
+
${body}
+
+
+ `}
+
+ `;
+};
+
+const data = await getData();
+const prompts = getAnswers(data, document.URL);
+render(html`<${CheckButton} prompts=${prompts} />`, container);
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/index.html b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..50ec3c6b358944310df4b58aebbb66d6baa79516
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_2_index.html/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
+Acrophobia
+
+
+
+
+
+
+
+
+ Spookiness
+ Rating: 2
+
+
+
+
+ Acrophobia
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_3_index.html/checkanswer.js b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_3_index.html/checkanswer.js
new file mode 100644
index 0000000000000000000000000000000000000000..cc5741feb1f623cca1b1cf7c57a0777a0c66117b
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_3_index.html/checkanswer.js
@@ -0,0 +1,281 @@
+// Do this first so that layout shift isn't too bad:
+const container = document.createElement("div");
+container.style = `
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+`;
+document.body.prepend(container);
+
+import { React, html, css, render } from "./package.js";
+
+/**
+ * Remove non-alphanumeric characters.
+ */
+const normalizeAnswer = (answer) => {
+ if (getYear() === 2003) {
+ if (document.URL.includes("teamGuest/2")) {
+ // Special case: 2003 R2, whose answers are emoji.
+ return answer.trim();
+ } else if (document.URL.includes("6_3")) {
+ // Special case: Answer is literal Greek letter.
+ return answer.trim();
+ }
+ }
+ return answer.toUpperCase().replaceAll(/[^A-Z0-9]/g, "");
+};
+
+/**
+ * Returns the year of the hunt we're in.
+ */
+const getYear = () => {
+ return Number(RegExp(`^.*/([0-9]{4})/.*$`).exec(document.URL)?.[1] ?? 0);
+};
+
+/**
+ * Fetches the answers as a list of {url, answer, prompt, intermediate}.
+ */
+const getData = async () => {
+ const res = await fetch("/answers.tsv");
+ const data = await res.text();
+ const [header, ...body] = data.split("\n");
+ const headers = header.trim().split("\t");
+ return body.map((row) => {
+ const res = {};
+ row.split("\t").forEach((item, i) => {
+ res[headers[i]] = item.trim();
+ });
+ return res;
+ });
+};
+
+/**
+ * Gets the base URL; removes trailing index.html and .html, removes everything
+ * before the year, and then removes trailing slash.
+ */
+const getBase = (url) => {
+ const root =
+ RegExp(`^(.*/)index.html`).exec(url)?.[1] ??
+ RegExp(`^(.*).html`).exec(url)?.[1] ??
+ url;
+ const base = RegExp(`^.*/([0-9]{4}/.*)$`).exec(root)?.[1] ?? root;
+ return base.endsWith("/") ? base.slice(0, -1) : base;
+};
+
+/**
+ * Get all rows in the data corresponding to a given URL. Group by same prompt.
+ */
+const getAnswers = (data, url) => {
+ const base = getBase(url);
+ const rows = data.filter((row) => getBase(row.url) === base);
+ const prompts = [];
+ for (const row of rows) {
+ const { prompt } = row;
+ const group = prompts.find((group) => group.prompt === prompt);
+ if (group) {
+ group.rows.push(row);
+ } else {
+ prompts.push({ prompt, rows: [row] });
+ }
+ }
+ return prompts;
+};
+
+/**
+ * A single textbox and submit button in the rows of possible responses.
+ */
+const ResponseRow = ({ prompt, rows, setFeedback }) => {
+ const [response, setResponse] = React.useState("");
+
+ const form = css`
+ align-items: baseline;
+ display: flex;
+ justify-content: right;
+ margin-bottom: 0.5em;
+
+ @media (max-width: 600px) {
+ align-items: flex-start;
+ flex-direction: column;
+ }
+ `;
+
+ const input = css`
+ background: #fafafa;
+ border: 1px solid #aaa;
+ border-radius: 2px;
+ color: #121212;
+ font-family: inherit;
+ font-size: 100%;
+ line-height: 1.2;
+ margin: 0 0.5em;
+ padding: 0.25em 0.5em;
+
+ @media (max-width: 600px) {
+ margin: 0 0 0.25em;
+ }
+ `;
+
+ const onSubmit = (e) => {
+ e.preventDefault();
+ let set = false;
+ for (const row of rows) {
+ const correct = normalizeAnswer(row.answer) === normalizeAnswer(response);
+ if (correct) {
+ setFeedback(
+ row.intermediate?.trim() === "TRUE"
+ ? "Correct! See the solution page for the answer."
+ : `Solved! The answer was ${row.answer}.`
+ );
+ set = true;
+ break;
+ }
+ }
+ if (!set) {
+ setFeedback("Incorrect.");
+ }
+ };
+
+ const onChange = (e) => setResponse(e.target.value);
+
+ return html`
+
+ `;
+};
+
+/**
+ * Check answer button, rendered at top of page.
+ */
+const CheckButton = ({ prompts }) => {
+ const [open, setOpen] = React.useState(false);
+ const [feedback, setFeedback] = React.useState("Call in an answer.");
+
+ const wrapper = css`
+ font-family: "PT Sans", sans-serif;
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+
+ button {
+ background: #555;
+ border: none;
+ border-radius: 2px;
+ color: #fff;
+ cursor: pointer;
+ display: inline-block;
+ font-size: 1em;
+ font-family: "PT Sans", sans-serif;
+ font-weight: bold;
+ line-height: 1.2;
+ padding: 0.25em 1em;
+ text-align: center;
+ text-decoration: none;
+ text-transform: none;
+ }
+
+ p {
+ margin: 0 0 1em;
+ }
+
+ a {
+ color: inherit !important;
+ }
+ `;
+
+ const btnTop = [2015, 2016].includes(getYear())
+ ? "50px"
+ : [2012].includes(getYear())
+ ? "-2.5em"
+ : "0px";
+
+ const button = css`
+ box-sizing: border-box;
+ height: 2.5em;
+ left: 0;
+ position: absolute;
+ top: ${btnTop};
+ width: 100%;
+ z-index: 9999;
+ `;
+
+ const dropdownWrapper = css`
+ background: #edeff0;
+ color: #121212;
+ left: 0;
+ position: absolute;
+ right: 0;
+ top: calc(2.5em + ${btnTop});
+ z-index: 9999;
+ `;
+
+ const dropdown = css`
+ margin: 0 auto;
+ max-width: 40em;
+ padding: 1em;
+ z-index: 9999;
+ `;
+
+ const responses = css`
+ margin: 0 auto;
+ width: fit-content;
+
+ @media (max-width: 600px) {
+ width: auto;
+ }
+ `;
+
+ const onClick = () => setOpen(!open);
+
+ const body =
+ prompts.length > 0
+ ? prompts.map(
+ (group) =>
+ html`<${ResponseRow} setFeedback=${setFeedback} ...${group} />`
+ )
+ : html`
+ No answers found on this page. Please report this to${" "}
+ puzzle@mit.edu .
+
`;
+
+ return html`
+
+
+
+ Check your answers spoiler-free
+
+ ${open &&
+ html`
+
+
+
${feedback}
+
${body}
+
+
+ `}
+
+ `;
+};
+
+const data = await getData();
+const prompts = getAnswers(data, document.URL);
+render(html`<${CheckButton} prompts=${prompts} />`, container);
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_3_index.html/index.html b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_3_index.html/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..3b7eda49fb6a8400124c4560ae3b59825a653e06
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_3_index.html/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+Agoraphobia
+
+
+
+
+
+
+
+
+
+ Spookiness
+ Rating: 0
+
+
+
+
+ Agoraphobia
+ You are lost in the
+ crowd.
+
+ Gregory Swienton
+ Thomas Lewis
+ John Welch, Jr.
+ Jean-Pierre Tirouflet
+ Vincent Calarco
+ D. Lee McCreary, Jr.
+ Jean-Marie Messier
+ Jose Collazo
+ Ronald Turner
+ C. Michael Armstrong
+ Luis Limon
+ Hendrik Verfaillie
+
+
+
+
+
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_4_index.html/checkanswer.js b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_4_index.html/checkanswer.js
new file mode 100644
index 0000000000000000000000000000000000000000..cc5741feb1f623cca1b1cf7c57a0777a0c66117b
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_4_index.html/checkanswer.js
@@ -0,0 +1,281 @@
+// Do this first so that layout shift isn't too bad:
+const container = document.createElement("div");
+container.style = `
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+`;
+document.body.prepend(container);
+
+import { React, html, css, render } from "./package.js";
+
+/**
+ * Remove non-alphanumeric characters.
+ */
+const normalizeAnswer = (answer) => {
+ if (getYear() === 2003) {
+ if (document.URL.includes("teamGuest/2")) {
+ // Special case: 2003 R2, whose answers are emoji.
+ return answer.trim();
+ } else if (document.URL.includes("6_3")) {
+ // Special case: Answer is literal Greek letter.
+ return answer.trim();
+ }
+ }
+ return answer.toUpperCase().replaceAll(/[^A-Z0-9]/g, "");
+};
+
+/**
+ * Returns the year of the hunt we're in.
+ */
+const getYear = () => {
+ return Number(RegExp(`^.*/([0-9]{4})/.*$`).exec(document.URL)?.[1] ?? 0);
+};
+
+/**
+ * Fetches the answers as a list of {url, answer, prompt, intermediate}.
+ */
+const getData = async () => {
+ const res = await fetch("/answers.tsv");
+ const data = await res.text();
+ const [header, ...body] = data.split("\n");
+ const headers = header.trim().split("\t");
+ return body.map((row) => {
+ const res = {};
+ row.split("\t").forEach((item, i) => {
+ res[headers[i]] = item.trim();
+ });
+ return res;
+ });
+};
+
+/**
+ * Gets the base URL; removes trailing index.html and .html, removes everything
+ * before the year, and then removes trailing slash.
+ */
+const getBase = (url) => {
+ const root =
+ RegExp(`^(.*/)index.html`).exec(url)?.[1] ??
+ RegExp(`^(.*).html`).exec(url)?.[1] ??
+ url;
+ const base = RegExp(`^.*/([0-9]{4}/.*)$`).exec(root)?.[1] ?? root;
+ return base.endsWith("/") ? base.slice(0, -1) : base;
+};
+
+/**
+ * Get all rows in the data corresponding to a given URL. Group by same prompt.
+ */
+const getAnswers = (data, url) => {
+ const base = getBase(url);
+ const rows = data.filter((row) => getBase(row.url) === base);
+ const prompts = [];
+ for (const row of rows) {
+ const { prompt } = row;
+ const group = prompts.find((group) => group.prompt === prompt);
+ if (group) {
+ group.rows.push(row);
+ } else {
+ prompts.push({ prompt, rows: [row] });
+ }
+ }
+ return prompts;
+};
+
+/**
+ * A single textbox and submit button in the rows of possible responses.
+ */
+const ResponseRow = ({ prompt, rows, setFeedback }) => {
+ const [response, setResponse] = React.useState("");
+
+ const form = css`
+ align-items: baseline;
+ display: flex;
+ justify-content: right;
+ margin-bottom: 0.5em;
+
+ @media (max-width: 600px) {
+ align-items: flex-start;
+ flex-direction: column;
+ }
+ `;
+
+ const input = css`
+ background: #fafafa;
+ border: 1px solid #aaa;
+ border-radius: 2px;
+ color: #121212;
+ font-family: inherit;
+ font-size: 100%;
+ line-height: 1.2;
+ margin: 0 0.5em;
+ padding: 0.25em 0.5em;
+
+ @media (max-width: 600px) {
+ margin: 0 0 0.25em;
+ }
+ `;
+
+ const onSubmit = (e) => {
+ e.preventDefault();
+ let set = false;
+ for (const row of rows) {
+ const correct = normalizeAnswer(row.answer) === normalizeAnswer(response);
+ if (correct) {
+ setFeedback(
+ row.intermediate?.trim() === "TRUE"
+ ? "Correct! See the solution page for the answer."
+ : `Solved! The answer was ${row.answer}.`
+ );
+ set = true;
+ break;
+ }
+ }
+ if (!set) {
+ setFeedback("Incorrect.");
+ }
+ };
+
+ const onChange = (e) => setResponse(e.target.value);
+
+ return html`
+
+ `;
+};
+
+/**
+ * Check answer button, rendered at top of page.
+ */
+const CheckButton = ({ prompts }) => {
+ const [open, setOpen] = React.useState(false);
+ const [feedback, setFeedback] = React.useState("Call in an answer.");
+
+ const wrapper = css`
+ font-family: "PT Sans", sans-serif;
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+
+ button {
+ background: #555;
+ border: none;
+ border-radius: 2px;
+ color: #fff;
+ cursor: pointer;
+ display: inline-block;
+ font-size: 1em;
+ font-family: "PT Sans", sans-serif;
+ font-weight: bold;
+ line-height: 1.2;
+ padding: 0.25em 1em;
+ text-align: center;
+ text-decoration: none;
+ text-transform: none;
+ }
+
+ p {
+ margin: 0 0 1em;
+ }
+
+ a {
+ color: inherit !important;
+ }
+ `;
+
+ const btnTop = [2015, 2016].includes(getYear())
+ ? "50px"
+ : [2012].includes(getYear())
+ ? "-2.5em"
+ : "0px";
+
+ const button = css`
+ box-sizing: border-box;
+ height: 2.5em;
+ left: 0;
+ position: absolute;
+ top: ${btnTop};
+ width: 100%;
+ z-index: 9999;
+ `;
+
+ const dropdownWrapper = css`
+ background: #edeff0;
+ color: #121212;
+ left: 0;
+ position: absolute;
+ right: 0;
+ top: calc(2.5em + ${btnTop});
+ z-index: 9999;
+ `;
+
+ const dropdown = css`
+ margin: 0 auto;
+ max-width: 40em;
+ padding: 1em;
+ z-index: 9999;
+ `;
+
+ const responses = css`
+ margin: 0 auto;
+ width: fit-content;
+
+ @media (max-width: 600px) {
+ width: auto;
+ }
+ `;
+
+ const onClick = () => setOpen(!open);
+
+ const body =
+ prompts.length > 0
+ ? prompts.map(
+ (group) =>
+ html`<${ResponseRow} setFeedback=${setFeedback} ...${group} />`
+ )
+ : html`
+ No answers found on this page. Please report this to${" "}
+ puzzle@mit.edu .
+
`;
+
+ return html`
+
+
+
+ Check your answers spoiler-free
+
+ ${open &&
+ html`
+
+
+
${feedback}
+
${body}
+
+
+ `}
+
+ `;
+};
+
+const data = await getData();
+const prompts = getAnswers(data, document.URL);
+render(html`<${CheckButton} prompts=${prompts} />`, container);
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_4_index.html/index.html b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_4_index.html/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..55e6a92e8c1dd35bcbda7dba5537e7273f8126ad
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_4_index.html/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+Claustrophobia
+
+
+
+
+
+
+
+
+
+ Spookiness
+ Rating: 0
+
+
+
+
+ Claustrophobia
+
+
+ 14-3-8-3-14-0-10-22
+ 19-0-8-8-0-8 0-22 17-5-8-9-18 2-3-5-11-19
+ 23-25-15-5-16-3-8-7 22-8-0-6 9-19-3 16-3-3-17
+(THE) 11-8-5-14-10-23-25-12 3-18-3
+(THE) 19-3-10-10-11-5-9-7
+ 9-8-5-11-4 0-22 9-19-3 6-0-0-25 2-3-5-7-9
+ 15-23-4-23-25-12 14-0-6-3-25 5-25-16 9-19-3 7-3-5 7-3-8-17-3-25-9
+ 7-5-6-7-0-25 15-7 9-19-3 15-5-6-17-23-8-3 14-0-6-3-25
+ 3-3-12-5-19
+ 5-9-9-5-11-4 0-22 9-19-3 12-23-5-25-9 10-3-3-11-19-3-7
+ 7-5-25-9-5 11-10-5-1-7 11-0-25-20-1-3-8-7 9-19-3 6-5-8-9-23-5-25-7
+ 0-15-3-8-16-8-5-14-25 5-9 9-19-3 6-3-6-0-8-18 2-5-25-4
+ 25-23-12-19-9 0-22 9-19-3 2-10-0-0-16 2-3-5-7-9
+
+
+
+
+
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_5_index.html/checkanswer.js b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_5_index.html/checkanswer.js
new file mode 100644
index 0000000000000000000000000000000000000000..cc5741feb1f623cca1b1cf7c57a0777a0c66117b
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_5_index.html/checkanswer.js
@@ -0,0 +1,281 @@
+// Do this first so that layout shift isn't too bad:
+const container = document.createElement("div");
+container.style = `
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+`;
+document.body.prepend(container);
+
+import { React, html, css, render } from "./package.js";
+
+/**
+ * Remove non-alphanumeric characters.
+ */
+const normalizeAnswer = (answer) => {
+ if (getYear() === 2003) {
+ if (document.URL.includes("teamGuest/2")) {
+ // Special case: 2003 R2, whose answers are emoji.
+ return answer.trim();
+ } else if (document.URL.includes("6_3")) {
+ // Special case: Answer is literal Greek letter.
+ return answer.trim();
+ }
+ }
+ return answer.toUpperCase().replaceAll(/[^A-Z0-9]/g, "");
+};
+
+/**
+ * Returns the year of the hunt we're in.
+ */
+const getYear = () => {
+ return Number(RegExp(`^.*/([0-9]{4})/.*$`).exec(document.URL)?.[1] ?? 0);
+};
+
+/**
+ * Fetches the answers as a list of {url, answer, prompt, intermediate}.
+ */
+const getData = async () => {
+ const res = await fetch("/answers.tsv");
+ const data = await res.text();
+ const [header, ...body] = data.split("\n");
+ const headers = header.trim().split("\t");
+ return body.map((row) => {
+ const res = {};
+ row.split("\t").forEach((item, i) => {
+ res[headers[i]] = item.trim();
+ });
+ return res;
+ });
+};
+
+/**
+ * Gets the base URL; removes trailing index.html and .html, removes everything
+ * before the year, and then removes trailing slash.
+ */
+const getBase = (url) => {
+ const root =
+ RegExp(`^(.*/)index.html`).exec(url)?.[1] ??
+ RegExp(`^(.*).html`).exec(url)?.[1] ??
+ url;
+ const base = RegExp(`^.*/([0-9]{4}/.*)$`).exec(root)?.[1] ?? root;
+ return base.endsWith("/") ? base.slice(0, -1) : base;
+};
+
+/**
+ * Get all rows in the data corresponding to a given URL. Group by same prompt.
+ */
+const getAnswers = (data, url) => {
+ const base = getBase(url);
+ const rows = data.filter((row) => getBase(row.url) === base);
+ const prompts = [];
+ for (const row of rows) {
+ const { prompt } = row;
+ const group = prompts.find((group) => group.prompt === prompt);
+ if (group) {
+ group.rows.push(row);
+ } else {
+ prompts.push({ prompt, rows: [row] });
+ }
+ }
+ return prompts;
+};
+
+/**
+ * A single textbox and submit button in the rows of possible responses.
+ */
+const ResponseRow = ({ prompt, rows, setFeedback }) => {
+ const [response, setResponse] = React.useState("");
+
+ const form = css`
+ align-items: baseline;
+ display: flex;
+ justify-content: right;
+ margin-bottom: 0.5em;
+
+ @media (max-width: 600px) {
+ align-items: flex-start;
+ flex-direction: column;
+ }
+ `;
+
+ const input = css`
+ background: #fafafa;
+ border: 1px solid #aaa;
+ border-radius: 2px;
+ color: #121212;
+ font-family: inherit;
+ font-size: 100%;
+ line-height: 1.2;
+ margin: 0 0.5em;
+ padding: 0.25em 0.5em;
+
+ @media (max-width: 600px) {
+ margin: 0 0 0.25em;
+ }
+ `;
+
+ const onSubmit = (e) => {
+ e.preventDefault();
+ let set = false;
+ for (const row of rows) {
+ const correct = normalizeAnswer(row.answer) === normalizeAnswer(response);
+ if (correct) {
+ setFeedback(
+ row.intermediate?.trim() === "TRUE"
+ ? "Correct! See the solution page for the answer."
+ : `Solved! The answer was ${row.answer}.`
+ );
+ set = true;
+ break;
+ }
+ }
+ if (!set) {
+ setFeedback("Incorrect.");
+ }
+ };
+
+ const onChange = (e) => setResponse(e.target.value);
+
+ return html`
+
+ `;
+};
+
+/**
+ * Check answer button, rendered at top of page.
+ */
+const CheckButton = ({ prompts }) => {
+ const [open, setOpen] = React.useState(false);
+ const [feedback, setFeedback] = React.useState("Call in an answer.");
+
+ const wrapper = css`
+ font-family: "PT Sans", sans-serif;
+ font-size: 16px;
+ font-size: clamp(16px, 2.4vw, 21px);
+ height: 2.5em;
+
+ button {
+ background: #555;
+ border: none;
+ border-radius: 2px;
+ color: #fff;
+ cursor: pointer;
+ display: inline-block;
+ font-size: 1em;
+ font-family: "PT Sans", sans-serif;
+ font-weight: bold;
+ line-height: 1.2;
+ padding: 0.25em 1em;
+ text-align: center;
+ text-decoration: none;
+ text-transform: none;
+ }
+
+ p {
+ margin: 0 0 1em;
+ }
+
+ a {
+ color: inherit !important;
+ }
+ `;
+
+ const btnTop = [2015, 2016].includes(getYear())
+ ? "50px"
+ : [2012].includes(getYear())
+ ? "-2.5em"
+ : "0px";
+
+ const button = css`
+ box-sizing: border-box;
+ height: 2.5em;
+ left: 0;
+ position: absolute;
+ top: ${btnTop};
+ width: 100%;
+ z-index: 9999;
+ `;
+
+ const dropdownWrapper = css`
+ background: #edeff0;
+ color: #121212;
+ left: 0;
+ position: absolute;
+ right: 0;
+ top: calc(2.5em + ${btnTop});
+ z-index: 9999;
+ `;
+
+ const dropdown = css`
+ margin: 0 auto;
+ max-width: 40em;
+ padding: 1em;
+ z-index: 9999;
+ `;
+
+ const responses = css`
+ margin: 0 auto;
+ width: fit-content;
+
+ @media (max-width: 600px) {
+ width: auto;
+ }
+ `;
+
+ const onClick = () => setOpen(!open);
+
+ const body =
+ prompts.length > 0
+ ? prompts.map(
+ (group) =>
+ html`<${ResponseRow} setFeedback=${setFeedback} ...${group} />`
+ )
+ : html`
+ No answers found on this page. Please report this to${" "}
+ puzzle@mit.edu .
+
`;
+
+ return html`
+
+
+
+ Check your answers spoiler-free
+
+ ${open &&
+ html`
+
+
+
${feedback}
+
${body}
+
+
+ `}
+
+ `;
+};
+
+const data = await getData();
+const prompts = getAnswers(data, document.URL);
+render(html`<${CheckButton} prompts=${prompts} />`, container);
diff --git a/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_5_index.html/index.html b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_5_index.html/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..7cd3a7e86b097233f4eabaa0ff64ba088eff3911
--- /dev/null
+++ b/benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2001/2001_phase3_5_index.html/index.html
@@ -0,0 +1,1071 @@
+
+
+
+
+
+Helminthophobia
+
+
+
+
+
+
+
+
+ Spookiness
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stoner?
+
7
+ Rats on a rampage!
+ A killing spree is wrought by
+ Ben and Socrates.
+
8
+ Avian menace!
+ Hide in the telephone booth...
+ Flap, flap, flap, flap, WHAM!
+
8
+ Filthy, vile roaches:
+ Dean Stockwell combats them,
+ How can they be stopped?
+
9
+ Ants: insignificant?
+ Careful, little grasshopper,
+ Fear their cartoon wrath.
+
9
+ Oh no! More roaches!
+ Watch them torment E.G. Marshall
+ A la Stephen King
+
10
+ Giant bug from space
+ Wearing a human-skin suit--
+ This is comedy?
+
12
+ Creepy tiny mouse
+ Kissed by the lips of Tom Green?
+ No, Geena Davis.
+
13
+ Enormous Spiders
+ Scare Jeff Daniels--viewers reach
+ For dictionaries.
+
13
+ Homicide by swarm,
+ Suzanna Leigh, hearts aflame,
+ Plus most of the set.
+
13
+ Yet more cockroaches
+ befriend Jerry O'Connell.
+ Yes, MTV sucks.
+
13
+ Slimy Slitherers
+ Are dinner from the Red Tide...
+ Herman Umgar gloats.
+
14
+ Winged rat and bird,
+ Schwarzenegger and Thurman,
+ Duke it out for dough.
+
14
+ Diseased talking rats
+ Perched atop a garbage can
+ Mock Eddie Murphy.
+
15
+ Not just garden pests,
+ They're huge alien slimers.
+ Someone get some salt.
+
15
+ Untamed mole-like things
+ Are enlarged by Radford Baines.
+ So who wants coffee?
+
15
+ Mice, rats, vermin all!
+ Move a home, avoid the plow...
+ Would've served 'em right.
+
17
+ Giant grasshoppers!
+ Vast peril to Chicago!
+ Call in Peter Graves!
+
17
+ Huge Amazon bugs,
+ It's Ed Begley's greatest role
+ And that's a damn shame.
+
19
+ Aaaauuughhh! Tarantulas!
+ They cannot withstand acting
+ by William Shatner.
+
22
+ More huge arachnids
+ From space attack. Is this hell?
+ Nah, it's Wisconsin.
+
24
+ What, giant ameobas?
+ Dick Pinner, Wyott Ordung?
+ What is this, a joke?
+
26
+ Deadly viruses
+ Foiled by the sole attempt
+ Of George Lazenby.
+
30
+ Countless giant bugs
+ Latching onto Kate Capshaw.
+ Will Short Round be gored?
+
38
+ Piranha Women?
+ Politically Incorrect...
+ That's it, I'm leaving!
+
+
+
+
+
+
+
diff --git a/benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/Artifacts/5c/5c84adc5b7cfc97cce821d51d831e6d4 b/benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/Artifacts/5c/5c84adc5b7cfc97cce821d51d831e6d4
new file mode 100644
index 0000000000000000000000000000000000000000..b6f72349a4d22115e6d37495df6483e12bd45d2f
Binary files /dev/null and b/benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/Artifacts/5c/5c84adc5b7cfc97cce821d51d831e6d4 differ
diff --git a/benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/Artifacts/5c/5c89d3fd2346cce4dae0c42269b3202a b/benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/Artifacts/5c/5c89d3fd2346cce4dae0c42269b3202a
new file mode 100644
index 0000000000000000000000000000000000000000..eb4a7c7d7a2c54021c9652c7c290c637a8ca84ca
Binary files /dev/null and b/benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/Artifacts/5c/5c89d3fd2346cce4dae0c42269b3202a differ
diff --git a/benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.2d.animation@5.0.4/Editor/Assets/SkinningModule/Icons/Selected/Bone_Influence@3x.png b/benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.2d.animation@5.0.4/Editor/Assets/SkinningModule/Icons/Selected/Bone_Influence@3x.png
new file mode 100644
index 0000000000000000000000000000000000000000..18b509e08305eab94c9fc260d8f858f21f9aaf95
--- /dev/null
+++ b/benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.2d.animation@5.0.4/Editor/Assets/SkinningModule/Icons/Selected/Bone_Influence@3x.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0bf22611efc817412db3012e4ac816428e5a1b324d0c8fcbe8c75c0dadaa7fd3
+size 1853