diff --git a/.gitattributes b/.gitattributes
index 35bcc7da357e6900f40fdf73943b33c57a51fb13..97b572c2baeb3438546fd4e2878eddfe987df75f 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -59,3 +59,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.mp4 filter=lfs diff=lfs merge=lfs -text
*.webm filter=lfs diff=lfs merge=lfs -text
data/rs/items.jsonl filter=lfs diff=lfs merge=lfs -text
+data/rs/prompts.jsonl filter=lfs diff=lfs merge=lfs -text
diff --git a/data/rs/probes.jsonl b/data/rs/probes.jsonl
new file mode 100644
index 0000000000000000000000000000000000000000..7ed8fca321e2fce4c9ed86380524170c3c1ccb81
--- /dev/null
+++ b/data/rs/probes.jsonl
@@ -0,0 +1,200 @@
+{"instance_id":"adamchainz_treepoem_pr437","normalized_spec_sha256":"54b6d117d97099c31ea21c41fc1b069537a15e5e7e98635376846f53d6a6b40b","probe":"probes/adamchainz_treepoem_pr437.json","sha256":"b85b788c72fa6bed7cba3cd20d22620cd17c0f89b1a5b446f48d2c99946f87d6"}
+{"instance_id":"adamchainz_treepoem_pr587","normalized_spec_sha256":"47e70445568cc9c86356b4899570ba6b32ab86d5f983d1fc4055f402fe354ae9","probe":"probes/adamchainz_treepoem_pr587.json","sha256":"f34bfcbee0108ab5f7835233a6a4766f913b2673100f74dd16b34352f2311d09"}
+{"instance_id":"altair-viz__altair-3068","normalized_spec_sha256":"821f17ee4bfdb3808814776173baa7afd820e3fb2105fba1ad1ca613e4f3bed4","probe":"probes/altair-viz__altair-3068.json","sha256":"0a7ba72b59e583432497304c5864a4da494a55bae80342b88e34b0d360b73702"}
+{"instance_id":"bids-standard_pybids_pr463","normalized_spec_sha256":"973556ab1d959a71f74b86e769d33dfec86bb286ac87124fe79faec0f0fbc4f3","probe":"probes/bids-standard_pybids_pr463.json","sha256":"1e35787112c60c010833e6d65c64afa37ff499c793ef05b40d170192b992bd48"}
+{"instance_id":"bids-standard_pybids_pr607","normalized_spec_sha256":"d7813d17b0e7065593b9e87591dce0eef6de76db2c229d42b0330c259ff3b1fb","probe":"probes/bids-standard_pybids_pr607.json","sha256":"d984ac71fbf1af4b729af1084f99b9b8c6b6a950942dc9dadc058e5d68f41a84"}
+{"instance_id":"buriy_python-readability_pr190","normalized_spec_sha256":"8a87ab7ddb2107a3692217cc0726ab6b23a56b9a7770935559d0fd489680a85b","probe":"probes/buriy_python-readability_pr190.json","sha256":"90f6ed5cfaa9970373b4adca9a60381ab1668b8dd4fa7e697aead4616bca3581"}
+{"instance_id":"cloud-custodian_cel-python_pr130","normalized_spec_sha256":"a8edd84a1a77a4b5cbdb6486c1f9794194ebf329c1fb7c69844d8261ce764ee7","probe":"probes/cloud-custodian_cel-python_pr130.json","sha256":"04c2914efd68ab78c5327ec5e27926f1a6d3fab7c7133fb58c4f46663225ec9d"}
+{"instance_id":"cobrateam_django-htmlmin_pr150","normalized_spec_sha256":"ca0021008179ed923ed150c24dadf1ea0be33e35a9d60fb34644c402f8f57668","probe":"probes/cobrateam_django-htmlmin_pr150.json","sha256":"48551f579325d5bcec75ddf0306d40e546baaf86411c6db34324ef5f8f40fa80"}
+{"instance_id":"coveragepy_coveragepy_pr1608","normalized_spec_sha256":"c55d6e33bbccf14fe43b4eeb004293d8b850f7506bb408a1ad2035bf97578a1a","probe":"probes/coveragepy_coveragepy_pr1608.json","sha256":"1547f05c4c6138aafe109261cdf51f53815dede80511db672545864de337e064"}
+{"instance_id":"googleapis_proto-plus-python_pr336","normalized_spec_sha256":"a7d48446775c61fd950278f3bb4794e436429c67894c15e31af4eaa1b4b5dd09","probe":"probes/googleapis_proto-plus-python_pr336.json","sha256":"5e7c846c2454b8fd063cd10c8c005b3d0c50fc4a50948507eab85f13608acf1d"}
+{"instance_id":"goose3_goose3_pr119","normalized_spec_sha256":"8371a45b97ff278c6720b5bdc5fe7ec8896e600db5baedcb9404d2eb90afaced","probe":"probes/goose3_goose3_pr119.json","sha256":"bc80a6f7358cb16c52d6208ae8dd3d96ed141b4515c52183bfe829f858eedce0"}
+{"instance_id":"hacker0x01__react-datepicker-4394","normalized_spec_sha256":"44600f8637bca4059ded284c146c12b95a6d5c307cc3e69fef7602f070a9fc24","probe":"probes/hacker0x01__react-datepicker-4394.json","sha256":"95300685665351637b232497febc4ced56a4f5fe156399d07d01bad1c53d1057"}
+{"instance_id":"hacker0x01__react-datepicker-4457","normalized_spec_sha256":"df1c4c826fc4640b48839d9105e4b11f699268ecf880b73801710590693f6e20","probe":"probes/hacker0x01__react-datepicker-4457.json","sha256":"436f655b44f7dd327597e6a037ad2761aad79ec9cf31ec4e71adf4278bc0c10e"}
+{"instance_id":"hacker0x01__react-datepicker-4601","normalized_spec_sha256":"eaedcbc4db2a96d48a38b6140693fb0aa6ffb3a6fc3d5c3fdaaa5a0361ea59df","probe":"probes/hacker0x01__react-datepicker-4601.json","sha256":"add91eadd8410606f20497d6a24cec28e95fca6c50d448616e9dd66f95432b0b"}
+{"instance_id":"hacker0x01__react-datepicker-4609","normalized_spec_sha256":"3be84f1930bc2418285309c86074256d2c3c39ca10596de1b416930741cd1e34","probe":"probes/hacker0x01__react-datepicker-4609.json","sha256":"e514aa46fff63b87457ad1007faafd6d32c15de56416718698a8c3ce6d959970"}
+{"instance_id":"hacker0x01__react-datepicker-4610","normalized_spec_sha256":"64a65060bb1c1a608728a390ed4af8bc585637fb592a686b41134fc6f33540cc","probe":"probes/hacker0x01__react-datepicker-4610.json","sha256":"d205db0f573810b8ef83b06b73b9a11489617424379960a7f99fe8b97b641d2b"}
+{"instance_id":"hacker0x01__react-datepicker-4634","normalized_spec_sha256":"fcc765efbad6eebba89326aae2361457841af0d40f8ec0b2a07e6e48fa43fc1a","probe":"probes/hacker0x01__react-datepicker-4634.json","sha256":"a82583eda0aadd5ed3380e0982531f6444bf40892d65912a31751ac32ec8e93c"}
+{"instance_id":"hacker0x01__react-datepicker-4643","normalized_spec_sha256":"d6c1b037b73aa72441e0b2ab0c6b02d58e71146367f1ef401e920e3e2c040d56","probe":"probes/hacker0x01__react-datepicker-4643.json","sha256":"5cfde48002fd78f87bbf22773a3790c80ae7e1b06154e8b80024fa4fa82848d9"}
+{"instance_id":"hacker0x01__react-datepicker-4652","normalized_spec_sha256":"d8be8df6a70b7ffd9f2d8fdad482e5e4b0cbc28c4c49c8c87e2d5024dd376561","probe":"probes/hacker0x01__react-datepicker-4652.json","sha256":"ca9c17f3943acb4d13ab2850770cbc9e27f5930adc63981a49a3a7f2ea66c365"}
+{"instance_id":"hacker0x01__react-datepicker-4848","normalized_spec_sha256":"6ba8e52dbee45c3f46e2a573b12be88a3dbdbfd93fc36b2ebd052a50db6d28b7","probe":"probes/hacker0x01__react-datepicker-4848.json","sha256":"afb87be23825cdad37bcef9b6e24e35aa83355502a5d424e6312217e0c9ebcc6"}
+{"instance_id":"hacker0x01__react-datepicker-4903","normalized_spec_sha256":"49d500cd8d8782c0c902c0c71a2c52b96d8fc0fef2218a3046bdf10e6db1f68f","probe":"probes/hacker0x01__react-datepicker-4903.json","sha256":"a0a4bf01b54c02a1a17f09a485f50418661356afc8435af9c5d1fcd1f40adea0"}
+{"instance_id":"hacker0x01__react-datepicker-5088","normalized_spec_sha256":"ef7d6adecc03c926febca517e5f8ea414d3dd059536e3cfbd79250da272e405b","probe":"probes/hacker0x01__react-datepicker-5088.json","sha256":"71009b3f59526da11d5008f680c8b8513c1bbf1c8a9efdaff7ab75f18e304e07"}
+{"instance_id":"hacker0x01__react-datepicker-5503","normalized_spec_sha256":"1da8ee59af26568368d93478aa30fa2ad9fdd5b19968f058d44a5f9c8a293cb5","probe":"probes/hacker0x01__react-datepicker-5503.json","sha256":"2b2367dd7259f44e1d0925b683e70a44e9a6e63c0eed81c7b2f0d33100281779"}
+{"instance_id":"hacker0x01__react-datepicker-5524","normalized_spec_sha256":"c5dabc58b71e82a41df57750f9413158009ad555d69c433e371c8a740d0a2a77","probe":"probes/hacker0x01__react-datepicker-5524.json","sha256":"342167c9ef90837fec434a06bdb4f369fe603cd32d8ea66b7855d46607a7796e"}
+{"instance_id":"hacker0x01__react-datepicker-5584","normalized_spec_sha256":"c158800cb35244ca173694a3fea361784a3b62c8ff123e8bae93d7545298cd3b","probe":"probes/hacker0x01__react-datepicker-5584.json","sha256":"cd4ecc533f4ad7ee8785251548d749e32df73861d8e4262a96583e5cbecfebd2"}
+{"instance_id":"iterative__dvc-9212","normalized_spec_sha256":"2d72bd0c968c157c0a52f7043beea3eb55067c85856fbc439ace93bc23c67d33","probe":"probes/iterative__dvc-9212.json","sha256":"9467721751e5e610447a34f8f7ae2ba478410fe57238c3edc7687a66a7a9ea13"}
+{"instance_id":"jackdewinter_pymarkdown_pr1050","normalized_spec_sha256":"6965c072ae8da1dc53b096d3daed268cdf142d862f6c87fee888151ac0c02d2d","probe":"probes/jackdewinter_pymarkdown_pr1050.json","sha256":"faae348a111520fe6d78210c412429ad42934df45e6c1a144ddc82d0b575eb88"}
+{"instance_id":"jackdewinter_pymarkdown_pr1094","normalized_spec_sha256":"dd997f4093a213b536ddadfc9ad39297dc07a8967d8f39cdd693e45d19c36d9a","probe":"probes/jackdewinter_pymarkdown_pr1094.json","sha256":"9eb1e0fd8026e5712df720dfbc9143acabe6e44f50f4c49070d5780b35f97707"}
+{"instance_id":"jackdewinter_pymarkdown_pr1100","normalized_spec_sha256":"51b1853295d1890b285f1b120b434fece96ddb9587e9d25ec131476e758599a4","probe":"probes/jackdewinter_pymarkdown_pr1100.json","sha256":"268f02fef08b6759c2fa18d1c8f7c193b421af838fa3f00e59667769634fc4e4"}
+{"instance_id":"jackdewinter_pymarkdown_pr1105","normalized_spec_sha256":"05b49eed18457beb7ec780a4b7d32142d11cc692b3f3e3d5b190d1e130635f1b","probe":"probes/jackdewinter_pymarkdown_pr1105.json","sha256":"ac1583062aeaaa5866b050d15cd6a1031c5d6318702ae32ac85fd28b97711385"}
+{"instance_id":"jackdewinter_pymarkdown_pr1128","normalized_spec_sha256":"aca00ab14d104fe1306bac49cd80d968da6900ad20d4062663abaec058794764","probe":"probes/jackdewinter_pymarkdown_pr1128.json","sha256":"87ea7840a5fc598a65b7d4948d976e689be2c45e9d04f0fdca3ca6765853c75a"}
+{"instance_id":"jackdewinter_pymarkdown_pr1129","normalized_spec_sha256":"34f3629b13d8448fa96a05ba088bbac66b7c50cb7fcef025c7268aab8caf4d83","probe":"probes/jackdewinter_pymarkdown_pr1129.json","sha256":"bd777ebd0b8c4b0f7205ed3cdac33c2b56ea5e605c7d5a8cb7ce46e81e0cdc6a"}
+{"instance_id":"jackdewinter_pymarkdown_pr1136","normalized_spec_sha256":"ebcbfc55c1feaac6efffe49be960063990bd51981ecd5ed2657311addf12d102","probe":"probes/jackdewinter_pymarkdown_pr1136.json","sha256":"927600aa606c4da358ba7821bdc30667c0922b0ea76a07fca151e6814e2f1b23"}
+{"instance_id":"jackdewinter_pymarkdown_pr1195","normalized_spec_sha256":"ab383eb4a93c78c31bfb6f92a4d69db0e8cdf1a70064fad34013bf32aa021040","probe":"probes/jackdewinter_pymarkdown_pr1195.json","sha256":"5cfb3ef616df8570400de1db261214bd93f53967974c080009910c6d900d1677"}
+{"instance_id":"jackdewinter_pymarkdown_pr1251","normalized_spec_sha256":"8544a5de649583f995113c92ea4992db74f4268c2eebe5e7261430c5492c995f","probe":"probes/jackdewinter_pymarkdown_pr1251.json","sha256":"443f5f694cf8bf2e0101fcb42a3ea548ff84788e5386d12babd4d10c008f5c45"}
+{"instance_id":"jackdewinter_pymarkdown_pr1408","normalized_spec_sha256":"c7b665167decb2ea84500ed1bea1366c2fd743df5ad2b41670f0aa2814f64a10","probe":"probes/jackdewinter_pymarkdown_pr1408.json","sha256":"1a1099801f1cf148aaa9b27ce08f08907fffdeb6057498a503711e41bd72012c"}
+{"instance_id":"jackdewinter_pymarkdown_pr1457","normalized_spec_sha256":"f0d361227729e2827cfac832a3c550ab51ad35bd850c2a687fa8c767d678527d","probe":"probes/jackdewinter_pymarkdown_pr1457.json","sha256":"5d91b4a91e79dc6c1c4b37144cfcece3912dabe9fd8eb09f9e0cee2812d7e68b"}
+{"instance_id":"jackdewinter_pymarkdown_pr1465","normalized_spec_sha256":"772d2b0171627236c13e4eef4dd37bddcc222ae47afecb92c2ba6cf384c88493","probe":"probes/jackdewinter_pymarkdown_pr1465.json","sha256":"79d1a14e6ca2688116d953ff45a3d7507eb2d1b204afd9ec40c1243d8140c5fe"}
+{"instance_id":"jackdewinter_pymarkdown_pr1483","normalized_spec_sha256":"348d2d42a92e22f7b507e0e0cb977624bdf8d9b84f34c75953d03fd1a28ce0c1","probe":"probes/jackdewinter_pymarkdown_pr1483.json","sha256":"13c353d845d46aa2ccf535fb78bb02cc8af0ff9ade634e01ddea277353502eea"}
+{"instance_id":"jackdewinter_pymarkdown_pr274","normalized_spec_sha256":"c92ac834aab8bdc48ba7d4e20d0417a2fc5d406fe48654170138d2b8584d7b2d","probe":"probes/jackdewinter_pymarkdown_pr274.json","sha256":"67a3d245f906913e1f83f8dc7bc212afb42e0adeb396bec471acca210d78067c"}
+{"instance_id":"jackdewinter_pymarkdown_pr291","normalized_spec_sha256":"12a112cee4f60aa3f67d3a55041ab7ade4f07d1634b88b2d593f08b2868520fd","probe":"probes/jackdewinter_pymarkdown_pr291.json","sha256":"6799ee29066bf00593379832be08430f5b6df69be6a389d34d30c1d38942e728"}
+{"instance_id":"jackdewinter_pymarkdown_pr433","normalized_spec_sha256":"9367ebb79caa7921dae61f38f09f5f890f6a9b3abb4ed858cc8b27f966aa520f","probe":"probes/jackdewinter_pymarkdown_pr433.json","sha256":"ac27a2b0a7ac8d3a5edb7f857aa546d4b09e8debe5f037a8b3dc87405d2e29b0"}
+{"instance_id":"jackdewinter_pymarkdown_pr462","normalized_spec_sha256":"0432878415919d486bfcef3d0e5bea99e265e252e078dc577cd0b71972d1c3b7","probe":"probes/jackdewinter_pymarkdown_pr462.json","sha256":"eb7168c907413f93f4e8bccf1fdb328e9d568fd8ac05f58454b7d173af6aa215"}
+{"instance_id":"jackdewinter_pymarkdown_pr466","normalized_spec_sha256":"c96d4db8c05eae1887e41d6fc6cf954602eff6f74d81602a363588bb212e1cc3","probe":"probes/jackdewinter_pymarkdown_pr466.json","sha256":"18af2382bdea04e240a1aa42079a2c0a3d2cccdd5509a4e66b443848508906d9"}
+{"instance_id":"jackdewinter_pymarkdown_pr472","normalized_spec_sha256":"e3660d26a89fded492af7773ab959ee614962a5b9a4201e77d35c1e458f78465","probe":"probes/jackdewinter_pymarkdown_pr472.json","sha256":"3683087a2548291b0cba983ae607209587dbb30f1430635dd4a115eeeb995092"}
+{"instance_id":"jackdewinter_pymarkdown_pr481","normalized_spec_sha256":"a41229b4b9fbcadc4d1c92739156098fe1d42424d11ee8a9023b09820d32ccad","probe":"probes/jackdewinter_pymarkdown_pr481.json","sha256":"ed8d22ca79375af050d9689389066baf2b673dfd465b9f3771e04c9f45708151"}
+{"instance_id":"jackdewinter_pymarkdown_pr487","normalized_spec_sha256":"593e8d41e832e09d71090381053c9a5f2612a1e3c74477c0b4351324b6732cb5","probe":"probes/jackdewinter_pymarkdown_pr487.json","sha256":"3ea97a8bfc3c64708ab960f9f27cc6b90696ad3965ac6269804355fe405635e6"}
+{"instance_id":"jackdewinter_pymarkdown_pr508","normalized_spec_sha256":"8da0400787f2fc96cc93f2129b2050caafafca5caf636e50f1cc6c44ba215ad7","probe":"probes/jackdewinter_pymarkdown_pr508.json","sha256":"ea10decac3642590dfcf4beb274abbbb2938d970039ad0cd44ab5cb20ad6c5de"}
+{"instance_id":"jackdewinter_pymarkdown_pr511","normalized_spec_sha256":"7874f3b6ad54a7504cc96e7a42f223d9226064cb57c4fccd52498daf26fe2b8a","probe":"probes/jackdewinter_pymarkdown_pr511.json","sha256":"0a2351e27e41022b9bd478b98e3d88e91e54a996feb0f2f57f4c4f935342f70e"}
+{"instance_id":"jackdewinter_pymarkdown_pr515","normalized_spec_sha256":"c414bdea70950774b8f2d9879cd826c8bc12c7c4c4f1267d13266811ca263fb6","probe":"probes/jackdewinter_pymarkdown_pr515.json","sha256":"2ecccd10f86cadfc7da361fef57f0eb4ad0601fc6fd27eec65ebb04914cce735"}
+{"instance_id":"jackdewinter_pymarkdown_pr518","normalized_spec_sha256":"401c7931013a9cb60edf3c98b6863d13670c8e613814638f364c83214880000a","probe":"probes/jackdewinter_pymarkdown_pr518.json","sha256":"96418495a82e4b2c5910bb050da7cd8bc2a0078b406b1e69bf2226683bfaf3b2"}
+{"instance_id":"jackdewinter_pymarkdown_pr528","normalized_spec_sha256":"b97ed1b875ac37f5b8363614fd620882ac11aea704f85bde7052e59477021d6f","probe":"probes/jackdewinter_pymarkdown_pr528.json","sha256":"98569b5e5677e5b7c20a05585d33b93ff389d0ae98bd7c76ca3aa1ab8367ed6f"}
+{"instance_id":"jackdewinter_pymarkdown_pr533","normalized_spec_sha256":"1725993f16f16b79368d9300cbb4e05048f562963db466befec1f313b505911c","probe":"probes/jackdewinter_pymarkdown_pr533.json","sha256":"d526ea3a397fe9d1280def55f854e1188a6c168c2dbcfd08e674fa7fc552bfdb"}
+{"instance_id":"jackdewinter_pymarkdown_pr559","normalized_spec_sha256":"96aab68ef6e876f634a6b65e8e61abfed538287d4ba0213d9eb90823d6811e77","probe":"probes/jackdewinter_pymarkdown_pr559.json","sha256":"74f498558ccc000e9d72b782ba644cc44374982e6d7c5f17d29010bd03d00dc3"}
+{"instance_id":"jackdewinter_pymarkdown_pr619","normalized_spec_sha256":"33b90d1f89729eabebc10d2402fd58736ca2a4cac459cac36616718b35e54f41","probe":"probes/jackdewinter_pymarkdown_pr619.json","sha256":"6d4be82ee4f090206cc2e057fa3e62ebbf7030c7e2e9365075e76db64de7b5e1"}
+{"instance_id":"jackdewinter_pymarkdown_pr621","normalized_spec_sha256":"b2a44affb110e822292d8a162e4ecbad8d37ed0fafe2d453419f0ea1e859b20c","probe":"probes/jackdewinter_pymarkdown_pr621.json","sha256":"0da09486d6096efdd9c8c324764a7d28f3bf1c0c096f87a9f61921930c45ee12"}
+{"instance_id":"jackdewinter_pymarkdown_pr624","normalized_spec_sha256":"3e55c2d5784728510e7e64547f303bc357585ee47b570ebe08163a265eaccc09","probe":"probes/jackdewinter_pymarkdown_pr624.json","sha256":"1dad64cbde48c5421698fb5c00a2c3d6f477fc286cb61c8f0bbc3e9878b9a402"}
+{"instance_id":"jackdewinter_pymarkdown_pr636","normalized_spec_sha256":"e6f072d05baadaf908625c522fa72abd2113d223101ff7a83560aabc5c152631","probe":"probes/jackdewinter_pymarkdown_pr636.json","sha256":"d5f1a201bcb1c0b47d7efcf6cd5805ce7727286b71a5b8532815dd5c6354ce75"}
+{"instance_id":"jackdewinter_pymarkdown_pr645","normalized_spec_sha256":"0517fe134820e6f55eac32f3acfe9c4912c44c121b8b272388981fcd3a33adab","probe":"probes/jackdewinter_pymarkdown_pr645.json","sha256":"24624302bac6147cf1885f8b0d4fd91c0e4cfcfce72f792ee7045a3b3c59ea36"}
+{"instance_id":"jackdewinter_pymarkdown_pr853","normalized_spec_sha256":"fb3c32e667d74ea19d659c2137cac2f2fdbe9cb4e63b84747a6d4aaed9133a70","probe":"probes/jackdewinter_pymarkdown_pr853.json","sha256":"5dba4b53a9efe3524698acec26ce2036a6e19784651a3fc87a8712e6ed187e42"}
+{"instance_id":"jackdewinter_pymarkdown_pr862","normalized_spec_sha256":"de8aebf3b9d5d53fe0d555fdea676c2609e5f347eb739e4fc9dde752abda7dba","probe":"probes/jackdewinter_pymarkdown_pr862.json","sha256":"a7f330bd3bd047922b01c4915e67b214f0c231e05a97c16e6be86c3115dbed55"}
+{"instance_id":"jackdewinter_pymarkdown_pr884","normalized_spec_sha256":"a368508e73f2e8ffe12765543db3a1120601d9380344c81a2c36268f774bf1aa","probe":"probes/jackdewinter_pymarkdown_pr884.json","sha256":"ceeb4ed8e6a116cad89831515e933293ad61e8a0dcb7b85c4a6708b6b8dc5c5b"}
+{"instance_id":"jackdewinter_pymarkdown_pr890","normalized_spec_sha256":"621cc247c5ef53036d2797b282c4c396396671cfaef32c754c8e9071632b35d2","probe":"probes/jackdewinter_pymarkdown_pr890.json","sha256":"fb59ff6151ab76bcf14859ccb68c727ed4abe479b7ae7bbedc26544521bbfa33"}
+{"instance_id":"jackdewinter_pymarkdown_pr900","normalized_spec_sha256":"2ff37e73b1350e383773315900337d809e862035c5d6bf71ae68f6c1616c5ee9","probe":"probes/jackdewinter_pymarkdown_pr900.json","sha256":"72ee4268a8b294cdc351d05d0c00942d2dcfabfd58d39c57784574e3366765f6"}
+{"instance_id":"jackdewinter_pymarkdown_pr903","normalized_spec_sha256":"15412024c7ea359def8d5de1bf07ddc1f646eb1fc6edf5f800958c7e3a426a90","probe":"probes/jackdewinter_pymarkdown_pr903.json","sha256":"630a450d0ed5b6872bebeb7bc1f292fe3400d04257ed7e0e5e41f919f15b52dd"}
+{"instance_id":"jonathf_numpoly_pr21","normalized_spec_sha256":"7cb4c5376c7647dd8086376c460f29842463171e0a7abcc853d6d984b3c8a674","probe":"probes/jonathf_numpoly_pr21.json","sha256":"db67fed07d5d3fef9652618e9a2d80b69a2e667614e3e4aa5c84370dc41a67b8"}
+{"instance_id":"katex__katex-1814","normalized_spec_sha256":"af22b32e3ab027f5252a9326c43e83fd10a19ffaf057e286d3a28d603f8ce032","probe":"probes/katex__katex-1814.json","sha256":"6631c9b08ebb6afcff2050d8cbb27577f2b6d4b298742cc19e8c4787d16e9eab"}
+{"instance_id":"katex__katex-1841","normalized_spec_sha256":"eef666604ddcd1d9170f93647b085cc19ae134bb4bf05a4cba15dae3dbc75c0f","probe":"probes/katex__katex-1841.json","sha256":"f3bd063b1d5424e2db83c3ed42e8edca65515641f596fd1497717ddbce0e4b18"}
+{"instance_id":"katex__katex-2116","normalized_spec_sha256":"e23cdefb276c41c0c8887a02a0f3717054c2e36a3e0296cd17b583c6162983a1","probe":"probes/katex__katex-2116.json","sha256":"a4ea1e1dfeec34c2fc49dcecae03213ceb89e8202bd3c31d10238bc93c90124c"}
+{"instance_id":"katex__katex-2118","normalized_spec_sha256":"cb369cba748bd621aaf277b00807952ef397cdcbd0a09ab9f465ed7717645f71","probe":"probes/katex__katex-2118.json","sha256":"5d035a418cf1d958a34f579655577c5eb0aa2a14d5e840b75d65b5b3a256fd15"}
+{"instance_id":"katex__katex-2220","normalized_spec_sha256":"aa2fc346bfc7e0c0e3ebfee13abb6a308d62d01f768621fe8cfc33bcc46ec82a","probe":"probes/katex__katex-2220.json","sha256":"9f0163b24eec44ea7f878dc642b19c0534231f61f61b4fa58e4d3a6d22d653da"}
+{"instance_id":"katex__katex-2618","normalized_spec_sha256":"667d3580b21ce7205e87eddfafd87192c039fb8f8f638898344b0dff1c4f222c","probe":"probes/katex__katex-2618.json","sha256":"45726fb46bccccf52aa5d7ced15eecbc084c063760ef6cf6dda253d2e26932e5"}
+{"instance_id":"katex__katex-2679","normalized_spec_sha256":"0dc452f3f4e6ba3bfa129cc23f9543328d95c63679529c07666a4f4b57762087","probe":"probes/katex__katex-2679.json","sha256":"53c682855ffa85325acea84ab46837cc3895968b7a95b6ed18f311e0f72a9952"}
+{"instance_id":"katex__katex-2877","normalized_spec_sha256":"6d974502e0a805b9c4d36ca0268cc244dfd8cb44aae69e7b7f6b045e687528b0","probe":"probes/katex__katex-2877.json","sha256":"731dd7b32b3afb5dac7e88fe22b21e7180a6b76171e2e556da389b09fabdf3d5"}
+{"instance_id":"katex__katex-2947","normalized_spec_sha256":"c90331603b3d55a0634ea79b5681dce45a4ff632a24ca666c12aa604c0e95154","probe":"probes/katex__katex-2947.json","sha256":"c2dd6333b4af24d038d244aad983333bf2b45be3c53f15fc8ce678cef61c1469"}
+{"instance_id":"katex__katex-3018","normalized_spec_sha256":"ba9fd18f21c4f9bfb3cb7a20418f5cd46bdbfdb8b143bdab90d534ef82d96e73","probe":"probes/katex__katex-3018.json","sha256":"097bace87dc5a3bd3aaf57e407ad500263991641923689f5a799c4d1fd11a8ed"}
+{"instance_id":"katex__katex-3997","normalized_spec_sha256":"f034b60cd2f80b4797934fcd8bec8d83bff9e2723bd1ce5ee157a4df9ce41d4c","probe":"probes/katex__katex-3997.json","sha256":"0e55b4a4677568f038f4f722233b2ac52c410a22d5343d552eefe855328c418d"}
+{"instance_id":"katex__katex-4000","normalized_spec_sha256":"5db03c342a0927c67d64df210037f35dd9d76c8d8dc0d8e8fd2899a62f1a4a4e","probe":"probes/katex__katex-4000.json","sha256":"58d86c9ed2a664a2826223dbc20b9a1cdacd9d8c86c4031390bef56410d5d906"}
+{"instance_id":"kyeotic__raviger-25","normalized_spec_sha256":"edeca912cb63d4fe8f923be021a6f354b0dd73b652373365fffc19ef70a9e6d5","probe":"probes/kyeotic__raviger-25.json","sha256":"2d45c78d177484cfb9f5e5403eab38fa3343d0e4a683654a0f2addf04d825b2e"}
+{"instance_id":"kyeotic__raviger-51","normalized_spec_sha256":"638f38db44b7b2b5fbd25040e1a44c35c8257b992674589d85038ebedbbf4b3e","probe":"probes/kyeotic__raviger-51.json","sha256":"a09a3a02f5ef527d09689584dc1f4e4ae9a5946f4921a425fae8ab5990745bc8"}
+{"instance_id":"kyeotic__raviger-59","normalized_spec_sha256":"bf07b961c7ecbf24ecdf77b0d8f72798d091528055280bbce3191445514c84e9","probe":"probes/kyeotic__raviger-59.json","sha256":"4e5a1baa56e490da41c6a99cfdf0dd6fdb1e6131395e646bb51620b7281f6992"}
+{"instance_id":"kyeotic__raviger-72","normalized_spec_sha256":"e4a9d64416c6dfe06f58b136397768dcc1cbd91a263c80e53e27d477c074b5aa","probe":"probes/kyeotic__raviger-72.json","sha256":"04596725f04b8fbf8724d61390ed54ba7fc1d448585336ae7e15e98941e60d9d"}
+{"instance_id":"martinblech_xmltodict_pr180","normalized_spec_sha256":"83f02f4fa7e47a756c14b220aedd0e53ab79d98b9e459ba95288682169fe1160","probe":"probes/martinblech_xmltodict_pr180.json","sha256":"a5a829f6222bfde90ce87b0961fd698f8267f67f669894f8c7af898475793307"}
+{"instance_id":"martinblech_xmltodict_pr92","normalized_spec_sha256":"a9f676ef1d002988daffa8e1299d1864a638b72efaa72fcbc82204ec7ea80e28","probe":"probes/martinblech_xmltodict_pr92.json","sha256":"2d34b479b3a72bab4ad93aaafbc9689d7607c1898b627f0ff378e81d5a616347"}
+{"instance_id":"masci_banks_pr20","normalized_spec_sha256":"df48542336118af605d4a5cea00fea58e8c78fe6bd1b53cd9efaeccba432ecc6","probe":"probes/masci_banks_pr20.json","sha256":"35aee35794ebf2e6322d9839cd5e1c9c5ce7168c199f9e19e7ce7d3270d2de24"}
+{"instance_id":"masci_banks_pr30","normalized_spec_sha256":"731543acc12b325908daabd59f0019b7e61ff3e17ec16746660b112f1fa4e25f","probe":"probes/masci_banks_pr30.json","sha256":"eef7c7d68bc56836226398d3ec9f86a99c00f67c2f9635a65e9fa2da3c18bdaa"}
+{"instance_id":"masci_banks_pr32","normalized_spec_sha256":"df7af77e20e8215208f36a86cc4aec300ce1d9473a051fdb9d067fa8cde40dd9","probe":"probes/masci_banks_pr32.json","sha256":"3d9ab16b13bded17cf327073bd68f1c06253e328cbefa5813b4c7267aa6fba31"}
+{"instance_id":"meadsteve_lagom_pr170","normalized_spec_sha256":"246c45b89908e5327d74ac38de885abc2245c74bddbf9ae10e978bd8fe751b2f","probe":"probes/meadsteve_lagom_pr170.json","sha256":"c937596c03ad38e0de9f5d9b21825073835d286777cb4739ceeda2096cebd26a"}
+{"instance_id":"meerk40t_svgelements_pr209","normalized_spec_sha256":"e5ff69ab7ff41b6a0d7dd1f47805298b25ec7e65391f6dc3696d6d88b774461d","probe":"probes/meerk40t_svgelements_pr209.json","sha256":"5404a93a4bd0fd470e4ed7e87e49ff5afb1ab8d294c8a40292e45218e0ac29db"}
+{"instance_id":"mercedes-benz_odxtools_pr109","normalized_spec_sha256":"c78221f3e60a596ef0c1f2838bb571ec40aa85695b67561470c1f07a767214a1","probe":"probes/mercedes-benz_odxtools_pr109.json","sha256":"256f44d518ace89ed374897d14ab80a49406db27946a12e9a2a2da70e19f7ff4"}
+{"instance_id":"mercedes-benz_odxtools_pr45","normalized_spec_sha256":"e08ca3dc10c31a14dca8a8ab69bb24683daabf3645a6ebd1d9a919f57b945e9f","probe":"probes/mercedes-benz_odxtools_pr45.json","sha256":"ebe87f57cd235fe70d5e4316bb10a4b82eadd77a48bb2527b44658c9daa8760e"}
+{"instance_id":"mkdocs_mkdocs-click_pr25","normalized_spec_sha256":"8501b4ab6f51fc73bbec0ac68167db2e887df8877a649876b4947e63759dd469","probe":"probes/mkdocs_mkdocs-click_pr25.json","sha256":"9c57392dea1d2d2c81c1a7e6bd1800c8ef58d1761613b70e95cd67b30aae12e9"}
+{"instance_id":"mkdocs_mkdocs-click_pr29","normalized_spec_sha256":"3b1a009143ded753af40b39ed67ae7032a0d2e81ae7260fbaa5bd852e19d7942","probe":"probes/mkdocs_mkdocs-click_pr29.json","sha256":"6c53498e5f88dbbb3f1a1efe86d1e9b4f621923d073aeb727757f5bede993a6a"}
+{"instance_id":"mkdocs_mkdocs-click_pr36","normalized_spec_sha256":"f8c6a1cc65a11ef3d8d180348a7a354eeae51040f29c99b1660b7b0df1c82f8e","probe":"probes/mkdocs_mkdocs-click_pr36.json","sha256":"7db85b5e53073a03a254993b149344f59f98221207ad5560d2e56a9415d6b40b"}
+{"instance_id":"mkdocs_mkdocs-click_pr45","normalized_spec_sha256":"70451b4d57519bb1e672cb25347ab86ecdeae50b7078334466818c768361e4a4","probe":"probes/mkdocs_mkdocs-click_pr45.json","sha256":"2fbff80f562fb427e68340cfab93a93421246eb3ff5a156706a98ab3b4fb6137"}
+{"instance_id":"mkdocs_mkdocs-click_pr52","normalized_spec_sha256":"1201246b4f27ee44c12c74bcf918f921b4b5bb810fc7d81f27d33ee1180c24e0","probe":"probes/mkdocs_mkdocs-click_pr52.json","sha256":"bed61bff1f2add4c6631a301214f38e40d632beb90a4517dac5b031b4a733859"}
+{"instance_id":"mkdocs_mkdocs-click_pr79","normalized_spec_sha256":"34cac20a52289ee433e8e635dbff87de73fbad2888f93f21a85b560a4eec0dc0","probe":"probes/mkdocs_mkdocs-click_pr79.json","sha256":"5222f0afa4b4d2fbbe1eb3b5f96816430104a6e943616937537dc7f1e3db2ffc"}
+{"instance_id":"mkdocs_mkdocs-click_pr82","normalized_spec_sha256":"ea6c93975fe9d7fc75caae32c9348ad28f5504d4d98f5327fffe1d9648a4f5a3","probe":"probes/mkdocs_mkdocs-click_pr82.json","sha256":"4270509351a6e33b9ea1ade2fdb65a4a2aac3624513aa92295e6826a7c366043"}
+{"instance_id":"mkdocs_mkdocs-click_pr84","normalized_spec_sha256":"f07a758e00de6b439f33a8944130cf1d9f8da3188fbe4b319c93dcf5595d3f5b","probe":"probes/mkdocs_mkdocs-click_pr84.json","sha256":"6196e73053643b1ad546c739daf03aab0baff5f510c7248caf4c0daeb1350011"}
+{"instance_id":"mkdocs_mkdocs-click_pr90","normalized_spec_sha256":"6e96fb27e36171039a2ca4d0bb97a097d99efa3ba9c86efbbf72d4e0830492e2","probe":"probes/mkdocs_mkdocs-click_pr90.json","sha256":"c0ff66cc19b79c0c87c0a78ca2de5d3ffbfcb199fb1945bf57189bea880421ae"}
+{"instance_id":"mmore500_alifedata-phyloinformatics-convert_pr24","normalized_spec_sha256":"41d4d738f60608a6822162928b770359605a77d5d25d496d5ce899d7e47f1200","probe":"probes/mmore500_alifedata-phyloinformatics-convert_pr24.json","sha256":"6a1811dd7c98310d9676c696b6b2dfa69727174baf0d07b0ee418486e8a13048"}
+{"instance_id":"mmore500_alifedata-phyloinformatics-convert_pr3","normalized_spec_sha256":"bc69ae91fef325a350fee51f6540ba06f7fa616d19b72029d042963115946bb6","probe":"probes/mmore500_alifedata-phyloinformatics-convert_pr3.json","sha256":"1cca56ea0b721daf1da09a19a47cff2c1af2e21c82f7d1223b76838a7f10c270"}
+{"instance_id":"pennylaneai__pennylane-5277","normalized_spec_sha256":"473a5663d4eb79d517a3fe3d0152dccd874053246ebe916d5f4321dee073a2af","probe":"probes/pennylaneai__pennylane-5277.json","sha256":"e02a971bc6be2a3fcee33984d11ed6b50b662593e7942f60836c43a4d82b8518"}
+{"instance_id":"pennylaneai__pennylane-7164","normalized_spec_sha256":"2c85939f0891b115ca33825824719ee406129889d108e6d976325dfdd68a91e9","probe":"probes/pennylaneai__pennylane-7164.json","sha256":"4aaedbdd205a94bc72df303122a8919f2a7b948b12fd6e3fad94e8661ae61545"}
+{"instance_id":"pennylaneai__pennylane-7668","normalized_spec_sha256":"943deb43482d36a100adf44cca87e58475003ab18a892dabf0909e0ed3fd53b9","probe":"probes/pennylaneai__pennylane-7668.json","sha256":"705f20ac02e342c50d9e14f994867e70f3c43d67e4ea9fcfa985e9e212aaea5d"}
+{"instance_id":"phpoffice__phpspreadsheet-4076","normalized_spec_sha256":"994244e8039340faa6b5a103f5cea33cda2561fbf0dacefcdb9ceb447188cd4a","probe":"probes/phpoffice__phpspreadsheet-4076.json","sha256":"6a95a8f7c60215b420419ad67038fd29eaed028647011e85c58e68fc1b31bad8"}
+{"instance_id":"phpoffice__phpspreadsheet-4151","normalized_spec_sha256":"e6a63e84d8e067eb93bd2f42480ff229a4620cd1b9044a9084f2ef98523f162a","probe":"probes/phpoffice__phpspreadsheet-4151.json","sha256":"8e43de473bb2a43aa5590370262bb14d07ce25e0f5b214097149fe56cbb82720"}
+{"instance_id":"phpoffice__phpspreadsheet-4322","normalized_spec_sha256":"12b09956a2e9cf20941fb30df7c9ca6ef9abd355fca6ca3a98bb1d878e78bf00","probe":"probes/phpoffice__phpspreadsheet-4322.json","sha256":"123048304e3a1f2cdec55bd25d79ef05cbe56061623265e5dc6c2e5439119b68"}
+{"instance_id":"phpoffice__phpspreadsheet-4465","normalized_spec_sha256":"6c5639c6c14ba0b4b6feb19befba73af6d068e5952b219e15a9a862a1dbd70e8","probe":"probes/phpoffice__phpspreadsheet-4465.json","sha256":"b51815398e4d24e0185550dafe67051a79ecc25d9bcbcd320eaa9285d7a0b052"}
+{"instance_id":"phpoffice__phpspreadsheet-4487","normalized_spec_sha256":"7f16c295c18e2b3d12c80e2106268e6cba558c9ff05dd91a167f6048ebc21f9e","probe":"probes/phpoffice__phpspreadsheet-4487.json","sha256":"0d98e636c18fd872b577c30f0d50b860c5d86fd66a7f223ccc55b103586b7755"}
+{"instance_id":"phpoffice__phpspreadsheet-4541","normalized_spec_sha256":"120bf3eb1ad89b89de457ebeb58689271205fe5620b95efa435b622b623b0bd5","probe":"probes/phpoffice__phpspreadsheet-4541.json","sha256":"9f49dac22d3dd31353a019cb3c96e7e71d0f512f9c0fab2e08b11fa6c51aecae"}
+{"instance_id":"pypa_pyproject-metadata_pr150","normalized_spec_sha256":"9ca4a854a7a7b4b3468da54f8384cde80b06d9eb161f823f7d4f12340d696e8e","probe":"probes/pypa_pyproject-metadata_pr150.json","sha256":"172376896349c71321e52409509173a2073d9b3e704340eb1f3df36480401173"}
+{"instance_id":"pypa_pyproject-metadata_pr157","normalized_spec_sha256":"e99d04d93b9b16bcdad4c61668a0520501cfc131452ff70a9459ff4a4e97da60","probe":"probes/pypa_pyproject-metadata_pr157.json","sha256":"411780200fcbc25162c0736baee3952df0dfc45de1753e2a119f320cc846d3a1"}
+{"instance_id":"pypa_pyproject-metadata_pr201","normalized_spec_sha256":"2bfed666c0cdc1f306a46d4c4f9814ef06284d733efbf5f9fe503841e4b08d22","probe":"probes/pypa_pyproject-metadata_pr201.json","sha256":"2a3267013ffb9ab834338ee3a5cc6f978588d4224fa04a7407addff4e312163c"}
+{"instance_id":"pypa_pyproject-metadata_pr206","normalized_spec_sha256":"48c6e432689bede099328e77c9d5aa7707718e1558feb6c51dc0e92901c62c7d","probe":"probes/pypa_pyproject-metadata_pr206.json","sha256":"025a3a652813be8cc5801ae22d2b392ec23d05ce533ae33545dfc46d26806196"}
+{"instance_id":"pypa_pyproject-metadata_pr232","normalized_spec_sha256":"9a1c1f1038f8734a7b3da54e80f83fdd09e6a6d60d138b1ce1cef7e4029b6c22","probe":"probes/pypa_pyproject-metadata_pr232.json","sha256":"4078a485e2a9e600739f85a50b4880d2d736e4f6970bccb3d87b48e58c2614fb"}
+{"instance_id":"pypa_pyproject-metadata_pr27","normalized_spec_sha256":"94bfb8e416abb7de282585b9a1992aabff580d4e38631d2f4c773abb35076559","probe":"probes/pypa_pyproject-metadata_pr27.json","sha256":"5f32e9527eaf704c633d01b21842b05e77340f452cac83c0417cef357ba3eccd"}
+{"instance_id":"pypa_pyproject-metadata_pr65","normalized_spec_sha256":"7540b034e48a59e07ba612d949173574072567d14270e8e349486fcecc81ec6d","probe":"probes/pypa_pyproject-metadata_pr65.json","sha256":"85563e0d89f97ca76baad1f9c6459dc344caacd544d79ca4656d6c364b9cf85d"}
+{"instance_id":"pypa_pyproject-metadata_pr83","normalized_spec_sha256":"2cb74040b8df0034598876cc54de0f654153b8ccd44d77ab4fe47590873a4234","probe":"probes/pypa_pyproject-metadata_pr83.json","sha256":"94b512b8306b79090d42dcf59af13df3a1c9f23eeeaf17f06872b353d39ac487"}
+{"instance_id":"pypa_pyproject-metadata_pr91","normalized_spec_sha256":"40a797ddee3b378b9104097aea16b689cfb1245e15fbee1c9726c9f797dd634d","probe":"probes/pypa_pyproject-metadata_pr91.json","sha256":"d795c2af9b830999140a84834491660678f480ab9bbb342d069dec5f667c80f5"}
+{"instance_id":"pysal_pointpats_pr116","normalized_spec_sha256":"0730b653beac1d531ff6f9a1d7fa7b2eff631a3f775dae5d34e256cb3d46e849","probe":"probes/pysal_pointpats_pr116.json","sha256":"6a8e38f1303dab65dbd2efab2fee681021d9834825cc4bc20a67c9cf3e664456"}
+{"instance_id":"python-babel__babel-420","normalized_spec_sha256":"541c4ed15b3819888a730b1f97287ccee66beac665ab425c6e17a4f874e4f2e4","probe":"probes/python-babel__babel-420.json","sha256":"3c88c89cb64eefea2a3fbef6e7a61c819e89db7cb5b4d0d64def777deb35400c"}
+{"instance_id":"python-babel__babel-482","normalized_spec_sha256":"f3f2eb0727fe22efa8e1c39309c576fc2376ea46ab1856d05b1552c16a5725d8","probe":"probes/python-babel__babel-482.json","sha256":"4a1f65b7fe4f6a23a75a8e951c735ae7176d8670b74f76449cde63fc284c4bd6"}
+{"instance_id":"python-babel__babel-488","normalized_spec_sha256":"d33071aaab0844ae6ac059f72c62efbfb39272e8bf6646a046f68602173be8c1","probe":"probes/python-babel__babel-488.json","sha256":"a90bf16ae1b97dd6883d10d5aa803c28229cb84217ede8ab52fd4f38d0987304"}
+{"instance_id":"pyvisa_pyvisa-py_pr292","normalized_spec_sha256":"d4e07e9bc520d9b7be76683733a54ce70bd8e3e0b1f7b268cd591747d0f85f67","probe":"probes/pyvisa_pyvisa-py_pr292.json","sha256":"455c7e10eaa77427f0d854d34f2805d5530fbc9b275506789a020bf7aa4ccd6b"}
+{"instance_id":"roniemartinez_latex2mathml_pr10","normalized_spec_sha256":"f31342d27583fb999d41e3d8be36b03c6a8d953c21f842b294b2e4b062427414","probe":"probes/roniemartinez_latex2mathml_pr10.json","sha256":"7393d6ecff36de088fe12fe417adb2aa4e996a3b6f731f2c01d4fc9ba5fcf6d3"}
+{"instance_id":"roniemartinez_latex2mathml_pr111","normalized_spec_sha256":"4fc7b4ba365322256e9b3b87b7180617f0d73aa94846d296bafd9630e0bc949f","probe":"probes/roniemartinez_latex2mathml_pr111.json","sha256":"c168b7b77c977428be51394e49ec286a5543bfcc6564010c446812e57fb7461e"}
+{"instance_id":"roniemartinez_latex2mathml_pr114","normalized_spec_sha256":"ed52f90535fceb9c26e903f098d3488c257516f981aa9eca2ba8c7d05a63150e","probe":"probes/roniemartinez_latex2mathml_pr114.json","sha256":"6b8ff819760154c2fa44385c8bf596c413020964a5240aad191f118fe9417809"}
+{"instance_id":"roniemartinez_latex2mathml_pr116","normalized_spec_sha256":"97308011ff5f59a4eff09eadab842493c88f18857a7b294e62c8f25712c1e76b","probe":"probes/roniemartinez_latex2mathml_pr116.json","sha256":"a83c032dd5a8393846f3f363623488986b558cabbc1cff21674bfbd5bbb430b4"}
+{"instance_id":"roniemartinez_latex2mathml_pr119","normalized_spec_sha256":"b9d1a35a63f22ae7af9e2ba0f13341bcad1d781c8fc66854e989d8560e62dbdc","probe":"probes/roniemartinez_latex2mathml_pr119.json","sha256":"df5e88a1fe34e64d17b616f546dec009261806dfe094666f402f5fce2e32814a"}
+{"instance_id":"roniemartinez_latex2mathml_pr121","normalized_spec_sha256":"52d5a2d390e36c7cfceb3b2abdcb49f70d8eb29cdb133ed6f50e6ec313289fb4","probe":"probes/roniemartinez_latex2mathml_pr121.json","sha256":"9d97bb50eaa94a209e11cc59d7d460d620b14512c5b5dda9c72b56f866e5ec67"}
+{"instance_id":"roniemartinez_latex2mathml_pr132","normalized_spec_sha256":"4fe4393fe8252553485b8236764777efaa935b263a952570bdcad2713a779d2e","probe":"probes/roniemartinez_latex2mathml_pr132.json","sha256":"b1f95e367ce4d457e3ba61f54aed2a4e619fe4b1d375c721152c32086914a1f9"}
+{"instance_id":"roniemartinez_latex2mathml_pr136","normalized_spec_sha256":"8dad8152098fd67ac0fc46f5bed068399d3691cac46f8f6d7c1d2080637d17b2","probe":"probes/roniemartinez_latex2mathml_pr136.json","sha256":"9f3f86666d0da17f7920f390795b6190cf37f846d0babb140b777cad71e9a233"}
+{"instance_id":"roniemartinez_latex2mathml_pr137","normalized_spec_sha256":"e86769d34f822349b04c71d5fa3be62b733c0eb0d0435370794eaace43597c42","probe":"probes/roniemartinez_latex2mathml_pr137.json","sha256":"02786a5528e5108b80e45cd84f882ac99b16dd074fb63236c54c383a4bd4c4d5"}
+{"instance_id":"roniemartinez_latex2mathml_pr138","normalized_spec_sha256":"a582929e091b497c10f0855811fe6c3f6cdf558de645c1bb618283d2b97de977","probe":"probes/roniemartinez_latex2mathml_pr138.json","sha256":"4c020bfb4b4475e451868f7d9f9340b06e00851ed048e3073cc2eb7fddb329f2"}
+{"instance_id":"roniemartinez_latex2mathml_pr139","normalized_spec_sha256":"f1fff61856b0924bf8c0fe8a0a190748509c5d8ee9ac628f301dc8e9976f3f9a","probe":"probes/roniemartinez_latex2mathml_pr139.json","sha256":"e499f982ab42962b88f8a6920153049091dd66e9320e2b8c39f6ca6fb7f39035"}
+{"instance_id":"roniemartinez_latex2mathml_pr140","normalized_spec_sha256":"bb558f65f04ce39941e9df5b04cdf18c322f5708a5d3bf527558a1b7c7901c0b","probe":"probes/roniemartinez_latex2mathml_pr140.json","sha256":"dca0a6c5c25199fe1348eaf11e225bb29d0e576b1bbaf741cbe388f336c54028"}
+{"instance_id":"roniemartinez_latex2mathml_pr143","normalized_spec_sha256":"997960338b0169069911fd85b40a9957b7f699d2b60a9245e8c5dd41cb86999e","probe":"probes/roniemartinez_latex2mathml_pr143.json","sha256":"f64eb848a824178cb767229bf140632682942efb96506fcc4788fb4900508f8a"}
+{"instance_id":"roniemartinez_latex2mathml_pr144","normalized_spec_sha256":"af2c7e952e7464b7fc9a6a05d99542b727d1680bd510016e2314571d77427920","probe":"probes/roniemartinez_latex2mathml_pr144.json","sha256":"3ad15fbb4ef5effddf0636ea7e2311cdae846851aca572e2a0c09ddb612ddcb1"}
+{"instance_id":"roniemartinez_latex2mathml_pr145","normalized_spec_sha256":"33f7b4d5c3b184df13e45015832d02e2a3a8009d6a01df240897448d314f354b","probe":"probes/roniemartinez_latex2mathml_pr145.json","sha256":"34e25e1ccedc5ca7927803fa32f28c1e9f4be211d5e0e8b3b14a15e49a33276d"}
+{"instance_id":"roniemartinez_latex2mathml_pr146","normalized_spec_sha256":"f26ea7cbcb6bc9db5226078fbf28d2939080f3aec4d3a11555fbfe5a86d7b48e","probe":"probes/roniemartinez_latex2mathml_pr146.json","sha256":"1fbc661e1c263dabacb5df370620ef1d201538b6672dda50ecf6322929a1c56c"}
+{"instance_id":"roniemartinez_latex2mathml_pr148","normalized_spec_sha256":"81fb4c6bd50681788c5a31e086261867bb0f0c8cc466c3277889442ca58fd2cb","probe":"probes/roniemartinez_latex2mathml_pr148.json","sha256":"c9ef7018e8cc6dd6752633c64cd7a7994462b76ccfd9952ea20bfc3842dfff11"}
+{"instance_id":"roniemartinez_latex2mathml_pr149","normalized_spec_sha256":"541351b86e47389047a579098799d1a2ee56c998a77106d96c04a21e6414a93b","probe":"probes/roniemartinez_latex2mathml_pr149.json","sha256":"469f753f11f3a5ed26b372b99625cac7a020b7a559160b3b4d7de02eac3125f3"}
+{"instance_id":"roniemartinez_latex2mathml_pr153","normalized_spec_sha256":"88ee55d6e6d1c3861460d79b84ab2665f82aab41b3352adbb7367855dbf81a9d","probe":"probes/roniemartinez_latex2mathml_pr153.json","sha256":"e38052b4c9e06ed6b68eb3cda31d91b87086ebefa78f62a5d96077fc2e82d4eb"}
+{"instance_id":"roniemartinez_latex2mathml_pr154","normalized_spec_sha256":"4c1981fc7f54214db93765f813c2a5ff91e07dcdf5f06733246f2fb4325fd545","probe":"probes/roniemartinez_latex2mathml_pr154.json","sha256":"f67361c062ee28246714e1cdd0ed787eb4f02e2579f39376f713dedaa0aa7662"}
+{"instance_id":"roniemartinez_latex2mathml_pr157","normalized_spec_sha256":"94e5102e42250c53da41f25a1f26b23e8ad6df3588248105052e08e427cf1037","probe":"probes/roniemartinez_latex2mathml_pr157.json","sha256":"e1a1beceac128f2fc76f62047e6a598ef77951baa1d9f9894c25726776658d47"}
+{"instance_id":"roniemartinez_latex2mathml_pr159","normalized_spec_sha256":"7b7e6845a75c653ad12a962e9ebd4e3ce2f131b2a5000d9cdb5ebd2c14c9d0cd","probe":"probes/roniemartinez_latex2mathml_pr159.json","sha256":"65d11ade184528028d77cbbebd5eb4ea144e59421a4c75dce5c981f2bcc8a8e4"}
+{"instance_id":"roniemartinez_latex2mathml_pr163","normalized_spec_sha256":"d63cac27e055eb3419cf5d85ec517872b45a42745b5f720416f968bc5add9128","probe":"probes/roniemartinez_latex2mathml_pr163.json","sha256":"419b04b209c0641559463cb21054934b2af19c3d9e02be8c19f4445d54a649ac"}
+{"instance_id":"roniemartinez_latex2mathml_pr164","normalized_spec_sha256":"61f729ac6e4e1c1a4a67fab8dbaded6f7582203c5f8bf0a7b325334992f087d0","probe":"probes/roniemartinez_latex2mathml_pr164.json","sha256":"cdd3fdbc8408eefe4d51cc6413a5ee4b768ab7bb93cce05ae2f673dedc68b186"}
+{"instance_id":"roniemartinez_latex2mathml_pr166","normalized_spec_sha256":"21a125df551470a61b9dcb62e83d8d7e51396057acd3b07f076c0bcb55a41b5d","probe":"probes/roniemartinez_latex2mathml_pr166.json","sha256":"bd32876e8993cacde5c2d7948a2778e5b73af2136add831cc0e084ae4abf5d2f"}
+{"instance_id":"roniemartinez_latex2mathml_pr168","normalized_spec_sha256":"b5f282c67c5e7b13e7b622fa6c47595e88a4209ee7375f13a5b1016ebc3df00e","probe":"probes/roniemartinez_latex2mathml_pr168.json","sha256":"83f6548ab23336b50fdab028f800a8192f9821704802a5ddf5b792835dfefa36"}
+{"instance_id":"roniemartinez_latex2mathml_pr169","normalized_spec_sha256":"4770a817c1148a5df41b4e95ae02b11cb15b42fd110c4bf8fdbc5b246aff445f","probe":"probes/roniemartinez_latex2mathml_pr169.json","sha256":"88fd4b7b361a7004a33b9e5c165ada275b4f7f4996b2bc4d788ae738aaf8f8e4"}
+{"instance_id":"roniemartinez_latex2mathml_pr172","normalized_spec_sha256":"13c3951595a2c9f8b892e3c5ed29cb474e27c127f05ed2b0821e76711ae8faba","probe":"probes/roniemartinez_latex2mathml_pr172.json","sha256":"593dc5c624959405b67a86d0df778cddcccd108b1de004384e9a38b75d60319f"}
+{"instance_id":"roniemartinez_latex2mathml_pr177","normalized_spec_sha256":"d261345035f6f681e046356f36df03ee2b35d5defa4f72683b6a041c1b10d174","probe":"probes/roniemartinez_latex2mathml_pr177.json","sha256":"7325d39bccac5fa512e85c88f4562a7b6b5d0150c2050307a93270a57209ced1"}
+{"instance_id":"roniemartinez_latex2mathml_pr180","normalized_spec_sha256":"4284a33b3c9239c6e1544e2e0eaf0179b2ed649f57e5d9b1b035cc16c1173ca6","probe":"probes/roniemartinez_latex2mathml_pr180.json","sha256":"89f97cf1c75c39e3063f33f6fb55ba742c805fa1b8834173f59cbe3dcd8f9a14"}
+{"instance_id":"roniemartinez_latex2mathml_pr181","normalized_spec_sha256":"e994aa9208121d84f56087a309bdb146bf3c17693f1fb0a4fcb0091a51b6854f","probe":"probes/roniemartinez_latex2mathml_pr181.json","sha256":"730c36d97edbe595c6d454cffebbcb72ec6b2b4edc4d20b2df7fd9d95bcbf184"}
+{"instance_id":"roniemartinez_latex2mathml_pr182","normalized_spec_sha256":"f31d3adbd8bf3dd8515e5326d391a42056799fbcd1f4951e15199deb9fae0266","probe":"probes/roniemartinez_latex2mathml_pr182.json","sha256":"2609617213eb51e0cf53a61a493a5c9f8b9c663f374f5515ff39acee8cf48946"}
+{"instance_id":"roniemartinez_latex2mathml_pr183","normalized_spec_sha256":"08d6a0eda65f576051e13e6b2d624552c5785ba17e19c948212f23c4c753c63f","probe":"probes/roniemartinez_latex2mathml_pr183.json","sha256":"e6373c1b4875b257d14e0218450cfa120b52c014c3c2d4ee7101ea369b14756b"}
+{"instance_id":"roniemartinez_latex2mathml_pr184","normalized_spec_sha256":"ea2065845bbf06ded067b0857473520ff19e03ae8973933b489c85a24122c160","probe":"probes/roniemartinez_latex2mathml_pr184.json","sha256":"a4ea5971beea7bd963e7fd31c5fae2827351dea1741df4084772fb4323650e54"}
+{"instance_id":"roniemartinez_latex2mathml_pr192","normalized_spec_sha256":"6661d47658b995cde442eea7bffc5f899050447c725ee4d367058929d29ab66c","probe":"probes/roniemartinez_latex2mathml_pr192.json","sha256":"5ffb2bf59d2e4318d59ce1563d5e0bbbe1b150242b836cb2d9ca909a4435a65c"}
+{"instance_id":"roniemartinez_latex2mathml_pr195","normalized_spec_sha256":"0e3e348b6797d40449d40e24d6f950a1cd702b189a13b2467c13c04b49a86497","probe":"probes/roniemartinez_latex2mathml_pr195.json","sha256":"58eab8bc3c2c67057811eb5f31567333f9f9baa4c5ada3d8e69b16b8cb17ed81"}
+{"instance_id":"roniemartinez_latex2mathml_pr199","normalized_spec_sha256":"68786d3d1b17b6604dd010f7b0d85a4ba8795684637752899abc5a9b9affb147","probe":"probes/roniemartinez_latex2mathml_pr199.json","sha256":"9ac789f16c39c833869948d4cc8f93c1261de10cdc7af34588426549738ffc98"}
+{"instance_id":"roniemartinez_latex2mathml_pr200","normalized_spec_sha256":"f28b674c4fe3d4026cfb69ef099655ba4780f9d52b5959d69dc4cc64b7e6722d","probe":"probes/roniemartinez_latex2mathml_pr200.json","sha256":"f672c4da0c8260822b8beb343b70584cbe751c5db4e270436c2d1ebb10a2f601"}
+{"instance_id":"roniemartinez_latex2mathml_pr201","normalized_spec_sha256":"fbdc8ba3e44554df11dc865c5a396a2b845e1238edc8def02e061036dcc3b8e9","probe":"probes/roniemartinez_latex2mathml_pr201.json","sha256":"e8b6bb8325552f60581f5f1b80a89c7601fec06fcf657b5534bea8d040d1a95f"}
+{"instance_id":"roniemartinez_latex2mathml_pr204","normalized_spec_sha256":"4a6dd0737a56ee16e790332e0f8248fad29b0afdc8115a1062a5a9ff1e0a7406","probe":"probes/roniemartinez_latex2mathml_pr204.json","sha256":"981379335fe5c10c053565dacfaf6acca685fc8eb21556046a2f4ffc62748531"}
+{"instance_id":"roniemartinez_latex2mathml_pr205","normalized_spec_sha256":"57b43d5491dffc46cbb8ff34dd11add1c8db684461ea847471596328fdf2940d","probe":"probes/roniemartinez_latex2mathml_pr205.json","sha256":"0b58524102bad27bff995e9223799e63431b3c640d21ebdec65be47db5045451"}
+{"instance_id":"roniemartinez_latex2mathml_pr206","normalized_spec_sha256":"2f0e88fc97933f927890eedeb26c1e683d4b86434c3efc691234ec97be759d70","probe":"probes/roniemartinez_latex2mathml_pr206.json","sha256":"ee403599119cc835bfb91ec24bdbe678ed879b074daf0d8c22e059a995765f01"}
+{"instance_id":"roniemartinez_latex2mathml_pr207","normalized_spec_sha256":"ad21d0655086ccd96145117a45475edc09ebba2bd64b62b7de0aef3da977ae64","probe":"probes/roniemartinez_latex2mathml_pr207.json","sha256":"db7076ab31503fb70a0a66a012b86b9fb51745aab245684d8e267a2949def713"}
+{"instance_id":"roniemartinez_latex2mathml_pr209","normalized_spec_sha256":"57c3dd3bc210545cdef12fbcb90cf7779381ee9ab43e8263c8ad4b22719d1149","probe":"probes/roniemartinez_latex2mathml_pr209.json","sha256":"ca7694ed0b28979abe8bf26e4a2c0c4964e1f2ab5a45cf03d6abb52285af00fb"}
+{"instance_id":"roniemartinez_latex2mathml_pr210","normalized_spec_sha256":"356b8742d33bc4a0af059635d0b0dabc2b25c2a8a340aad99b4b7b73f5144c54","probe":"probes/roniemartinez_latex2mathml_pr210.json","sha256":"6d70b0c67b3719903622b6c7f8f1e9245c887f21647566c1dce0d75cafaa0d08"}
+{"instance_id":"roniemartinez_latex2mathml_pr212","normalized_spec_sha256":"3ca4129ca88893219776759d591db9acb6d81298528b7dc6216a9aec13e7d48d","probe":"probes/roniemartinez_latex2mathml_pr212.json","sha256":"f1939418d772e4aabadc00f97e869173860c0510869b64976a178478dcd1de5c"}
+{"instance_id":"roniemartinez_latex2mathml_pr213","normalized_spec_sha256":"181554aa74467c17b74fb2b4aa25e703f9adfe997aa73b4f38a7fe52469e1104","probe":"probes/roniemartinez_latex2mathml_pr213.json","sha256":"6b522e2dfad77a9703114d223a0703e9ce9f7907e41345ddf2447ebe0f7e93d8"}
+{"instance_id":"roniemartinez_latex2mathml_pr216","normalized_spec_sha256":"5eb6b808b8b20bb3f19ab72962757a762bb0267e38cbe4f24779e0c122b4f074","probe":"probes/roniemartinez_latex2mathml_pr216.json","sha256":"96b5a58f963e929377500ad64cf25e4d14a9f5c7349b32ca28b810ba343edbb0"}
+{"instance_id":"roniemartinez_latex2mathml_pr218","normalized_spec_sha256":"4ef002155a73dd3f75bd5c0d23064fa3b1afbd36be6e3ac49603851a2e4d8220","probe":"probes/roniemartinez_latex2mathml_pr218.json","sha256":"803f86e586c51c1634335e68139af69a995dc0469e1acd5e581dc19b292e256b"}
+{"instance_id":"roniemartinez_latex2mathml_pr258","normalized_spec_sha256":"bb9c9a35780efd82298bca78feddb6d0528f81c2b90e168fb33d57201b467a78","probe":"probes/roniemartinez_latex2mathml_pr258.json","sha256":"63fc024a901425c6b2a6239fa718fd60499a52311e3115da1be588fa94ff7b81"}
+{"instance_id":"roniemartinez_latex2mathml_pr304","normalized_spec_sha256":"beb6490c76e64d5d0624f1669c1c330af49a9095679cb39a5503b65adb798212","probe":"probes/roniemartinez_latex2mathml_pr304.json","sha256":"650dbb9b73a86e04003081ea89f0b24e16fc86b552bbfac661de8a9862733e16"}
+{"instance_id":"roniemartinez_latex2mathml_pr306","normalized_spec_sha256":"a571dc7b78499a7e45c102159fc5dbe6dea289040fb4ac14d279b10b697a511f","probe":"probes/roniemartinez_latex2mathml_pr306.json","sha256":"30ecf7b75070364ce6f863eb80073ecf66e4802a9bb7daa48472442ad2335243"}
+{"instance_id":"roniemartinez_latex2mathml_pr308","normalized_spec_sha256":"38c0edc91109a08f10f32ba703bfccf1bdb440adf533112c2329ac4b49f50a18","probe":"probes/roniemartinez_latex2mathml_pr308.json","sha256":"cd76a618fbd212ef01c35a5cb0d0957c9daa8d212ff56036e1f2729bca3aea87"}
+{"instance_id":"roniemartinez_latex2mathml_pr309","normalized_spec_sha256":"cac25c3fa94894e143cd7991065d4aea4f636183d629722558b4bc4a7111d81d","probe":"probes/roniemartinez_latex2mathml_pr309.json","sha256":"44fa0a81173b31d290fc83b8304390b4d593245880afbecf06d7dcf30b767a59"}
+{"instance_id":"roniemartinez_latex2mathml_pr311","normalized_spec_sha256":"a39a68794e48cbb55b3f1e547c7ce1e2b02f0937609ceabcbca8977d1bd09c73","probe":"probes/roniemartinez_latex2mathml_pr311.json","sha256":"bafc32971104cd6dc6ddd8fc7d078a528dab095487d506173de74024db49e96f"}
+{"instance_id":"roniemartinez_latex2mathml_pr315","normalized_spec_sha256":"8fce18af88f1799b0b9192992369ae139539bb14706b7b3f3cf92b72bac6c895","probe":"probes/roniemartinez_latex2mathml_pr315.json","sha256":"cb7a1d61b22466527933cdc5bb1ee1a34dc35ff943e9511c5332a9f5523e9ad2"}
+{"instance_id":"roniemartinez_latex2mathml_pr316","normalized_spec_sha256":"618761ac7a85bdef6ec39d4236bc6085d539644b3cfe5cd7b69967cd18e6c86f","probe":"probes/roniemartinez_latex2mathml_pr316.json","sha256":"2aeace60b73746184356fc9def02817471283362d23a962f07d7795da5dd527d"}
+{"instance_id":"roniemartinez_latex2mathml_pr43","normalized_spec_sha256":"490af8b7c7b54f85829f483bfe4adf245db520040fe64457d66e18f5511107ae","probe":"probes/roniemartinez_latex2mathml_pr43.json","sha256":"04fb74a36182801c156c7ae5fb80ea25e0e041114efaa93d2421fb7ab85a70de"}
+{"instance_id":"roniemartinez_latex2mathml_pr47","normalized_spec_sha256":"4cced79da81223c07c36ca6dcf1c00db11c5400a0140bf2086b8c4263de8b19c","probe":"probes/roniemartinez_latex2mathml_pr47.json","sha256":"61a1d1579449484f5a1ef09759fbe092692d5bef96d597895657a85377b6cdc0"}
+{"instance_id":"roniemartinez_latex2mathml_pr48","normalized_spec_sha256":"ffeb0529fb36b92ca20042f5cad64af2d3f90f57501d46c4cffad5cb5be7fd6b","probe":"probes/roniemartinez_latex2mathml_pr48.json","sha256":"1555887deff9a5cb0a1eb024ed9f04d5bac844fb6e3f5ccf7b4adc7b03354d09"}
+{"instance_id":"roniemartinez_latex2mathml_pr529","normalized_spec_sha256":"28878c3d8d5087017bdc8055d84fe81314a1ab285266d1de63e4065bf8598410","probe":"probes/roniemartinez_latex2mathml_pr529.json","sha256":"e9a6130d72877af06000aeddfb8ad023ead873bfcdcb630cf8e9c01b13024f9a"}
+{"instance_id":"roniemartinez_latex2mathml_pr65","normalized_spec_sha256":"d1ce97403b86d9533a6155c5896521ff2e48c257856c04c8249b1779afb8796c","probe":"probes/roniemartinez_latex2mathml_pr65.json","sha256":"88d39e89145d99890210284d322b6d38068968f6d68a3a5ee16ce17c50ddc419"}
+{"instance_id":"roniemartinez_latex2mathml_pr93","normalized_spec_sha256":"fa852df10a9a8fa15283408386f08dd500850b85b1b9633dd1f8f4f409a577f4","probe":"probes/roniemartinez_latex2mathml_pr93.json","sha256":"1322eb20cc3fe3b310895d39a1130c50aaa9278df1674fd72958a7e351dcd88f"}
+{"instance_id":"single-spa__single-spa-layout-24","normalized_spec_sha256":"0d1aa92e40514bd7ec6f38e2721ce7840d24c6ce82f4e4e740e2cabe76217f9a","probe":"probes/single-spa__single-spa-layout-24.json","sha256":"9b5d9dbb891eb4efa507dab71fc90326244b3cea330b43bc94bae056b2b4f742"}
+{"instance_id":"single-spa__single-spa-layout-70","normalized_spec_sha256":"ecb34491cabbaad18e7883e08c9ddc31bc3c18d251f0cdb4c772f6c3baa09cf5","probe":"probes/single-spa__single-spa-layout-70.json","sha256":"3e7e528a3cb1171467c3176c32c84141ea0ec77504890ffae13249fb7b37e6d9"}
+{"instance_id":"solid__community-server-806","normalized_spec_sha256":"6db8feeb12b99d3634f2e555650f45e9cbb8d2eeae16a3e2eb9852f1f12ebbaf","probe":"probes/solid__community-server-806.json","sha256":"3c8c1d2e9b5e7a9d4a7bae558dc51c9cc7bceaf12a6912a85ce51bfa7782e598"}
+{"instance_id":"textualize__rich-2247","normalized_spec_sha256":"d6bb3af1fee1b6e78138b4cd7435b0f4addc94a2901119b71f807aca1739bf0c","probe":"probes/textualize__rich-2247.json","sha256":"840373249eca3b0dc38ee25f8712c2178a88e29b19816a5d24945c82878123d9"}
+{"instance_id":"textualize__rich-2642","normalized_spec_sha256":"2680303f52408d34afc780d727a7465829b0702a564a5c0c7dd6ab707518499d","probe":"probes/textualize__rich-2642.json","sha256":"c324b1c1b71d124793ba9a52ae9ea1140e7f6f51c3f622aa763ededfe3ba0d69"}
+{"instance_id":"textualize__rich-2804","normalized_spec_sha256":"3bd5b76a92a5f6cf39648321e09c73ffb3feb656bdd59b5f36cb3eee15707e5b","probe":"probes/textualize__rich-2804.json","sha256":"a6f3112c6ef6116c18d4be90f6d7c2b899b2e52797aece9680544d3f4a79574c"}
+{"instance_id":"textualize__rich-3105","normalized_spec_sha256":"c78e3d48454be3973d3d03bfb69ecd50a86ddceb229307109dc222ae71e891c8","probe":"probes/textualize__rich-3105.json","sha256":"4355164781cc1c5731499553bd4c48bcf236d5bf8833069da3d706ef59c2ed6b"}
+{"instance_id":"textualize__rich-3518","normalized_spec_sha256":"eebd20eab6b23b29b922b4ce7aca3718f54c91ea9d16b94d18bc678252fc6793","probe":"probes/textualize__rich-3518.json","sha256":"1452f44d4c9a1234eafd464eedbdc7b50abf0a827b722ffe2f9d41de30d64411"}
+{"instance_id":"twigjs__twig.js-879","normalized_spec_sha256":"f6a97744edbed397183a4dc5dfbac26649a578a25326b644e56e6d831105762a","probe":"probes/twigjs__twig.js-879.json","sha256":"42ad5b5b773ae23af0026a6b8b7e57105fc94b5d176aace30c55d7f1441a01f9"}
+{"instance_id":"twigjs__twig.js-911","normalized_spec_sha256":"c7b00391264e9be2351c8cec877bd792a817e70c5c85e89ffcb0655d9b5e3d2f","probe":"probes/twigjs__twig.js-911.json","sha256":"eb8c84165939e20470c5b61011bb109f5184984429dea82cb11bab1b4eda5cff"}
+{"instance_id":"useblocks__sphinx-needs-1102","normalized_spec_sha256":"4bb9fcb7ffde3ec4608ee977de28262493622c8905d00804c3b5c94c18545e3e","probe":"probes/useblocks__sphinx-needs-1102.json","sha256":"fe1e273f219a9386085d59ffed598d9dd906b0a3ffefa9644d924125671ebeac"}
+{"instance_id":"wireservice_agate_pr753","normalized_spec_sha256":"623af5fa4c391aeca1eda43da7ebe7ecb16fbf7edb2eea64aec63163b35c6fd4","probe":"probes/wireservice_agate_pr753.json","sha256":"150fe6940410520fce17d9db0cee1538131b72c2ae46bd6279fc0a72be3d07c3"}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr166.json b/data/rs/probes/roniemartinez_latex2mathml_pr166.json
new file mode 100644
index 0000000000000000000000000000000000000000..616dc085b68d98b9d7f561bae40963ad5a086d7b
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr166.json
@@ -0,0 +1,30 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.render_ok",
+ "adapter_state.has_mfrac_linethickness_zero",
+ "adapter_state.has_open_paren",
+ "adapter_state.has_close_paren",
+ "adapter_state.mathml"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr166",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML for a \\choose b contains an mfrac with linethickness=0 enclosed by opening and closing parenthesis mo elements.",
+ "predicate_js": "(s) =>\n s.adapter_state.render_ok === true &&\n s.adapter_state.has_mfrac_linethickness_zero === true &&\n s.adapter_state.has_open_paren === true &&\n s.adapter_state.has_close_paren === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport json\nimport os\nimport sys\n\n\ndef esc_html(s: str) -> str:\n return (\n s.replace(\"&\", \"&\")\n .replace(\"<\", \"<\")\n .replace(\">\", \">\")\n .replace('\"', \""\")\n )\n\n\ndef main() -> None:\n payload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\n output_path = sys.argv[2]\n latex = r\"a \\choose b\"\n\n render_ok = False\n mathml = \"\"\n error = None\n try:\n sys.path.insert(0, \"/testbed\")\n from latex2mathml.converter import convert\n\n mathml = convert(latex)\n render_ok = True\n except Exception as exc:\n error = {\"name\": type(exc).__name__, \"message\": str(exc)}\n\n state = {\n \"render_ok\": render_ok,\n \"mathml\": mathml,\n \"has_mfrac_linethickness_zero\": (\n \"Error: \" + esc_html(error[\"name\"] + \": \" + error[\"message\"]) + \"
\"\n )\n\n state_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n title = esc_html(payload.get(\"title\", \"latex2mathml \\\\choose\"))\n\n page = (\n \"\"\n \"\"\n \"\"\n ''\n \"\" + title + \"\"\n \"\"\n \"\"\n \"\"\n \"LaTeX: \" + esc_html(latex) + \"
\"\n '' + rendered + \"
\"\n \"\"\n \"\"\n \"\"\n )\n\n with open(output_path, \"w\", encoding=\"utf8\") as fh:\n fh.write(page)\n\n trace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\n if trace_path:\n loaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n )\n with open(trace_path, \"w\", encoding=\"utf8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)\n\n\nif __name__ == \"__main__\":\n main()",
+ "rationale": "The \\choose command is currently emitted as a literal mi element; the fix produces an mfrac with linethickness=0 wrapped in parentheses.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Binomial coefficient via \\choose",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr168.json b/data/rs/probes/roniemartinez_latex2mathml_pr168.json
new file mode 100644
index 0000000000000000000000000000000000000000..cbbdd31d7cd96098f2f6b48840eb63a634a59238
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr168.json
@@ -0,0 +1,27 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.color_applied",
+ "adapter_state.render_ok"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr168",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML contains an mstyle element with mathcolor=\"red\" wrapping the red 'a'.",
+ "predicate_js": "(s) => s.adapter_state.render_ok === true && s.adapter_state.color_applied === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport html\nimport json\nimport os\nimport sys\n\nsys.path.insert(0, \"/testbed\")\nfrom latex2mathml.converter import convert\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\noutput_path = sys.argv[2]\n\nlatex_input = r\"\\color{red}ab\"\nrender_ok = True\nerror = None\ntry:\n mathml = convert(latex_input)\nexcept Exception as exc:\n mathml = \"\"\n render_ok = False\n error = {\"name\": type(exc).__name__, \"message\": str(exc)}\n\ncolor_applied = 'mathcolor=\"red\"' in mathml and \"'\n\nlines = [\n \"\",\n '',\n \"\",\n '',\n \"\" + title + \"\",\n \"\",\n \"\",\n \"\",\n '\",\n \"\",\n \"\",\n \"\",\n \"\",\n]\n\nwith open(output_path, \"w\", encoding=\"utf8\") as f:\n f.write(\"\\n\".join(lines))\n\nloaded = sorted({\n m.__file__ for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n})\ntrace = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace:\n with open(trace, \"w\") as f:\n json.dump({\"repository_modules_loaded\": loaded}, f)",
+ "rationale": "The issue asks for \\color{} support; before the fix the converter emits \\color and the color name as separate identifiers, while after the fix it wraps the next token in an .",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "LaTeX \\color command renders red token in MathML",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr169.json b/data/rs/probes/roniemartinez_latex2mathml_pr169.json
new file mode 100644
index 0000000000000000000000000000000000000000..770d7461960830965e6c71aa477113e601654a25
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr169.json
@@ -0,0 +1,31 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.simple_a_in_mstyle",
+ "adapter_state.simple_b_in_mstyle",
+ "adapter_state.complex_a_in_mstyle",
+ "adapter_state.complex_b_in_mstyle",
+ "adapter_state.complex_c_in_mstyle",
+ "adapter_state.complex_d_in_mstyle"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr169",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "Both a and b are inside the red mstyle for \\color{red}ab, and b and c (but not a or d) are inside the red mstyle for {a\\color{red}bc}d.",
+ "predicate_js": "(s) =>\n s.adapter_state.simple_a_in_mstyle === true &&\n s.adapter_state.simple_b_in_mstyle === true &&\n s.adapter_state.complex_a_in_mstyle === false &&\n s.adapter_state.complex_b_in_mstyle === true &&\n s.adapter_state.complex_c_in_mstyle === true &&\n s.adapter_state.complex_d_in_mstyle === false",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport json\nimport os\nimport re\nimport sys\nimport xml.etree.ElementTree as ET\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\noutput_path = sys.argv[2]\n\nsys.path.insert(0, \"/testbed\")\nfrom latex2mathml.converter import convert\n\nSIMPLE_INPUT = r\"\\color{red}ab\"\nCOMPLEX_INPUT = r\"{a\\color{red}bc}d\"\n\n\ndef contains_mi(element, text):\n for child in element.iter():\n if child.tag == \"mi\" and child.text == text:\n return True\n return False\n\n\ndef analyze_scope(mathml, texts):\n mathml_no_ns = re.sub(r'\\s+xmlns=\"[^\"]*\"', \"\", mathml)\n root = ET.fromstring(mathml_no_ns)\n red_mstyles = [e for e in root.iter() if e.tag == \"mstyle\" and e.get(\"mathcolor\") == \"red\"]\n return {text: any(contains_mi(ms, text) for ms in red_mstyles) for text in texts}\n\n\nerror = None\ntry:\n simple_mathml = convert(SIMPLE_INPUT)\n complex_mathml = convert(COMPLEX_INPUT)\n simple_scope = analyze_scope(simple_mathml, [\"a\", \"b\"])\n complex_scope = analyze_scope(complex_mathml, [\"a\", \"b\", \"c\", \"d\"])\nexcept Exception as exc:\n simple_mathml = \"\"\n complex_mathml = \"\"\n simple_scope = {}\n complex_scope = {}\n error = {\"name\": type(exc).__name__, \"message\": str(exc)}\n\nstate = {\n \"simple_mathml\": simple_mathml,\n \"complex_mathml\": complex_mathml,\n \"simple_a_in_mstyle\": simple_scope.get(\"a\", False),\n \"simple_b_in_mstyle\": simple_scope.get(\"b\", False),\n \"complex_a_in_mstyle\": complex_scope.get(\"a\", False),\n \"complex_b_in_mstyle\": complex_scope.get(\"b\", False),\n \"complex_c_in_mstyle\": complex_scope.get(\"c\", False),\n \"complex_d_in_mstyle\": complex_scope.get(\"d\", False),\n \"error\": error,\n}\n\nstate_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n\nhtml = f\"\"\"\n\n\n\n{payload.get(\"title\", \"LaTeX color scope\")}\n\n\n\n LaTeX \\\\color scope
\n \n
Input: \\\\color{{red}}ab
\n {simple_mathml}\n
\n \n
Input: {{a\\\\color{{red}}bc}}d
\n {complex_mathml}\n
\n \n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf8\") as fh:\n fh.write(html)\n\nloaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n)\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n with open(trace_path, \"w\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "The \\color command should act as a switch coloring all subsequent siblings in the current group, not only the next token.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "LaTeX \\color switch scope",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr172.json b/data/rs/probes/roniemartinez_latex2mathml_pr172.json
new file mode 100644
index 0000000000000000000000000000000000000000..ebc08474947f7c32621aca4443c9fcaa5e9d60a2
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr172.json
@@ -0,0 +1,28 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.mover_count",
+ "adapter_state.diacritic_mo_count",
+ "adapter_state.render_ok"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr172",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The MathML contains three mover elements, one for each dotted identifier.",
+ "predicate_js": "(s) => s.adapter_state.render_ok === true && s.adapter_state.mover_count === 3 && s.adapter_state.diacritic_mo_count === 3",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport json\nimport os\nimport re\nimport sys\n\nsys.path.insert(0, \"/testbed\")\n\nfrom latex2mathml.converter import convert\n\npayload = {}\nif len(sys.argv) > 1:\n try:\n payload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf-8\"))\n except Exception:\n payload = {}\n\noutput_path = sys.argv[2] if len(sys.argv) > 2 else \"output.html\"\n\nLATEX = r\"\\ddot a \\dddot b \\ddddot c\"\n\nrender_ok = False\nerror = None\nmathml = \"\"\n\ntry:\n mathml = convert(LATEX)\n render_ok = True\nexcept Exception as exc:\n error = {\"name\": type(exc).__name__, \"message\": str(exc)}\n\nmover_count = len(re.findall(r\"[0-9A-Fa-f]+;\", mathml))\n\nstate = {\n \"render_ok\": render_ok,\n \"error\": error,\n \"mathml\": mathml,\n \"mover_count\": mover_count,\n \"diacritic_mo_count\": diacritic_mo_count,\n}\n\npage = f\"\"\"\n\n\n\n{payload.get('title', 'latex2mathml ddot test')}\n\n\n\n\n\n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf-8\") as fh:\n fh.write(page)\n\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n loaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n )\n with open(trace_path, \"w\", encoding=\"utf-8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "Converting \\ddot, \\dddot, and \\ddddot exercises the new DIACRITICS mapping; base renders the diacritic characters as standalone mi glyphs, while gold wraps each identifier in a mover element.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "ddot dddot ddddot diacritics",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr177.json b/data/rs/probes/roniemartinez_latex2mathml_pr177.json
new file mode 100644
index 0000000000000000000000000000000000000000..10bc32242b417916c2a9bf61d73109324b7fdc81
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr177.json
@@ -0,0 +1,27 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.dfrac_has_displaystyle",
+ "adapter_state.dfrac_mathml"
+ ],
+ "execution_mode": "browser",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr177",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The MathML for \\dfrac{a}{b} contains an mstyle wrapper with displaystyle=\"true\".",
+ "predicate_js": "(s) => s.adapter_state.dfrac_has_displaystyle === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import sys\nimport os\nimport json\nimport base64\n\nsys.path.insert(0, \"/testbed\")\n\nfrom latex2mathml.converter import convert\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf-8\"))\noutput_path = sys.argv[2]\n\nlatex_dfrac = r\"\\dfrac{a}{b}\"\nlatex_frac = r\"\\frac{a}{b}\"\n\nmathml_dfrac = convert(latex_dfrac)\nmathml_frac = convert(latex_frac)\n\nstate = {\n \"dfrac_mathml\": mathml_dfrac,\n \"frac_mathml\": mathml_frac,\n \"dfrac_has_displaystyle\": 'displaystyle=\"true\"' in mathml_dfrac,\n \"dfrac_has_mfrac\": \"\" in mathml_dfrac or \"\n\n\n\nlatex2mathml dfrac support\n\n\n\nlatex2mathml: \\\\dfrac support
\n\n\n{mathml_dfrac}\n
\n\n\n{mathml_frac}\n
\n\n\n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf-8\") as f:\n f.write(page)\n\nloaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n)\ntrace = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace:\n with open(trace, \"w\") as f:\n json.dump({\"repository_modules_loaded\": loaded}, f)",
+ "rationale": "The issue requests \\dfrac support; the fixed code path wraps the generated mfrac in an mstyle with displaystyle=\"true\", which the probe renders as live MathML alongside an ordinary \\frac for comparison.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "\\dfrac{a}{b} display-style fraction",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr180.json b/data/rs/probes/roniemartinez_latex2mathml_pr180.json
new file mode 100644
index 0000000000000000000000000000000000000000..3981be9f5be7bcdc3f73d4cb511e84f537158d24
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr180.json
@@ -0,0 +1,31 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.dots.mo_contents",
+ "adapter_state.dotsb.mo_contents",
+ "adapter_state.dotsc.mo_contents",
+ "adapter_state.dotsi.mo_contents",
+ "adapter_state.dotsm.mo_contents",
+ "adapter_state.dotso.mo_contents"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr180",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "Each ellipsis command produces a MathML element whose decoded text is the expected Unicode ellipsis character (… U+2026 for \\dots/\\dotsc/\\dotso, or ⋯ U+22EF for \\dotsb/\\dotsi/\\dotsm).",
+ "predicate_js": "(s) => {\n const st = s.adapter_state;\n return (\n st.dots.mo_contents.includes(\"\\u2026\") &&\n st.dotsb.mo_contents.includes(\"\\u22EF\") &&\n st.dotsc.mo_contents.includes(\"\\u2026\") &&\n st.dotsi.mo_contents.includes(\"\\u22EF\") &&\n st.dotsm.mo_contents.includes(\"\\u22EF\") &&\n st.dotso.mo_contents.includes(\"\\u2026\")\n );\n}",
+ "product_output_kind": "rendered_document",
+ "program_js": "import sys\nimport os\nimport json\nimport html\nimport base64\nimport xml.etree.ElementTree as ET\n\nsys.path.insert(0, \"/testbed\")\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\noutput_path = sys.argv[2]\n\nfrom latex2mathml.converter import convert\n\nCASES = {\n \"dots\": r\"x_1, \\dots, x_n\",\n \"dotsb\": r\"x_1 + \\dotsb + x_n\",\n \"dotsc\": r\"x_1, \\dotsc, x_n\",\n \"dotsi\": r\"A_1 \\dotsi A_n\",\n \"dotsm\": r\"x_1 \\dotsm x_n\",\n \"dotso\": r\"A_1 \\dotso A_n\",\n}\n\nMATHML_NS = \"http://www.w3.org/1998/Math/MathML\"\nMO_TAG = \"{{{}}}mo\".format(MATHML_NS)\nMI_TAG = \"{{{}}}mi\".format(MATHML_NS)\n\nstate = {}\nrows = []\n\nfor key, latex in CASES.items():\n try:\n mathml = convert(latex)\n except Exception as e:\n state[key] = {\n \"latex\": latex,\n \"mathml\": \"\",\n \"mo_contents\": [],\n \"mi_contents\": [],\n \"error\": str(e),\n }\n rows.append((latex, key, \"\", \"\", \"Error: \" + html.escape(str(e))))\n continue\n\n try:\n root = ET.fromstring(mathml)\n mo_contents = [elem.text for elem in root.iter(MO_TAG) if elem.text is not None]\n mi_contents = [elem.text for elem in root.iter(MI_TAG) if elem.text is not None]\n except Exception as e:\n mo_contents = []\n mi_contents = []\n\n state[key] = {\n \"latex\": latex,\n \"mathml\": mathml,\n \"mo_contents\": mo_contents,\n \"mi_contents\": mi_contents,\n }\n\n rows.append((\n latex,\n key,\n mathml,\n \", \".join(repr(t) for t in mo_contents),\n \", \".join(repr(t) for t in mi_contents),\n ))\n\nformula_blocks = []\nfor latex, key, mathml, mo_str, mi_str in rows:\n formula_blocks.append(\n ''.format(html.escape(latex), mathml)\n )\n\ntable_rows = []\nfor latex, key, mathml, mo_str, mi_str in rows:\n table_rows.append(\n '| {} | {} | {} |
'.format(\n html.escape(key), html.escape(mo_str), html.escape(mi_str)\n )\n )\n\npage = \"\"\"\n\n\n\nlatex2mathml ellipsis commands\n\n\n\nLaTeX ellipsis commands
\n{formulas}\nObserved MathML element contents
\n\n| Command | <mo> contents | <mi> contents |
\n{rows}\n
\n\n\n\n\"\"\".format(\n formulas=\"\\n\".join(formula_blocks),\n rows=\"\\n\".join(table_rows),\n state_json=json.dumps(state).replace(\"<\", \"\\\\u003c\"),\n)\n\nwith open(output_path, \"w\", encoding=\"utf8\") as f:\n f.write(page)\n\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n loaded = sorted({\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n })\n with open(trace_path, \"w\") as f:\n json.dump({\"repository_modules_loaded\": loaded}, f)",
+ "rationale": "Converting LaTeX strings with \\dots, \\dotsb, \\dotsc, \\dotsi, \\dotsm, and \\dotso exercises the symbol-to-operator mapping; the repository output MathML and its extracted / contents differ between the buggy and fixed revisions.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "LaTeX ellipsis commands render as MathML operators",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr181.json b/data/rs/probes/roniemartinez_latex2mathml_pr181.json
new file mode 100644
index 0000000000000000000000000000000000000000..fcc048faddfce60ba39e5d3677b01413af764dcc
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr181.json
@@ -0,0 +1,27 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.render_ok",
+ "adapter_state.has_displaystyle_mstyle"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr181",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML contains an mstyle element with displaystyle=\"true\" and scriptlevel=\"0\" around the display-style fractions.",
+ "predicate_js": "(s) => s.adapter_state.render_ok === true && s.adapter_state.has_displaystyle_mstyle === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport html\nimport json\nimport os\nimport sys\n\n# Decode the framework payload.\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf-8\"))\noutput_path = sys.argv[2]\n\nlatex = r\"\\frac ab + {\\displaystyle \\frac cd + \\frac ef} + \\frac gh\"\n\nrender_ok = False\nerror = None\nmathml = \"\"\n\ntry:\n sys.path.insert(0, \"/testbed\")\n from latex2mathml.converter import convert\n\n mathml = convert(latex)\n render_ok = True\nexcept Exception as exc:\n error = {\"name\": type(exc).__name__, \"message\": str(exc)}\n\n# Determine whether the fix's mstyle wrapper is present.\nhas_displaystyle_mstyle = (\n 'displaystyle=\"true\"' in mathml and 'scriptlevel=\"0\"' in mathml and \"\n\n\n\n{title}\n\n\n\nLaTeX: {html.escape(latex)}
\n\n{mathml if render_ok else html.escape(str(error))}\n
\n\n\n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf-8\") as fh:\n fh.write(page)\n\n# Record repository module evidence.\nloaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n)\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n with open(trace_path, \"w\", encoding=\"utf-8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "The issue's example LaTeX uses \\displaystyle inside a group; the fix maps it to an wrapper, which base omits.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "displaystyle wraps fractions in mstyle",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr182.json b/data/rs/probes/roniemartinez_latex2mathml_pr182.json
new file mode 100644
index 0000000000000000000000000000000000000000..f8fe54434c19a8afa5b6207f079217e438aba157
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr182.json
@@ -0,0 +1,28 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.mtable_count",
+ "adapter_state.mtr_count",
+ "adapter_state.has_displaystyle"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr182",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML contains an mtable with three rows and displaystyle=\"true\".",
+ "predicate_js": "(s) => s.adapter_state.mtable_count === 1 && s.adapter_state.mtr_count === 3 && s.adapter_state.has_displaystyle === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport json\nimport os\nimport re\nimport sys\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\")) if len(sys.argv) > 1 else {}\noutput_path = sys.argv[2]\n\nsys.path.insert(0, \"/testbed\")\n\nLATEX = \"\"\"\n\\\\displaylines{\n a = a\\\\cr\n \\\\text{if } a=b \\\\text{ then } b=a\\\\\\\\\n \\\\text{if } a=b \\\\text{ and } b=c \\\\text{ then } a=c\n}\n\"\"\"\n\nrender_ok = False\nerror = None\nmathml = \"\"\n\ntry:\n from latex2mathml.converter import convert\n\n mathml = convert(LATEX)\n render_ok = True\nexcept Exception as exc:\n error = {\"name\": type(exc).__name__, \"message\": str(exc)}\n\nmtable_count = len(re.findall(r\"Error: {error[\"name\"]}: {error[\"message\"]}'\n\npage = f\"\"\"\n\n\n\n{title}\n\n\n\n{body}\n\n\n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf8\") as fh:\n fh.write(page)\n\nloaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n)\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n with open(trace_path, \"w\", encoding=\"utf8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "The issue's example uses \\displaylines and \\cr; the buggy revision emits unrecognized command tokens, while the fixed revision emits an mtable with displaystyle and row spacing.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "\\displaylines with \\cr row separator",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr183.json b/data/rs/probes/roniemartinez_latex2mathml_pr183.json
new file mode 100644
index 0000000000000000000000000000000000000000..17df6e81841b7115148c0cf73aff581c73f4eea0
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr183.json
@@ -0,0 +1,27 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.exp_contains_exp_identifier",
+ "adapter_state.emptyset_contains_emptyset_glyph"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr183",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML for \\exp x contains exp and the MathML for \\emptyset contains the ∅ empty-set entity.",
+ "predicate_js": "(s) => s.adapter_state.render_ok === true && s.adapter_state.exp_contains_exp_identifier === true && s.adapter_state.emptyset_contains_emptyset_glyph === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import sys\nimport json\nimport base64\nimport os\nimport html\n\nsys.path.insert(0, \"/testbed\")\nfrom latex2mathml.converter import convert\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf-8\"))\noutput_path = sys.argv[2]\n\nrender_ok = True\nerror = None\nexp_mathml = \"\"\nemptyset_mathml = \"\"\n\ntry:\n exp_mathml = convert(r\"\\exp x\")\n emptyset_mathml = convert(r\"\\emptyset\")\nexcept Exception as e:\n render_ok = False\n error = {\"name\": type(e).__name__, \"message\": str(e)}\n\nstate = {\n \"render_ok\": render_ok,\n \"error\": error,\n \"exp_mathml\": exp_mathml,\n \"emptyset_mathml\": emptyset_mathml,\n \"exp_contains_exp_identifier\": \"exp\" in exp_mathml,\n \"emptyset_contains_emptyset_glyph\": \"∅\" in emptyset_mathml,\n}\n\nstate_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n\nexp_error_msg = \"Error rendering \\\\exp x
\"\nemptyset_error_msg = \"Error rendering \\\\emptyset
\"\n\npage = (\n \"\\n\"\n \"\\n\"\n \"\\n\"\n '\\n'\n \"\" + html.escape(payload.get(\"title\", \"latex2mathml probe\")) + \"\\n\"\n \"\\n\"\n \"\\n\"\n \"\\n\"\n \" latex2mathml: \\\\exp and \\\\emptyset
\\n\"\n ' \\n'\n '
\\\\exp x
\\n'\n \" \" + (exp_mathml if render_ok else exp_error_msg) + \"\\n\"\n '
' + html.escape(exp_mathml) + \"
\\n\"\n \"
\\n\"\n ' \\n'\n '
\\\\emptyset
\\n'\n \" \" + (emptyset_mathml if render_ok else emptyset_error_msg) + \"\\n\"\n '
' + html.escape(emptyset_mathml) + \"
\\n\"\n \"
\\n\"\n \" \\n\"\n \"\\n\"\n \"\\n\"\n)\n\nwith open(output_path, \"w\", encoding=\"utf-8\") as f:\n f.write(page)\n\nloaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n)\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n with open(trace_path, \"w\", encoding=\"utf-8\") as f:\n json.dump({\"repository_modules_loaded\": loaded}, f)",
+ "rationale": "The issue adds \\exp as a recognized function and \\emptyset as the empty-set glyph; converting both inputs exercises the patched code paths and the resulting MathML visibly differs.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "LaTeX \\exp and \\emptyset conversion to MathML",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr184.json b/data/rs/probes/roniemartinez_latex2mathml_pr184.json
new file mode 100644
index 0000000000000000000000000000000000000000..6b4411e8d8a313466d147223c21757d6a26d4df4
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr184.json
@@ -0,0 +1,28 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.has_enspace_mspace",
+ "adapter_state.mathml",
+ "adapter_state.render_ok"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr184",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML contains an mspace element with width 0.5em for \\enspace.",
+ "predicate_js": "(s) => s.adapter_state.has_enspace_mspace === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport json\nimport os\nimport sys\n\nsys.path.insert(0, \"/testbed\")\n\nfrom latex2mathml.converter import convert\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\noutput_path = sys.argv[2]\n\n\ndef esc_html(text):\n return (\n text.replace(\"&\", \"&\")\n .replace(\"<\", \"<\")\n .replace(\">\", \">\")\n .replace('\"', \""\")\n )\n\n\nlatex_input = r\"a\\enspace b\"\n\ntry:\n mathml = convert(latex_input)\n render_ok = True\n error = None\nexcept Exception as exc:\n mathml = \"\"\n render_ok = False\n error = {\"name\": type(exc).__name__, \"message\": str(exc)}\n\nhas_enspace_mspace = '\n\n\n\n{esc_html(payload.get('title', 'latex2mathml enspace'))}\n\n\n\nLaTeX: {esc_html(latex_input)}
\n\n{mathml if render_ok else f'
Error: {esc_html(error[\"name\"])}: {esc_html(error[\"message\"])}
'}\n
\n\n\n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf8\") as fh:\n fh.write(page)\n\nloaded = sorted(\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n)\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n with open(trace_path, \"w\", encoding=\"utf8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "The issue reports that \\enspace is unsupported; converting a\\enspace b exercises the new command mapping and the visible difference is the generated MathML spacing element.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "LaTeX \\enspace converted to MathML mspace",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr192.json b/data/rs/probes/roniemartinez_latex2mathml_pr192.json
new file mode 100644
index 0000000000000000000000000000000000000000..56f2433d6eb27452eefe2869bc5c8da67d6c162f
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr192.json
@@ -0,0 +1,27 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.grave_mover",
+ "adapter_state.hat_mover"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr192",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML contains wrappers with the grave (`) and hat (^) diacritic elements.",
+ "predicate_js": "(s) => s.adapter_state.grave_mover === true && s.adapter_state.hat_mover === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport html\nimport json\nimport os\nimport sys\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\noutput_path = sys.argv[2]\n\nsys.path.insert(0, \"/testbed\")\nfrom latex2mathml.converter import convert\n\nLATEX_GRAVE = r\"\\grave a \\grave{bc}\"\nLATEX_HAT = r\"\\hat a \\hat{bc}\"\n\nerror = None\ntry:\n mathml_grave = convert(LATEX_GRAVE)\n mathml_hat = convert(LATEX_HAT)\nexcept Exception as exc:\n error = {\"name\": type(exc).__name__, \"message\": str(exc)}\n mathml_grave = \"\"\n mathml_hat = \"\"\n\nstate = {\n \"render_ok\": error is None,\n \"error\": error,\n \"grave_mathml\": mathml_grave,\n \"hat_mathml\": mathml_hat,\n \"grave_mover\": \"\" in mathml_grave and \"`\" in mathml_grave,\n \"hat_mover\": \"\" in mathml_hat and \"^\" in mathml_hat,\n \"mover_count_grave\": mathml_grave.count(\"\"),\n \"mover_count_hat\": mathml_hat.count(\"\"),\n}\n\ntitle = html.escape(payload.get(\"title\", \"latex2mathml grave and hat\"))\nscript_state = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n\npage = f\"\"\"\n\n\n\n{title}\n\n\n\nGrave and Hat accents
\n{mathml_grave}
\n{mathml_hat}
\n\n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf8\") as fh:\n fh.write(page)\n\nloaded = sorted(\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n)\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n with open(trace_path, \"w\", encoding=\"utf8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "Converting \\grave and \\hat accents exercises the newly registered COMMANDS_WITH_ONE_PARAMETER path and the DIACRITICS mapping.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Grave and hat LaTeX accents",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr195.json b/data/rs/probes/roniemartinez_latex2mathml_pr195.json
new file mode 100644
index 0000000000000000000000000000000000000000..3e31bbbffb3343a54aab1fd073d616dc7d66e19e
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr195.json
@@ -0,0 +1,28 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.has_Huge_mstyle",
+ "adapter_state.has_huge_mstyle",
+ "adapter_state.missing_end_raised"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr195",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML contains both and wrappers, and the malformed environment raises MissingEndError.",
+ "predicate_js": "(s) => s.adapter_state.has_Huge_mstyle === true && s.adapter_state.has_huge_mstyle === true && s.adapter_state.missing_end_raised === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport html\nimport json\nimport os\nimport sys\n\npayload = {}\nif len(sys.argv) > 1 and sys.argv[1]:\n try:\n payload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf-8\"))\n except Exception:\n payload = {}\n\noutput_path = sys.argv[2] if len(sys.argv) > 2 else \"output.html\"\n\nsys.path.insert(0, \"/testbed\")\n\nimport latex2mathml.converter as conv\n\nLATEX_MAIN = r\"[{[\\Huge[\\huge[[}[\"\nLATEX_BAD = r\"\\begin{array}\\end{array1}\"\n\n\ndef capture_error(e):\n return {\"name\": type(e).__name__, \"message\": str(e)}\n\n\nmain_ok = False\nmain_error = None\nmain_mathml = \"\"\ntry:\n main_mathml = conv.convert(LATEX_MAIN)\n main_ok = True\nexcept Exception as e:\n main_error = capture_error(e)\n\nhas_Huge_mstyle = '' in main_mathml\nhas_huge_mstyle = '' in main_mathml\n\nbad_error = None\nmissing_end_raised = False\ntry:\n conv.convert(LATEX_BAD)\nexcept Exception as e:\n bad_error = capture_error(e)\n missing_end_raised = type(e).__name__ == \"MissingEndError\"\n\nstate = {\n \"render_ok\": main_ok,\n \"error\": main_error,\n \"mathml\": main_mathml,\n \"has_Huge_mstyle\": has_Huge_mstyle,\n \"has_huge_mstyle\": has_huge_mstyle,\n \"missing_end_raised\": missing_end_raised,\n \"missing_end_error\": bad_error,\n}\n\ntitle = html.escape(payload.get(\"title\", r\"latex2mathml \\Huge / \\huge sizing\"))\n\nrendered = main_mathml if main_ok else \"Error: \" + html.escape(str(main_error)) + \"
\"\n\npage = f\"\"\"\n\n\n\n{title}\n\n\n\n{title}
\nLaTeX input: {html.escape(LATEX_MAIN)}
\n{rendered}
\nNormal baseline:
\n\n\n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf-8\") as f:\n f.write(page)\n\nloaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n)\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n with open(trace_path, \"w\", encoding=\"utf-8\") as f:\n json.dump({\"repository_modules_loaded\": loaded}, f)",
+ "rationale": "Uses the official test input [{[\\Huge[\\huge[[}[ so base renders \\Huge and \\huge as literal identifiers while gold wraps the remaining content in and , which the browser's MathML renderer scales visibly.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Huge and huge font sizing in generated MathML",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr199.json b/data/rs/probes/roniemartinez_latex2mathml_pr199.json
new file mode 100644
index 0000000000000000000000000000000000000000..3d554b82af96048816e5c86e0c47976436aee721
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr199.json
@@ -0,0 +1,32 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.render_ok",
+ "adapter_state.mathml",
+ "adapter_state.token_count",
+ "adapter_state.mi_texts",
+ "adapter_state.mo_texts",
+ "adapter_state.movablelimits_mo_count",
+ "adapter_state.integral_mo_count"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr199",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML contains the expected elements for all four commands: a ker, two movablelimits elements, and three elements forming ∫⋯∫.",
+ "predicate_js": "(s) => {\n const a = s.adapter_state;\n return a.render_ok === true &&\n a.token_count === 6 &&\n a.movablelimits_mo_count === 2 &&\n a.integral_mo_count === 3 &&\n Array.isArray(a.mi_texts) && a.mi_texts.indexOf(\"ker\") >= 0 &&\n Array.isArray(a.mo_texts) && a.mo_texts.indexOf(\"inj\\u2006lim\") >= 0;\n}",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport html\nimport json\nimport os\nimport sys\nimport xml.etree.ElementTree as ET\n\nsys.path.insert(0, \"/testbed\")\n\nfrom latex2mathml.converter import convert\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\noutput_path = sys.argv[2]\n\nlatex = r\"\\ker \\intop \\injlim \\idotsint\"\n\nerror = None\nmathml = \"\"\ntry:\n mathml = convert(latex)\nexcept Exception as exc:\n error = {\"name\": type(exc).__name__, \"message\": str(exc)}\n\ntoken_count = 0\nmi_texts = []\nmo_texts = []\nmovablelimits_mo_count = 0\nintegral_mo_count = 0\n\nif error is None and mathml:\n try:\n root = ET.fromstring(mathml)\n ns = {\"m\": \"http://www.w3.org/1998/Math/MathML\"}\n for elem in root.findall(\".//m:mi\", ns):\n mi_texts.append((elem.text or \"\").strip())\n token_count += 1\n for elem in root.findall(\".//m:mo\", ns):\n text = (elem.text or \"\").strip()\n mo_texts.append(text)\n if elem.get(\"movablelimits\") == \"true\":\n movablelimits_mo_count += 1\n if text == \"\\u222B\":\n integral_mo_count += 1\n token_count += 1\n except Exception as parse_exc:\n error = {\"name\": type(parse_exc).__name__, \"message\": str(parse_exc)}\n\nstate = {\n \"render_ok\": error is None,\n \"error\": error,\n \"latex\": latex,\n \"mathml\": mathml,\n \"token_count\": token_count,\n \"mi_texts\": mi_texts,\n \"mo_texts\": mo_texts,\n \"movablelimits_mo_count\": movablelimits_mo_count,\n \"integral_mo_count\": integral_mo_count,\n}\n\ntitle = html.escape(payload.get(\"title\", \"latex2mathml probe\"))\n\npage = (\n \"\"\n \"\"\n \"\"\n ''\n \"\" + title + \"\"\n \"\"\n \"\"\n \"\" + title + \"
\"\n \"LaTeX: \" + html.escape(latex) + \"
\"\n + (mathml if error is None else '' + html.escape(error[\"name\"] + \": \" + error[\"message\"]) + \"
\")\n + \"\"\n + \"\"\n)\n\nwith open(output_path, \"w\", encoding=\"utf-8\") as fh:\n fh.write(page)\n\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n loaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n )\n with open(trace_path, \"w\", encoding=\"utf-8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "Converting an expression containing the four reported commands exercises the new converter branches; the buggy revision emits each command as a literal \\command identifier, while the fixed revision emits ker, movablelimits integral and inj-lim operators, and the integral-dots-integral operator sequence.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Missing LaTeX commands \\ker, \\intop, \\injlim, \\idotsint",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr200.json b/data/rs/probes/roniemartinez_latex2mathml_pr200.json
new file mode 100644
index 0000000000000000000000000000000000000000..c604870f13a44d10436b6f5e3a8b06083d84bdfe
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr200.json
@@ -0,0 +1,33 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.render_ok",
+ "adapter_state.mspace_count",
+ "adapter_state.has_kern_mspace",
+ "adapter_state.has_mu_width",
+ "adapter_state.has_negthinspace",
+ "adapter_state.has_nobreakspace_mtext"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr200",
+ "language": "python",
+ "payload": {
+ "title": "Spacing commands produce correct mspace/mtext elements"
+ },
+ "predicate_description": "The generated MathML contains the expected mspace elements for \\kern, mu widths, negative spaces, and mtext non-breaking spaces.",
+ "predicate_js": "(s) => s.adapter_state.render_ok === true &&\n s.adapter_state.mspace_count >= 18 &&\n s.adapter_state.has_kern_mspace === true &&\n s.adapter_state.has_mu_width === true &&\n s.adapter_state.has_negthinspace === true &&\n s.adapter_state.has_nobreakspace_mtext === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport html\nimport json\nimport os\nimport sys\n\ninput_payload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf-8\"))\noutput_path = sys.argv[2]\n\nsys.path.insert(0, \"/testbed\")\n\nfrom latex2mathml.converter import convert\n\nLATEX = (\n r\"|\\,|\\:|\\>|\\;|\\\\|\\!|\\quad|\\qquad|\\hspace1em|\\hspace{10ex}|\\enspace|\\hskip1em|\"\n r\"\\kern-1.5pt|\\mskip18mu|\\mspace18mu|\\negthinspace|\\negmedspace|\\negthickspace|\"\n r\"\\nobreakspace|\\space|\\thinspace|\"\n)\n\nrender_ok = False\nerror = None\nmathml = \"\"\n\ntry:\n mathml = convert(LATEX)\n render_ok = True\nexcept Exception as exc:\n error = {\"name\": type(exc).__name__, \"message\": str(exc)}\n\nstate = {\n \"render_ok\": render_ok,\n \"error\": error,\n \"mspace_count\": mathml.count(\"\"\n\nstate_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n\npage = (\n '\\n'\n '\\n'\n '\\n'\n '\\n'\n '' + title + '\\n'\n '\\n'\n '\\n'\n '\\n'\n 'Rendered MathML for the spacing-command expression:
\\n'\n + body_content + '\\n'\n '\\n'\n '\\n'\n '\\n'\n)\n\nwith open(output_path, \"w\", encoding=\"utf-8\") as fh:\n fh.write(page)\n\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n loaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n )\n with open(trace_path, \"w\", encoding=\"utf-8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "The issue's example exercises every new spacing command and the mu unit; on the buggy revision they are tokenized as ordinary letters/numbers, while the fixed revision emits and elements with the requested widths.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Spacing commands produce correct mspace/mtext elements",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr201.json b/data/rs/probes/roniemartinez_latex2mathml_pr201.json
new file mode 100644
index 0000000000000000000000000000000000000000..558fcb286872ffda3b6870be6b82037f55ea70fe
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr201.json
@@ -0,0 +1,28 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.style_convert_ok",
+ "adapter_state.sizing_mathsize_count",
+ "adapter_state.style_mstyle_count"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr201",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The style snippet converts without error and produces four nested mstyle elements, and the sizing snippet produces five mathsize attributes.",
+ "predicate_js": "(s) => s.adapter_state.style_convert_ok === true && s.adapter_state.sizing_mathsize_count === 5 && s.adapter_state.style_mstyle_count === 4",
+ "product_output_kind": "rendered_document",
+ "program_js": "import sys\nimport os\nimport json\nimport base64\nimport html\n\nsys.path.insert(0, \"/testbed\")\nfrom latex2mathml.converter import convert\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\")) if len(sys.argv) > 1 else {}\noutput_path = sys.argv[2] if len(sys.argv) > 2 else \"out.html\"\n\nSIZING_LATEX = r\"[{[\\LARGE[\\Large[\\large[\\normalsize[\\scriptsize[[}[\"\nSTYLE_LATEX = r\"\\frac ab+\\displaystyle\\frac cd+\\textstyle\\frac ef+\\scriptstyle\\frac gh+\\scriptscriptstyle\\frac ij\"\n\n\ndef convert_or_error(latex):\n try:\n return True, convert(latex), None\n except Exception as exc:\n return False, \"\", exc\n\n\nsizing_ok, sizing_mathml, sizing_err = convert_or_error(SIZING_LATEX)\nstyle_ok, style_mathml, style_err = convert_or_error(STYLE_LATEX)\n\nstate = {\n \"sizing_latex\": SIZING_LATEX,\n \"style_latex\": STYLE_LATEX,\n \"sizing_convert_ok\": sizing_ok,\n \"style_convert_ok\": style_ok,\n \"sizing_mathml\": sizing_mathml if sizing_ok else \"\",\n \"style_mathml\": style_mathml if style_ok else \"\",\n \"style_error_name\": type(style_err).__name__ if style_err else \"\",\n \"style_error_message\": str(style_err) if style_err else \"\",\n \"sizing_mathsize_count\": sizing_mathml.count('mathsize=\"') if sizing_ok else 0,\n \"style_mstyle_count\": style_mathml.count(\"Sizing commands\")\nif sizing_ok:\n sections.append(sizing_mathml)\nelse:\n sections.append(\"\" + html.escape(type(sizing_err).__name__ + \": \" + str(sizing_err)) + \"
\")\n\nsections.append(\"Style commands
\")\nif style_ok:\n sections.append(style_mathml)\nelse:\n sections.append(\"\" + html.escape(type(style_err).__name__ + \": \" + str(style_err)) + \"
\")\n\nbody = \"\".join(sections)\nstate_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n\npage = (\n \"\\n\\n\\n\\n\"\n + title\n + \"\\n\\n\\n\\n\"\n + body\n + \"\\n\\n\\n\"\n)\n\nwith open(output_path, \"w\", encoding=\"utf8\") as fh:\n fh.write(page)\n\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n loaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n )\n with open(trace_path, \"w\", encoding=\"utf8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "Converting LaTeX that uses \\LARGE...\\scriptsize and \\displaystyle...\\scriptscriptstyle exercises the missing sizing support and the \\textstyle tokenizer crash; the generated MathML is mounted as live DOM.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Sizing and style LaTeX commands",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr204.json b/data/rs/probes/roniemartinez_latex2mathml_pr204.json
new file mode 100644
index 0000000000000000000000000000000000000000..92bed457277eaad3cec1647fe15f13ec61d940a0
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr204.json
@@ -0,0 +1,29 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.render_ok",
+ "adapter_state.mathml.X_123",
+ "adapter_state.mathml.X_mathrm_min",
+ "adapter_state.mathml.x_sup_dot5"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr204",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML scopes only the first digit in X_123, fully subscripts \\mathrm{min}, and keeps .5 together as the superscript of x.",
+ "predicate_js": "(s) => {\n const m = s.adapter_state.mathml;\n return (\n s.adapter_state.render_ok === true &&\n !!m &&\n typeof m.X_123 === \"string\" &&\n m.X_123.includes(\"1\") &&\n m.X_123.includes(\"23\") &&\n typeof m.X_mathrm_min === \"string\" &&\n m.X_mathrm_min.includes(\"X\") &&\n m.X_mathrm_min.includes(\">m\") &&\n m.X_mathrm_min.includes(\">i\") &&\n m.X_mathrm_min.includes(\">n\") &&\n m.X_mathrm_min.indexOf(\"\") > m.X_mathrm_min.indexOf(\">n\") &&\n typeof m.x_sup_dot5 === \"string\" &&\n (m.x_sup_dot5.includes(\".5\") || m.x_sup_dot5.includes(\".5\")) &&\n !m.x_sup_dot5.includes(\"5\")\n );\n}",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport json\nimport os\nimport sys\n\nsys.path.insert(0, \"/testbed\")\n\noutput_path = sys.argv[2]\n\npayload = {}\ntry:\n payload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\nexcept Exception:\n pass\n\nfrom latex2mathml.converter import convert\n\nexpressions = {\n \"X_123\": r\"X_123\",\n \"X_mathrm_min\": r\"X_\\mathrm{min}\",\n \"x_sup_dot5\": r\"x^.5\",\n}\n\nmathml = {}\nrender_ok = True\nerror = None\n\ntry:\n for key, latex in expressions.items():\n mathml[key] = convert(latex)\nexcept Exception as e:\n render_ok = False\n error = {\"name\": type(e).__name__, \"message\": str(e)}\n\nstate = {\n \"render_ok\": render_ok,\n \"error\": error,\n \"mathml\": mathml,\n}\n\ndef esc(s):\n return (\n s.replace(\"&\", \"&\")\n .replace(\"<\", \"<\")\n .replace(\">\", \">\")\n .replace('\"', \""\")\n )\n\nparts = [\n \"\",\n '',\n esc(payload.get(\"title\", \"latex2mathml probe\")),\n \"\",\n \"\",\n \"\",\n]\n\nif render_ok:\n for key, latex in expressions.items():\n parts.append(\"\")\n parts.append(\"\" + esc(latex) + \"\")\n parts.append(mathml[key])\n parts.append(\"\")\nelse:\n parts.append(\"\" + esc(error[\"name\"] + \": \" + error[\"message\"]) + \"
\")\n\nparts.append(\"\")\n\nwith open(output_path, \"w\", encoding=\"utf8\") as fh:\n fh.write(\"\".join(parts))\n\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n loaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n )\n with open(trace_path, \"w\", encoding=\"utf8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "The issue's three example inputs (X_123, X_\\mathrm{min}, x^.5) produce visibly different MathML scoping before and after the tokenizer/walker fix, so rendering them shows the layout change.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Subscript and decimal scoping in generated MathML",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr205.json b/data/rs/probes/roniemartinez_latex2mathml_pr205.json
new file mode 100644
index 0000000000000000000000000000000000000000..c52db02aba91590b27990ba2c7a11668cd6ef604
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr205.json
@@ -0,0 +1,35 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.render_ok",
+ "adapter_state.has_double_struck",
+ "adapter_state.has_bold",
+ "adapter_state.has_script",
+ "adapter_state.has_fraktur",
+ "adapter_state.has_italic",
+ "adapter_state.has_normal",
+ "adapter_state.has_sans_serif",
+ "adapter_state.has_monospace",
+ "adapter_state.total_mathvariant_count"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr205",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML contains mathvariant attributes for sans-serif, monospace, double-struck, bold, script, fraktur, italic and normal variants.",
+ "predicate_js": "(s) => {\n const a = s.adapter_state;\n return a.render_ok === true &&\n a.has_double_struck === true &&\n a.has_bold === true &&\n a.has_script === true &&\n a.has_fraktur === true &&\n a.has_italic === true &&\n a.has_normal === true &&\n a.has_sans_serif === true &&\n a.has_monospace === true;\n}",
+ "product_output_kind": "rendered_document",
+ "program_js": "import sys\nimport os\nimport json\nimport re\nimport base64\n\ndef main():\n payload_b64 = sys.argv[1]\n output_path = sys.argv[2]\n\n try:\n payload = json.loads(base64.b64decode(payload_b64).decode(\"utf-8\"))\n except Exception:\n payload = {}\n\n sys.path.insert(0, \"/testbed\")\n from latex2mathml.converter import convert\n\n cases = [\n (r\"\\mathbb{AB}\", \"double-struck\"),\n (r\"\\mathbf{AB}\", \"bold\"),\n (r\"\\mathcal{AB}\", \"script\"),\n (r\"\\mathfrak{AB}\", \"fraktur\"),\n (r\"\\mathit{AB}\", \"italic\"),\n (r\"\\mathrm{AB}\", \"normal\"),\n (r\"\\mathscr{AB}\", \"script\"),\n (r\"\\mathsf{AB}\", \"sans-serif\"),\n (r\"\\mathtt{AB}\", \"monospace\"),\n ]\n\n rows = []\n total_counts = {}\n render_ok = True\n error = None\n\n for latex, expected_variant in cases:\n try:\n mathml = convert(latex)\n except Exception as exc:\n render_ok = False\n error = {\"name\": type(exc).__name__, \"message\": str(exc)}\n mathml = ''\n\n variants = re.findall(r'mathvariant=\"([^\"]+)\"', mathml)\n counts = {}\n for variant in variants:\n counts[variant] = counts.get(variant, 0) + 1\n total_counts[variant] = total_counts.get(variant, 0) + 1\n\n rows.append(\n {\n \"label\": latex,\n \"expected_variant\": expected_variant,\n \"mathml\": mathml,\n \"variant_counts\": counts,\n }\n )\n\n state = {\n \"render_ok\": render_ok,\n \"error\": error,\n \"inputs\": rows,\n \"mathvariant_counts\": total_counts,\n \"total_mathvariant_count\": sum(total_counts.values()),\n \"has_double_struck\": total_counts.get(\"double-struck\", 0) > 0,\n \"has_bold\": total_counts.get(\"bold\", 0) > 0,\n \"has_script\": total_counts.get(\"script\", 0) > 0,\n \"has_fraktur\": total_counts.get(\"fraktur\", 0) > 0,\n \"has_italic\": total_counts.get(\"italic\", 0) > 0,\n \"has_normal\": total_counts.get(\"normal\", 0) > 0,\n \"has_sans_serif\": total_counts.get(\"sans-serif\", 0) > 0,\n \"has_monospace\": total_counts.get(\"monospace\", 0) > 0,\n }\n\n parts = [\n \"\",\n \"\",\n \"\",\n '',\n \"latex2mathml math font commands\",\n \"\",\n \"\",\n \"\",\n \"LaTeX math font commands rendered as MathML
\",\n ]\n\n for row in rows:\n parts.append(\n f'{row[\"label\"]} {row[\"mathml\"]}
'\n )\n\n state_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n parts.append(\n f\"\"\n )\n parts.append(\"\")\n parts.append(\"\")\n\n with open(output_path, \"w\", encoding=\"utf-8\") as fh:\n fh.write(\"\\n\".join(parts))\n\n trace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\n if trace_path:\n loaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n )\n with open(trace_path, \"w\", encoding=\"utf-8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)\n\n\nif __name__ == \"__main__\":\n main()",
+ "rationale": "The issue asks for \\mathbb, \\mathbf, \\mathcal, \\mathfrak, \\mathit, \\mathrm, \\mathscr, \\mathsf and \\mathtt to emit mathvariant attributes; this scenario converts a representative set of multi-letter font commands and mounts the resulting MathML so the browser can render the glyph change.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "LaTeX math font commands rendered to MathML",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr206.json b/data/rs/probes/roniemartinez_latex2mathml_pr206.json
new file mode 100644
index 0000000000000000000000000000000000000000..9846e88b6e014d94d077bf5e304869f7f1edbfe1
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr206.json
@@ -0,0 +1,29 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.plain_mstyle_present",
+ "adapter_state.plain_mtext_count",
+ "adapter_state.mixed_mstyle_present",
+ "adapter_state.mixed_mtext_count"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr206",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The converter produces an mstyle with displaystyle='false' and mtext children for both plain and mixed \\hbox inputs.",
+ "predicate_js": "(s) =>\n s.adapter_state.mixed_mstyle_present === true &&\n s.adapter_state.mixed_mtext_count >= 2 &&\n s.adapter_state.plain_mstyle_present === true &&\n s.adapter_state.plain_mtext_count >= 1",
+ "product_output_kind": "rendered_document",
+ "program_js": "import sys\nimport json\nimport os\nimport base64\nimport re\nimport html\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\noutput_path = sys.argv[2]\n\nsys.path.insert(0, \"/testbed\")\nfrom latex2mathml.converter import convert\n\nexamples = [\n r\"\\hbox{This is a sentence.}\",\n r\"\\hbox{left $x > 0$ center \\$x > 0\\$ right}\",\n]\n\nresults = []\nsections = []\n\nfor latex in examples:\n try:\n mathml = convert(latex)\n ok = True\n err = None\n except Exception as exc:\n mathml = \"\"\n ok = False\n err = {\"name\": type(exc).__name__, \"message\": str(exc)}\n\n has_mstyle = bool(re.search(r']*displaystyle=\"false\"', mathml))\n mtext_count = len(re.findall(r''\n f'Input: {html.escape(latex)}
'\n f'{mathml}
'\n f''\n )\n\nstate = {\n \"examples\": results,\n \"plain_mstyle_present\": results[0][\"has_mstyle\"],\n \"plain_mtext_count\": results[0][\"mtext_count\"],\n \"mixed_mstyle_present\": results[1][\"has_mstyle\"],\n \"mixed_mtext_count\": results[1][\"mtext_count\"],\n \"mixed_mrow_count\": results[1][\"mrow_count\"],\n}\n\nstate_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n\npage = f'''\n\n\n\n{html.escape(payload.get(\"title\", \"latex2mathml hbox\"))}\n\n\n\n\\\\hbox support
\n{\"\".join(sections)}\n\n\n'''\n\nwith open(output_path, \"w\", encoding=\"utf8\") as fh:\n fh.write(page)\n\nloaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n)\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n with open(trace_path, \"w\", encoding=\"utf8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "The issue asks for \\hbox{...} to produce a horizontal text box; before the fix the command is unrecognized and renders as separate math identifiers, while the fix emits an mstyle wrapper with mtext and inline math segments.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "hbox command renders as horizontal text box",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr207.json b/data/rs/probes/roniemartinez_latex2mathml_pr207.json
new file mode 100644
index 0000000000000000000000000000000000000000..f038740b10be1d54bf6de42921d77b91a902128a
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr207.json
@@ -0,0 +1,28 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.render_ok",
+ "adapter_state.mtext_content",
+ "adapter_state.mi_content"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr207",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The MathML contains an mtext with literal '\\alpha' and an mi with the alpha entity 'α'.",
+ "predicate_js": "(s) => s.adapter_state.render_ok === true && s.adapter_state.mtext_content === \"\\\\alpha \" && s.adapter_state.mi_content === \"α\"",
+ "product_output_kind": "rendered_document",
+ "program_js": "import sys\nimport os\nimport json\nimport re\nimport base64\n\nsys.path.insert(0, \"/testbed\")\nfrom latex2mathml.converter import convert\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\noutput_path = sys.argv[2]\n\nlatex = r\"\\hbox{\\alpha $\\alpha$}\"\n\ntry:\n mathml = convert(latex)\n render_ok = True\n error = None\nexcept Exception as e:\n mathml = \"\"\n render_ok = False\n error = {\"name\": type(e).__name__, \"message\": str(e)}\n\nmtext_content = \"\"\nmi_content = \"\"\nif render_ok:\n m = re.search(r\"(.*?)\", mathml)\n if m:\n mtext_content = m.group(1)\n mrow = re.search(r\"]*>.*?(.*?).*?\", mathml, re.DOTALL)\n if mrow:\n mi = re.search(r\"(.*?)\", mrow.group(1))\n if mi:\n mi_content = mi.group(1)\n\nstate = {\n \"render_ok\": render_ok,\n \"error\": error,\n \"mathml\": mathml,\n \"mtext_content\": mtext_content,\n \"mi_content\": mi_content,\n}\n\nbody = mathml if render_ok else f'{error[\"name\"]}: {error[\"message\"]}
'\n\nhtml = f\"\"\"\n\n\n\n{payload.get(\"title\", \"latex2mathml hbox test\")}\n\n\n\n{body}
\nLaTeX: {latex}
\n\n\n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf8\") as f:\n f.write(html)\n\nloaded = sorted({m.__file__ for m in sys.modules.values() if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__})\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n with open(trace_path, \"w\") as f:\n json.dump({\"repository_modules_loaded\": loaded}, f)",
+ "rationale": "The issue's exact input \\hbox{\\alpha $\\alpha$} triggers the MATH_MODE_PATTERN bug where a backslash in text is misinterpreted, producing wrong mtext and mi contents.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "hbox with backslash text followed by inline math",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr209.json b/data/rs/probes/roniemartinez_latex2mathml_pr209.json
new file mode 100644
index 0000000000000000000000000000000000000000..1a0473be69b296db34d378de9516b974a4026843
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr209.json
@@ -0,0 +1,27 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.render_ok",
+ "adapter_state.raw_token_count"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr209",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The conversion succeeds and no output MathML element still contains a raw backslash-prefixed token.",
+ "predicate_js": "(s) => s.adapter_state.render_ok === true && s.adapter_state.raw_token_count === 0",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport html\nimport json\nimport os\nimport sys\nfrom xml.etree import ElementTree as ET\n\nsys.path.insert(0, \"/testbed\")\n\nfrom latex2mathml.converter import convert\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\noutput_path = sys.argv[2]\n\nLATEX = (\n r\"\\lg x + \\sinh x + \\tanh x + \\liminf_{n} a_n + \\limsup_{n} b_n + \\projlim_{n} c_n + \\Pr(A) + \"\n r\"\\ldotp + \\llless + \\lt + \\lvert x \\rvert + \\lVert y \\rVert + \\lvertneqq + \\ngeqq + \\nshortmid + \"\n r\"\\nshortparallel + \\nsubseteqq + \\omicron + \\S + \\shortmid + \\smallfrown + \\smallint + \\smallsmile + \"\n r\"\\surd + \\thicksim + \\thickapprox + \\varsubsetneqq + \\varsupsetneq + \\varsupsetneqq\"\n)\n\nrender_ok = False\nerror = None\nmathml = \"\"\nstate = {\n \"render_ok\": False,\n \"error\": None,\n \"raw_token_count\": 0,\n \"operator_count\": 0,\n \"movablelimits_count\": 0,\n \"largeop_false_count\": 0,\n \"stretchy_false_count\": 0,\n}\n\ntry:\n mathml = convert(LATEX, display=\"block\")\n render_ok = True\nexcept Exception as exc:\n error = {\"name\": type(exc).__name__, \"message\": str(exc)}\n\nstate[\"render_ok\"] = render_ok\nstate[\"error\"] = error\n\nif render_ok:\n try:\n root = ET.fromstring(mathml)\n\n def local_tag(el):\n return el.tag.split(\"}\", 1)[-1] if \"}\" in el.tag else el.tag\n\n state[\"raw_token_count\"] = sum(\n 1\n for el in root.iter()\n if local_tag(el) == \"mi\" and el.text and el.text.startswith(\"\\\\\")\n )\n state[\"operator_count\"] = sum(\n 1 for el in root.iter() if local_tag(el) == \"mo\"\n )\n state[\"movablelimits_count\"] = sum(\n 1\n for el in root.iter()\n if local_tag(el) == \"mo\" and el.get(\"movablelimits\") == \"true\"\n )\n state[\"largeop_false_count\"] = sum(\n 1\n for el in root.iter()\n if local_tag(el) == \"mo\" and el.get(\"largeop\") == \"false\"\n )\n state[\"stretchy_false_count\"] = sum(\n 1\n for el in root.iter()\n if local_tag(el) == \"mo\" and el.get(\"stretchy\") == \"false\"\n )\n except Exception as exc:\n state[\"parse_error\"] = str(exc)\n\npage = (\n \"\"\n \"\"\n \"\"\n \"\"\n \"\" + html.escape(str(payload.get(\"title\", \"latex2mathml probe\"))) + \"\"\n \"\"\n \"\"\n \"\"\n \"\" + mathml + \"
\"\n \"\"\n \"\"\n \"\"\n)\n\nwith open(output_path, \"w\", encoding=\"utf8\") as fh:\n fh.write(page)\n\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n loaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n )\n with open(trace_path, \"w\", encoding=\"utf8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "Converting an expression that uses every command listed in the issue exercises the new symbol/function mappings; the buggy revision emits them as raw \\token identifiers while the fixed revision emits proper MathML mo/mi elements and Unicode entities.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Newly supported LaTeX commands rendered as MathML",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr210.json b/data/rs/probes/roniemartinez_latex2mathml_pr210.json
new file mode 100644
index 0000000000000000000000000000000000000000..5c87b67eb3197376495ea4f644d1aced7e0f8b4a
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr210.json
@@ -0,0 +1,30 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.style_attributes",
+ "adapter_state.mbox_mtexts",
+ "adapter_state.mathsize_values",
+ "adapter_state.mkern_widths",
+ "adapter_state.idotsint_grouped"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr210",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML contains style attributes for \\style, an mtext inside an mstyle for \\mbox, mathsize attributes for \\small/\\tiny/\\Tiny, an mspace width for \\mkern, and an inner mrow grouping the three \\idotsint operators.",
+ "predicate_js": "(s) => {\n const st = s.adapter_state;\n const styles = st.style_attributes || [];\n const sizes = st.mathsize_values || [];\n const widths = st.mkern_widths || [];\n return styles.includes(\"color:red\") &&\n styles.includes(\"color:green\") &&\n (st.mbox_mtexts || []).some(t => t.includes(\"sentence\")) &&\n sizes.includes(\"0.85em\") &&\n sizes.includes(\"0.5em\") &&\n sizes.includes(\"0.6em\") &&\n widths.includes(\"10mu\") &&\n st.idotsint_grouped === true;\n}",
+ "product_output_kind": "rendered_document",
+ "program_js": "import json\nimport os\nimport sys\nimport xml.etree.ElementTree as ET\n\nsys.path.insert(0, \"/testbed\")\nfrom latex2mathml.converter import convert\n\n\ndef main():\n payload = json.loads(\n bytes(sys.argv[1], \"ascii\") if sys.version_info >= (3, 0) else sys.argv[1].decode(\"base64\")\n ) if False else {}\n output_path = sys.argv[2]\n\n cases = {\n \"style\": r\"\\frac{\\style{color:red}{x+1}}{\\style{color:green}y+2}\",\n \"mbox\": r\"\\mbox{This is a sentence.}\",\n \"sizes\": r\"{\\small x}{\\tiny y}{\\Tiny z}\",\n \"mkern\": r\"x\\mkern10mu y\",\n \"idotsint\": r\"\\idotsint\",\n }\n\n mathml = {}\n errors = {}\n for key, latex in cases.items():\n try:\n mathml[key] = convert(latex)\n except Exception as exc:\n mathml[key] = ''\n errors[key] = f\"{type(exc).__name__}: {exc}\"\n\n observations = {\n \"style_attributes\": [],\n \"mbox_mtexts\": [],\n \"mathsize_values\": [],\n \"mkern_widths\": [],\n \"idotsint_grouped\": False,\n \"errors\": errors,\n }\n\n for key, xml in mathml.items():\n try:\n root = ET.fromstring(xml)\n ns = \"{http://www.w3.org/1998/Math/MathML}\"\n if key == \"style\":\n observations[\"style_attributes\"] = [\n elem.attrib[\"style\"]\n for elem in root.iter()\n if \"style\" in elem.attrib\n ]\n elif key == \"mbox\":\n observations[\"mbox_mtexts\"] = [\n mtext.text or \"\"\n for mstyle in root.iter(f\"{ns}mstyle\")\n if mstyle.attrib.get(\"displaystyle\") == \"false\"\n for mtext in mstyle.iter(f\"{ns}mtext\")\n ]\n elif key == \"sizes\":\n observations[\"mathsize_values\"] = [\n mstyle.attrib[\"mathsize\"]\n for mstyle in root.iter(f\"{ns}mstyle\")\n if \"mathsize\" in mstyle.attrib\n ]\n elif key == \"mkern\":\n observations[\"mkern_widths\"] = [\n mspace.attrib.get(\"width\", \"\")\n for mspace in root.iter(f\"{ns}mspace\")\n if \"width\" in mspace.attrib\n ]\n elif key == \"idotsint\":\n for mrow in root.iter(f\"{ns}mrow\"):\n if len(list(mrow.iter(f\"{ns}mo\"))) == 3:\n observations[\"idotsint_grouped\"] = True\n break\n except Exception as exc:\n observations[key + \"_parse_error\"] = str(exc)\n\n html = (\n \"\"\n \"\"\n \"\"\n \"\"\n \"latex2mathml PR210\"\n \"\"\n \"\"\n \"\"\n \"latex2mathml: \\\\style, \\\\mbox, \\\\mkern, sizes, \\\\idotsint
\"\n )\n\n for key in (\"style\", \"mbox\", \"sizes\", \"mkern\", \"idotsint\"):\n html += f\"\"\n\n html += (\n \"\"\n \"\"\n \"\"\n )\n\n with open(output_path, \"w\", encoding=\"utf-8\") as fh:\n fh.write(html)\n\n trace = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\n if trace:\n loaded = sorted({\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n })\n with open(trace, \"w\", encoding=\"utf-8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)\n\n\nif __name__ == \"__main__\":\n main()",
+ "rationale": "The issue requests \\style, \\mbox, \\mkern, \\small/\\tiny/\\Tiny and grouped \\idotsint; this probe converts representative LaTeX inputs through latex2mathml and mounts the resulting MathML in a browser page so the fixed revision emits styled, sized, spaced and grouped MathML while the buggy revision leaves the commands as raw identifiers.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "LaTeX style, mbox, mkern, sizes and idotsint in MathML",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr212.json b/data/rs/probes/roniemartinez_latex2mathml_pr212.json
new file mode 100644
index 0000000000000000000000000000000000000000..2f659a77e7eb9f1d764f49cc637885db8c915f8e
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr212.json
@@ -0,0 +1,38 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.mathring_ok",
+ "adapter_state.overleftarrow_ok",
+ "adapter_state.overleftrightarrow_ok",
+ "adapter_state.overparen_ok",
+ "adapter_state.widehat_ok",
+ "adapter_state.widetilde_ok",
+ "adapter_state.underleftarrow_ok",
+ "adapter_state.underrightarrow_ok",
+ "adapter_state.underleftrightarrow_ok",
+ "adapter_state.underparen_ok",
+ "adapter_state.tilde_ok",
+ "adapter_state.overline_accent",
+ "adapter_state.underline_accent"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr212",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML contains mover/munder elements with the correct accent/arrow/paren Unicode entities for the new commands and uses U+02015 with accent=true for overline/underline.",
+ "predicate_js": "(s) => {\n const a = s.adapter_state;\n return (\n a.mathring_ok === true &&\n a.overleftarrow_ok === true &&\n a.overleftrightarrow_ok === true &&\n a.overparen_ok === true &&\n a.widehat_ok === true &&\n a.widetilde_ok === true &&\n a.underleftarrow_ok === true &&\n a.underrightarrow_ok === true &&\n a.underleftrightarrow_ok === true &&\n a.underparen_ok === true &&\n a.tilde_ok === true &&\n a.overline_accent === true &&\n a.underline_accent === true\n );\n}",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport json\nimport os\nimport sys\n\nsys.path.insert(0, \"/testbed\")\n\nfrom latex2mathml.converter import convert\n\n# Decode the framework payload even though this scenario hard-codes its input.\n_ = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf-8\"))\noutput_path = sys.argv[2]\n\nLATEX_CASES = {\n \"mathring\": r\"\\mathring{a}\",\n \"overleftarrow\": r\"\\overleftarrow{a}\",\n \"overleftrightarrow\": r\"\\overleftrightarrow{a}\",\n \"overparen\": r\"\\overparen{a}\",\n \"widehat\": r\"\\widehat{a}\",\n \"widetilde\": r\"\\widetilde{a}\",\n \"tilde\": r\"\\tilde{a}\",\n \"underleftarrow\": r\"\\underleftarrow{a}\",\n \"underrightarrow\": r\"\\underrightarrow{a}\",\n \"underleftrightarrow\": r\"\\underleftrightarrow{a}\",\n \"underparen\": r\"\\underparen{a}\",\n \"overline\": r\"\\overline{a}\",\n \"underline\": r\"\\underline{a}\",\n}\n\nresults = {}\nfor name, latex in LATEX_CASES.items():\n try:\n results[name] = convert(latex)\n except Exception as e:\n results[name] = f\"{type(e).__name__}: {e}\"\n\ndef has_tag(xml, tag):\n return tag in xml\n\ndef has_entity(xml, entity):\n return entity in xml\n\nstate = {\n \"mathring_ok\": has_tag(results[\"mathring\"], \"\") and has_entity(results[\"mathring\"], \"˚\"),\n \"overleftarrow_ok\": has_tag(results[\"overleftarrow\"], \"\") and has_entity(results[\"overleftarrow\"], \"←\"),\n \"overleftrightarrow_ok\": has_tag(results[\"overleftrightarrow\"], \"\") and has_entity(results[\"overleftrightarrow\"], \"↔\"),\n \"overparen_ok\": has_tag(results[\"overparen\"], \"\") and has_entity(results[\"overparen\"], \"⏜\"),\n \"widehat_ok\": has_tag(results[\"widehat\"], \"\") and has_entity(results[\"widehat\"], \"^\"),\n \"widetilde_ok\": has_tag(results[\"widetilde\"], \"\") and has_entity(results[\"widetilde\"], \"~\"),\n \"tilde_ok\": has_tag(results[\"tilde\"], \"\") and has_entity(results[\"tilde\"], \"~\"),\n \"underleftarrow_ok\": has_tag(results[\"underleftarrow\"], \"\") and has_entity(results[\"underleftarrow\"], \"←\"),\n \"underrightarrow_ok\": has_tag(results[\"underrightarrow\"], \"\") and has_entity(results[\"underrightarrow\"], \"→\"),\n \"underleftrightarrow_ok\": has_tag(results[\"underleftrightarrow\"], \"\") and has_entity(results[\"underleftrightarrow\"], \"↔\"),\n \"underparen_ok\": has_tag(results[\"underparen\"], \"\") and has_entity(results[\"underparen\"], \"⏝\"),\n \"overline_accent\": \"accent=\\\"true\\\"\" in results[\"overline\"] and \"―\" in results[\"overline\"],\n \"underline_accent\": \"accent=\\\"true\\\"\" in results[\"underline\"] and \"―\" in results[\"underline\"],\n \"results\": results,\n}\n\nhtml_parts = [\n \"\",\n \"\",\n \"\",\n '',\n \"latex2mathml accent commands\",\n \"\",\n \"\",\n \"\",\n]\n\nfor name, xml in results.items():\n html_parts.append(f'{name}
')\n html_parts.append(xml)\n\nhtml_parts.append(\"\")\nhtml_parts.append(\"\")\nhtml_parts.append(\"\")\n\nwith open(output_path, \"w\", encoding=\"utf-8\") as fh:\n fh.write(\"\\n\".join(html_parts))\n\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n loaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n )\n with open(trace_path, \"w\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "The issue reports that \\mathring, \\widehat, \\widetilde, the over/under arrows and parens, and \\overparen are not supported or are translated incorrectly; executing convert on these inputs produces visibly different MathML between buggy and fixed revisions.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Missing LaTeX accent commands render as real MathML accents",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr213.json b/data/rs/probes/roniemartinez_latex2mathml_pr213.json
new file mode 100644
index 0000000000000000000000000000000000000000..40f2072cca0bd00e3f01467c2cb5aaa1a1275d10
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr213.json
@@ -0,0 +1,31 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.phantoma_output",
+ "adapter_state.vphantoma_output",
+ "adapter_state.sideset1234_sum_output",
+ "adapter_state.phantom_has_mphantom",
+ "adapter_state.vphantom_has_mpadded_width_zero",
+ "adapter_state.sideset_has_mphantom"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr213",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML contains an mphantom for \\phantom{a}, an mpadded width='0' for \\vphantom{a}, and an mphantom inside msubsups for \\sideset{_1^2}{_3^4}\\sum.",
+ "predicate_js": "(s) => s.adapter_state.phantom_has_mphantom === true &&\n s.adapter_state.vphantom_has_mpadded_width_zero === true &&\n s.adapter_state.sideset_has_mphantom === true &&\n s.adapter_state.sideset_msubsup_count >= 2",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport html\nimport json\nimport os\nimport sys\n\nsys.path.insert(0, \"/testbed\")\n\nfrom latex2mathml.converter import convert\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\noutput_path = sys.argv[2]\ntitle = html.escape(payload.get(\"title\", \"latex2mathml probe\"))\n\nexamples = [\n (\"\\\\phantom{a}\", r\"\\phantom{a}\"),\n (\"\\\\vphantom{a}\", r\"\\vphantom{a}\"),\n (\"\\\\sideset{_1^2}{_3^4}\\\\sum\", r\"\\sideset{_1^2}{_3^4}\\sum\"),\n]\n\nbody_parts = []\nstate = {}\n\nfor label, latex in examples:\n key = label.lstrip(\"\\\\\").replace(\"{\", \"\").replace(\"}\", \"\").replace(\"^\", \"\").replace(\"_\", \"\").replace(\"\\\\\", \"_\")\n try:\n mathml = convert(latex)\n except Exception as exc:\n mathml = f''\n\n state[f\"{key}_output\"] = mathml\n state[f\"{key}_length\"] = len(mathml)\n\n body_parts.append('')\n body_parts.append(f'{html.escape(label)}
')\n body_parts.append(mathml)\n body_parts.append('')\n\nstate[\"phantom_has_mphantom\"] = \"\n\n\n\n{title}\n\n\n\n{\"\".join(body_parts)}\n\n\n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf8\") as fh:\n fh.write(page)\n\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n loaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n )\n with open(trace_path, \"w\", encoding=\"utf8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "The issue requests support for \\phantom, \\vphantom, and \\sideset; this probe converts the three example LaTeX expressions and renders the generated MathML so the buggy revision shows the commands as plain identifiers while the fixed revision emits mphantom, mpadded, and sideset-style msubsup markup.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "phantom, vphantom, and sideset MathML conversion",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr216.json b/data/rs/probes/roniemartinez_latex2mathml_pr216.json
new file mode 100644
index 0000000000000000000000000000000000000000..1c7b73eacdfd39a11d6ca52e1bc2dd4af4ddc5b3
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr216.json
@@ -0,0 +1,28 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.all_ok",
+ "adapter_state.expected_variant_hits",
+ "adapter_state.total_expected"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr216",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "All nine LaTeX commands convert without error and the generated MathML contains the expected mathvariant attributes.",
+ "predicate_js": "(s) => s.adapter_state.all_ok === true && s.adapter_state.expected_variant_hits === s.adapter_state.total_expected",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport html\nimport json\nimport os\nimport sys\n\nsys.path.insert(0, \"/testbed\")\n\nfrom latex2mathml.converter import convert\n\ninput_data = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf-8\"))\noutput_path = sys.argv[2]\n\nSCENARIOS = [\n (r\"\\textbf{ Hello~World }\", \"bold\"),\n (r\"\\textit{ Hello~World }\", \"italic\"),\n (r\"\\textrm{ Hello~World }\", None),\n (r\"\\textsf{ Hello~World }\", \"sans-serif\"),\n (r\"\\texttt{ Hello~World }\", \"monospace\"),\n (r\"\\mit {\\text{var} = 1+\\{b\\}} + B\", \"italic\"),\n (r\"\\oldstyle {\\text{var} = 1+\\{b\\}} + B\", \"normal\"),\n (r\"\\scr {\\text{var} = 1+\\{b\\}} + B\", \"script\"),\n (r\"\\tt {\\text{var} = 1+\\{b\\}} + B\", \"monospace\"),\n]\n\nresults = []\nall_ok = True\nexpected_hits = 0\ntotal_expected = 0\n\nfor latex, expected_variant in SCENARIOS:\n total_expected += 1 if expected_variant else 0\n entry = {\n \"latex\": latex,\n \"expected_variant\": expected_variant,\n \"ok\": False,\n \"error\": None,\n \"mathml\": \"\",\n }\n try:\n mathml = convert(latex)\n entry[\"ok\"] = True\n entry[\"mathml\"] = mathml\n if expected_variant and f'mathvariant=\"{expected_variant}\"' in mathml:\n expected_hits += 1\n except Exception as exc:\n entry[\"error\"] = f\"{type(exc).__name__}: {str(exc)}\"\n all_ok = False\n results.append(entry)\n\nstate = {\n \"all_ok\": all_ok,\n \"expected_variant_hits\": expected_hits,\n \"total_expected\": total_expected,\n \"results\": results,\n}\n\nparts = [\n \"\",\n '',\n \"\",\n '',\n \"latex2mathml font styles\",\n \"\",\n \"\",\n \"\",\n \"latex2mathml font style and text formatting commands
\",\n]\n\nfor entry in results:\n parts.append('')\n parts.append(f'
{html.escape(entry[\"latex\"])}
')\n if entry[\"ok\"]:\n parts.append(f'
{entry[\"mathml\"]}
')\n hit = bool(\n entry[\"expected_variant\"]\n and f'mathvariant=\"{entry[\"expected_variant\"]}\"' in entry[\"mathml\"]\n )\n parts.append(\n f'
expected mathvariant present: {hit}
'\n )\n else:\n parts.append(\n f'
{html.escape(entry[\"error\"])}
'\n )\n parts.append(\"
\")\n\nparts.append(\n \"\"\n)\nparts.append(\"\")\nparts.append(\"\")\n\nwith open(output_path, \"w\", encoding=\"utf-8\") as fh:\n fh.write(\"\\n\".join(parts))\n\nloaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n)\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n with open(trace_path, \"w\", encoding=\"utf-8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "Exercises the newly supported \\textbf, \\textit, \\textrm, \\textsf, \\texttt, \\mit, \\oldstyle, \\scr and \\tt commands; the buggy revision throws or omits mathvariant attributes while the fixed revision produces MathML with the expected mathvariant values.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "LaTeX font style and text formatting commands",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr218.json b/data/rs/probes/roniemartinez_latex2mathml_pr218.json
new file mode 100644
index 0000000000000000000000000000000000000000..3b0284cb5c288c41ba483ca54fefe7dfd6cbbc47
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr218.json
@@ -0,0 +1,26 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.proper_mroot_count"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr218",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML contains elements with children for the three test cases.",
+ "predicate_js": "(s) => s.adapter_state.proper_mroot_count >= 1",
+ "product_output_kind": "rendered_document",
+ "program_js": "import sys\nimport os\nimport json\nimport xml.etree.ElementTree as ET\n\nsys.path.insert(0, \"/testbed\")\n\nfrom latex2mathml.converter import convert\n\nINPUTS = [\n (r\"Simple index\", r\"\\root 3 \\of x\"),\n (r\"Complex index\", r\"\\root n+1 \\of x + 2\"),\n (r\"Empty index\", r\"\\root \\of x\"),\n]\n\ndef count_proper_mroots(mathml):\n try:\n root = ET.fromstring(mathml.encode(\"utf-8\"))\n except Exception:\n return 0\n count = 0\n for el in root.iter(\"{http://www.w3.org/1998/Math/MathML}mroot\"):\n if len(el) > 0:\n count += 1\n return count\n\nresults = []\ntotal_proper = 0\nfor label, latex in INPUTS:\n try:\n mathml = convert(latex)\n except Exception as e:\n mathml = \"\"\n results.append({\"label\": label, \"latex\": latex, \"ok\": False, \"error\": f\"{type(e).__name__}: {e}\", \"mathml\": \"\", \"proper_mroots\": 0})\n continue\n proper = count_proper_mroots(mathml)\n total_proper += proper\n results.append({\"label\": label, \"latex\": latex, \"ok\": True, \"error\": None, \"mathml\": mathml, \"proper_mroots\": proper})\n\nstate = {\n \"results\": results,\n \"proper_mroot_count\": total_proper,\n}\n\nmath_blocks = \"\".join(\n f'{r[\"label\"]}
{r[\"mathml\"]}'\n for r in results\n)\n\nhtml = f\"\"\"\n\n\n\nlatex2mathml \\\\root ... \\\\of ...\n\n\n\n{math_blocks}\n\n\n\n\"\"\"\n\noutput_path = sys.argv[2]\nwith open(output_path, \"w\", encoding=\"utf-8\") as f:\n f.write(html)\n\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n loaded = sorted({m.__file__ for m in sys.modules.values() if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__})\n with open(trace_path, \"w\", encoding=\"utf-8\") as f:\n json.dump({\"repository_modules_loaded\": loaded}, f)",
+ "rationale": "The issue requests \\root ... \\of ... support; on the buggy revision the walker emits an empty and spills the degree/radicand tokens, while the fixed revision groups them into a proper MathML root.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "TeX \\root ... \\of ... root rendering",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr258.json b/data/rs/probes/roniemartinez_latex2mathml_pr258.json
new file mode 100644
index 0000000000000000000000000000000000000000..20a9663f1824da6a6c3dfe16ae26f12eb43b6df4
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr258.json
@@ -0,0 +1,27 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.middle_mo_ok",
+ "adapter_state.isolated_error"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr258",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The MathML for \\left\\{\\middle|\\right\\} contains a middle with stretchy, fence, lspace and rspace attributes, and \\middle| alone raises ExtraLeftOrMissingRightError.",
+ "predicate_js": "(s) => s.adapter_state.middle_mo_ok === true && s.adapter_state.isolated_error === 'ExtraLeftOrMissingRightError'",
+ "product_output_kind": "rendered_document",
+ "program_js": "import sys\nimport os\nimport json\nimport base64\nimport xml.etree.ElementTree as ET\nfrom html import escape\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode('utf8'))\noutput_path = sys.argv[2]\n\nsys.path.insert(0, '/testbed')\nfrom latex2mathml.converter import convert\n\nlatex_middle = '\\\\left\\\\{\\\\middle|\\\\right\\\\}'\nlatex_isolated = '\\\\middle|'\n\nmathml = convert(latex_middle)\n\nroot = ET.fromstring(mathml)\nNS = 'http://www.w3.org/1998/Math/MathML'\nmiddle_mo = None\nfor mo in root.iter('{%s}mo' % NS):\n if mo.text == '|':\n middle_mo = mo\n break\n\nmiddle_ok = False\nmiddle_attrs = None\nif middle_mo is not None:\n middle_attrs = dict(middle_mo.attrib)\n middle_ok = (\n middle_mo.attrib.get('stretchy') == 'true' and\n middle_mo.attrib.get('fence') == 'true' and\n middle_mo.attrib.get('lspace') == '0.05em' and\n middle_mo.attrib.get('rspace') == '0.05em'\n )\n\nisolated_error = None\nisolated_output = None\ntry:\n isolated_output = convert(latex_isolated)\nexcept Exception as e:\n isolated_error = type(e).__name__\n\nif isolated_error:\n status_text = 'Isolated {}: error = {}'.format(escape(latex_isolated), escape(isolated_error))\nelse:\n status_text = 'Isolated {}: output length = {}'.format(escape(latex_isolated), len(isolated_output) if isolated_output else 0)\n\nstate = {\n 'latex_middle': latex_middle,\n 'latex_isolated': latex_isolated,\n 'mathml': mathml,\n 'middle_mo_ok': middle_ok,\n 'middle_mo_attrs': middle_attrs,\n 'isolated_error': isolated_error,\n 'isolated_output_length': len(isolated_output) if isolated_output else 0,\n}\n\nstate_json = json.dumps(state).replace('<', '\\\\u003c')\n\npage = '''\n\n\n\n{}\n\n\n\n{}
\n{}
\n\n\n\n'''.format(escape(payload.get('title', 'latex2mathml \\\\middle test')), mathml, status_text, state_json)\n\nwith open(output_path, 'w', encoding='utf8') as f:\n f.write(page)\n\nloaded = sorted({m.__file__ for m in sys.modules.values() if getattr(m, '__file__', None) and '/testbed/' in m.__file__})\ntrace_path = os.environ.get('WMMB_MODULE_TRACE_PATH')\nif trace_path:\n with open(trace_path, 'w') as f:\n json.dump({'repository_modules_loaded': loaded}, f)",
+ "rationale": "The issue requests \\middle support: it should become a stretchy fence between \\left and \\right, and raise ExtraLeftOrMissingRightError when used outside that context.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "\\middle delimiter inside \\left...\\right and isolated misuse",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr304.json b/data/rs/probes/roniemartinez_latex2mathml_pr304.json
new file mode 100644
index 0000000000000000000000000000000000000000..08c49541b1f90931f1314151efee702c9f8452d2
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr304.json
@@ -0,0 +1,28 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.render_ok",
+ "adapter_state.has_mo_mod",
+ "adapter_state.has_mi_bmod"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr304",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The conversion succeeds and the generated MathML contains mod between the two numbers.",
+ "predicate_js": "(s) => s.adapter_state.render_ok === true && s.adapter_state.has_mo_mod === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport html\nimport json\nimport os\nimport sys\n\nsys.path.insert(0, \"/testbed\")\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf-8\"))\noutput_path = sys.argv[2]\n\nLATEX = r\"9 \\bmod 2\"\n\nrender_ok = False\nerror = None\nmathml = \"\"\n\ntry:\n from latex2mathml.converter import convert\n mathml = convert(LATEX)\n render_ok = True\nexcept Exception as e:\n error = {\"name\": type(e).__name__, \"message\": str(e)}\n\nstate = {\n \"render_ok\": render_ok,\n \"error\": error,\n \"mathml\": mathml,\n \"has_mo_mod\": \"mod\" in mathml,\n \"has_mi_bmod\": \"\\\\bmod\" in mathml,\n}\n\ntitle = html.escape(payload.get(\"title\", \"latex2mathml \\\\bmod test\"))\n\npage = f\"\"\"\n\n\n\n{title}\n\n\n\nLaTeX: 9 \\\\bmod 2
\n{mathml if render_ok else '
Conversion failed
'}
\nMathML source: {html.escape(mathml)}
\n\n\n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf-8\") as fh:\n fh.write(page)\n\nloaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n)\ntrace = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace:\n with open(trace, \"w\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "Converting 9 \\bmod 2 exercises the new \\bmod command path; buggy output renders \\bmod as an identifier while fixed output renders mod as an operator.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Binary modulo \\bmod rendering",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr306.json b/data/rs/probes/roniemartinez_latex2mathml_pr306.json
new file mode 100644
index 0000000000000000000000000000000000000000..5d9b00063e184cf48c37e36edbcf3f22a4ee67e6
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr306.json
@@ -0,0 +1,28 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.main_tag",
+ "adapter_state.sub_tag",
+ "adapter_state.sup_tag"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr306",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "Fixed when all three \\limits examples generate the expected MathML limit-placement tags.",
+ "predicate_js": "(s) => s.adapter_state.main_tag === \"munderover\" && s.adapter_state.sub_tag === \"munder\" && s.adapter_state.sup_tag === \"mover\"",
+ "product_output_kind": "rendered_document",
+ "program_js": "import sys, base64, json, html as html_mod, os\nsys.path.insert(0, \"/testbed\")\nfrom latex2mathml.converter import convert\nimport xml.etree.ElementTree as ET\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\nout_path = sys.argv[2]\n\nINTEGRAL = \"\\u222B\"\n\ndef local_name(tag):\n if tag is None:\n return None\n return tag.split(\"}\")[-1] if tag.startswith(\"{\") else tag\n\ndef limits_tag(mathml, targets):\n try:\n root = ET.fromstring(mathml)\n except Exception:\n return None\n target_set = set(targets)\n for el in root.iter():\n if local_name(el.tag) in target_set:\n for mo in el.iter():\n if local_name(mo.tag) == \"mo\" and mo.text and mo.text.strip() == INTEGRAL:\n return local_name(el.tag)\n return None\n\ndef render(expr, targets, label):\n err = None\n try:\n mathml = convert(expr)\n except Exception as e:\n mathml = \"\"\n err = f\"{type(e).__name__}: {e}\"\n tag = limits_tag(mathml, targets) if mathml else None\n return {\"expr\": expr, \"label\": label, \"mathml\": mathml, \"tag\": tag, \"error\": err}\n\nequations = [\n render(r\"\\int\\limits^{\\pi}_{0}\", [\"munderover\"], \"Subscript and superscript\"),\n render(r\"\\int\\limits_{\\pi}\", [\"munder\"], \"Subscript only\"),\n render(r\"\\int\\limits^{\\pi}\", [\"mover\"], \"Superscript only\"),\n]\n\nstate = {\n \"main_tag\": equations[0][\"tag\"],\n \"sub_tag\": equations[1][\"tag\"],\n \"sup_tag\": equations[2][\"tag\"],\n \"errors\": [e[\"error\"] for e in equations if e[\"error\"]],\n}\n\ndefault_title = \"Integral limits with \\\\limits\"\ntitle = html_mod.escape(payload.get(\"title\", default_title))\n\nlines = [\n \"\",\n \"\",\n \"\",\n '',\n f\"{title}\",\n \"\",\n \"\",\n \"\",\n f\"{title}
\",\n]\n\nfor eq in equations:\n lines.append(f'{html_mod.escape(eq[\"label\"])}
')\n if eq[\"mathml\"]:\n lines.append(f'{eq[\"mathml\"]}
')\n else:\n lines.append(f'{html_mod.escape(eq[\"error\"] or \"conversion failed\")}
')\n\nstate_json = json.dumps(state).replace(\"\", \"<\\\\/\")\n\nlines += [\n \"\",\n \"\",\n \"\",\n]\n\nwith open(out_path, \"w\", encoding=\"utf8\") as f:\n f.write(\"\\n\".join(lines))\n\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n loaded = sorted({m.__file__ for m in sys.modules.values() if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__})\n with open(trace_path, \"w\", encoding=\"utf8\") as f:\n json.dump({\"repository_modules_loaded\": loaded}, f)",
+ "rationale": "The \\limits modifier after \\int should produce munderover/munder/mover tags that stack limits vertically instead of side scripts.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Integral limits with \\limits",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr308.json b/data/rs/probes/roniemartinez_latex2mathml_pr308.json
new file mode 100644
index 0000000000000000000000000000000000000000..b83bc2ff8727a15fc1b61b03701faafb3acab77d
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr308.json
@@ -0,0 +1,30 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.eq0_ok",
+ "adapter_state.eq0_has_sum",
+ "adapter_state.eq0_has_empty_braces",
+ "adapter_state.eq1_ok",
+ "adapter_state.eq1_has_c"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr308",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "Both \\sideset examples convert without error, the first contains the sum operator and no empty-brace artifact, and the second contains the central C element.",
+ "predicate_js": "(s) => s.adapter_state.eq0_ok === true && s.adapter_state.eq0_has_sum === true && s.adapter_state.eq0_has_empty_braces === false && s.adapter_state.eq1_ok === true && s.adapter_state.eq1_has_c === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import sys\nimport json\nimport os\nimport base64\nimport html\n\nsys.path.insert(0, \"/testbed\")\n\nfrom latex2mathml.converter import convert\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\")) if len(sys.argv) > 1 else {}\noutput_path = sys.argv[2] if len(sys.argv) > 2 else \"/tmp/out.html\"\ntitle = html.escape(payload.get(\"title\", \"latex2mathml \\\\sideset probe\"))\n\ninputs = [\n r\"\\sideset{_1^2}{_3^4}{\\sum}\",\n r\"\\sideset{^{°}}{}{C}\",\n]\n\nequations = []\nfor latex in inputs:\n try:\n mathml = convert(latex)\n ok = True\n error = None\n except Exception as exc:\n mathml = \"\"\n ok = False\n error = f\"{type(exc).__name__}: {exc}\"\n equations.append(\n {\n \"latex\": latex,\n \"ok\": ok,\n \"error\": error,\n \"mathml\": mathml,\n \"has_sum\": \"∑\" in mathml,\n \"has_c\": \">C<\" in mathml,\n \"has_empty_braces\": \">{}<\" in mathml,\n }\n )\n\nstate = {\n \"all_ok\": all(e[\"ok\"] for e in equations),\n \"eq0_ok\": equations[0][\"ok\"],\n \"eq0_has_sum\": equations[0][\"has_sum\"],\n \"eq0_has_empty_braces\": equations[0][\"has_empty_braces\"],\n \"eq1_ok\": equations[1][\"ok\"],\n \"eq1_has_c\": equations[1][\"has_c\"],\n \"equations\": equations,\n}\n\nstate_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n\nparts = [\n \"\",\n '',\n f\"{title}\",\n \"\",\n]\n\nfor eq in equations:\n parts.append(f'LaTeX: {html.escape(eq[\"latex\"])}
')\n parts.append('')\n if eq[\"ok\"]:\n parts.append(eq[\"mathml\"])\n else:\n parts.append(f'
{html.escape(eq[\"error\"])}
')\n parts.append(\"
\")\n\nparts.append(\n f\"\"\n)\n\nwith open(output_path, \"w\", encoding=\"utf8\") as fh:\n fh.write(\"\".join(parts))\n\nloaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n)\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n with open(trace_path, \"w\", encoding=\"utf8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "The issue's two exact examples reproduce the buggy \\sideset handling: the first loses the central \\sum operator and emits empty braces, while the second crashes on an empty right side; the fixed code preserves operator children and handles empty brace groups.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "\\sideset with empty side and complex scripts",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr309.json b/data/rs/probes/roniemartinez_latex2mathml_pr309.json
new file mode 100644
index 0000000000000000000000000000000000000000..16913349c6bbb963850b06cea8ec8cd4b0dabb6c
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr309.json
@@ -0,0 +1,31 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.overbrace_simple_has_mover",
+ "adapter_state.overbrace_labeled_has_mover",
+ "adapter_state.overbrace_combined_has_munderover",
+ "adapter_state.underbrace_simple_has_munder",
+ "adapter_state.underbrace_labeled_has_munder",
+ "adapter_state.underbrace_combined_has_munderover"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr309",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML contains for overbrace examples, for underbrace examples, and for the combined-script examples.",
+ "predicate_js": "(s) =>\n s.adapter_state.overbrace_simple_has_mover === true &&\n s.adapter_state.overbrace_labeled_has_mover === true &&\n s.adapter_state.overbrace_combined_has_munderover === true &&\n s.adapter_state.underbrace_simple_has_munder === true &&\n s.adapter_state.underbrace_labeled_has_munder === true &&\n s.adapter_state.underbrace_combined_has_munderover === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import sys\nimport os\nimport json\nimport base64\n\nsys.path.insert(0, \"/testbed\")\nfrom latex2mathml.converter import convert\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\")) if len(sys.argv) > 1 else {}\noutput_path = sys.argv[2] if len(sys.argv) > 2 else \"out.html\"\n\nexamples = {\n \"overbrace_simple\": r\"\\overbrace{3}\",\n \"overbrace_labeled\": r\"\\overbrace{3}^a\",\n \"overbrace_combined\": r\"\\overbrace{3}^a_x\",\n \"underbrace_simple\": r\"\\underbrace{3}\",\n \"underbrace_labeled\": r\"\\underbrace{3}_a\",\n \"underbrace_combined\": r\"\\underbrace{3}_a^x\",\n}\n\nresults = {}\nmathmls = {}\nfor name, latex in examples.items():\n try:\n ml = convert(latex, display=\"block\")\n mathmls[name] = ml\n results[name] = {\"ok\": True, \"mathml\": ml}\n except Exception as e:\n mathmls[name] = \"\"\n results[name] = {\"ok\": False, \"error\": f\"{type(e).__name__}: {e}\"}\n\nstate = {\n \"overbrace_simple_mathml\": mathmls.get(\"overbrace_simple\", \"\"),\n \"overbrace_labeled_mathml\": mathmls.get(\"overbrace_labeled\", \"\"),\n \"overbrace_combined_mathml\": mathmls.get(\"overbrace_combined\", \"\"),\n \"underbrace_simple_mathml\": mathmls.get(\"underbrace_simple\", \"\"),\n \"underbrace_labeled_mathml\": mathmls.get(\"underbrace_labeled\", \"\"),\n \"underbrace_combined_mathml\": mathmls.get(\"underbrace_combined\", \"\"),\n \"overbrace_simple_has_mover\": \"\" in mathmls.get(\"overbrace_simple\", \"\"),\n \"overbrace_labeled_has_mover\": \"\" in mathmls.get(\"overbrace_labeled\", \"\"),\n \"overbrace_combined_has_munderover\": \"\" in mathmls.get(\"overbrace_combined\", \"\"),\n \"underbrace_simple_has_munder\": \"\" in mathmls.get(\"underbrace_simple\", \"\"),\n \"underbrace_labeled_has_munder\": \"\" in mathmls.get(\"underbrace_labeled\", \"\"),\n \"underbrace_combined_has_munderover\": \"\" in mathmls.get(\"underbrace_combined\", \"\"),\n \"results\": results,\n}\n\nhtml = f\"\"\"\n\n\n\n{payload.get(\"title\", \"LaTeX to MathML\")}\n\n\n\nOverbrace / Underbrace
\n{mathmls[\"overbrace_simple\"]}\n{mathmls[\"overbrace_labeled\"]}\n{mathmls[\"overbrace_combined\"]}\n{mathmls[\"underbrace_simple\"]}\n{mathmls[\"underbrace_labeled\"]}\n{mathmls[\"underbrace_combined\"]}\n\n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf-8\") as fh:\n fh.write(html)\n\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n loaded = sorted(\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n )\n with open(trace_path, \"w\", encoding=\"utf-8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "Exercises \\overbrace and \\underbrace with simple, labeled, and combined scripts; the buggy revision emits bare brace glyphs with msup/msub/msubsup, while the fix wraps them in mover/munder/munderover.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Overbrace and underbrace with labels",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr311.json b/data/rs/probes/roniemartinez_latex2mathml_pr311.json
new file mode 100644
index 0000000000000000000000000000000000000000..8f325a0bfe03cd4d328dc1cb9c2f65dfd616a2e0
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr311.json
@@ -0,0 +1,28 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.smallmatrix_ok",
+ "adapter_state.bigl_ok",
+ "adapter_state.bigr_ok"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr311",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML contains an mstyle-wrapped smallmatrix mtable and sized fence mo delimiters for bigl and bigr.",
+ "predicate_js": "(s) => s.adapter_state.smallmatrix_ok === true && s.adapter_state.bigl_ok === true && s.adapter_state.bigr_ok === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport json\nimport os\nimport re\nimport sys\nimport xml.etree.ElementTree as ET\n\nsys.path.insert(0, \"/testbed\")\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf-8\"))\noutput_path = sys.argv[2]\n\nLATEX = \"\\\\bigl(\\\\begin{smallmatrix} 1 & 2 & 3 \\\\\\\\ 4 & 5 & 6 \\\\\\\\ \\\\end{smallmatrix}\\\\bigr)\"\n\nrender_ok = False\nerror = None\nmathml = \"\"\nsmallmatrix_ok = False\nbigl_ok = False\nbigr_ok = False\nsized_delimiter_count = 0\n\ntry:\n from latex2mathml.converter import convert\n\n mathml = convert(LATEX)\n render_ok = True\n\n parseable = re.sub(r\"&(?!#?\\w+;)\", \"&\", mathml)\n root = ET.fromstring(parseable)\n ns = {\"m\": \"http://www.w3.org/1998/Math/MathML\"}\n mml_ns = \"{http://www.w3.org/1998/Math/MathML}\"\n\n for mstyle in root.iter(f\"{mml_ns}mstyle\"):\n if mstyle.get(\"scriptlevel\") == \"1\":\n mtable = mstyle.find(\"m:mtable\", ns)\n if (\n mtable is not None\n and mtable.get(\"rowspacing\") == \"0.1em\"\n and mtable.get(\"columnspacing\") == \"0.2778em\"\n ):\n smallmatrix_ok = True\n\n for mo in root.iter(f\"{mml_ns}mo\"):\n if (\n mo.get(\"stretchy\") == \"true\"\n and mo.get(\"fence\") == \"true\"\n and mo.get(\"minsize\") == \"1.2em\"\n and mo.get(\"maxsize\") == \"1.2em\"\n ):\n sized_delimiter_count += 1\n if mo.text == \"(\":\n bigl_ok = True\n elif mo.text == \")\":\n bigr_ok = True\nexcept Exception as exc:\n error = {\"name\": type(exc).__name__, \"message\": str(exc)}\n\nstate = {\n \"render_ok\": render_ok,\n \"error\": error,\n \"smallmatrix_ok\": smallmatrix_ok,\n \"bigl_ok\": bigl_ok,\n \"bigr_ok\": bigr_ok,\n \"sized_delimiter_count\": sized_delimiter_count,\n \"mathml_length\": len(mathml),\n}\n\nhtml = f\"\"\"\n\n\n\n{payload.get(\"title\", \"latex2mathml probe\")}\n\n\n\n{mathml}
\n\nObserved state
\n{json.dumps(state, indent=2)}\n \n\n\n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf-8\") as f:\n f.write(html)\n\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n loaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n )\n with open(trace_path, \"w\", encoding=\"utf-8\") as f:\n json.dump({\"repository_modules_loaded\": loaded}, f)",
+ "rationale": "Converts the issue's exact LaTeX through the public API and renders the generated MathML in a browser, exposing missing smallmatrix/big delimiter support.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "smallmatrix with bigl/bigr delimiters",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr315.json b/data/rs/probes/roniemartinez_latex2mathml_pr315.json
new file mode 100644
index 0000000000000000000000000000000000000000..1e38b78bacd4adaea80efe50dd23fd2e4efd49cd
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr315.json
@@ -0,0 +1,29 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.operatorname_sn_tag",
+ "adapter_state.operatorname_R_tag",
+ "adapter_state.notin_is_negated_unicode",
+ "adapter_state.not_a_has_mpadded_slash"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr315",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML treats \\operatorname{sn} as an operator (), converts \\not\\in to the negated Unicode symbol, and renders \\not a as an slash glyph.",
+ "predicate_js": "(s) => s.adapter_state.operatorname_sn_tag === 'mo' && s.adapter_state.operatorname_R_tag === 'mo' && s.adapter_state.notin_is_negated_unicode === true && s.adapter_state.not_a_has_mpadded_slash === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport html\nimport json\nimport os\nimport sys\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode('utf8'))\noutput_path = sys.argv[2]\ntitle = html.escape(payload.get('title', 'latex2mathml probe'))\n\nsys.path.insert(0, '/testbed')\nfrom latex2mathml.converter import convert\n\nLATEX_OPERATORNAME = r'\\operatorname{sn}x'\nLATEX_NOT = r'\\not\\in\\not a\\not\\operatorname{R}\\not'\n\nrender_ok = True\nerror_name = None\nerror_message = None\nmathml_op = ''\nmathml_not = ''\n\ntry:\n mathml_op = convert(LATEX_OPERATORNAME, display='block')\n mathml_not = convert(LATEX_NOT, display='block')\nexcept Exception as e:\n render_ok = False\n error_name = type(e).__name__\n error_message = str(e)\n\nLT = chr(60)\nGT = chr(62)\n\ndef tag_of_symbol(mathml, symbol):\n for tag in ('mo', 'mi'):\n if (LT + tag + GT + symbol + LT + '/' + tag + GT) in mathml:\n return tag\n return None\n\nstate = {\n 'render_ok': render_ok,\n 'error_name': error_name,\n 'error_message': error_message,\n 'operatorname_mathml': mathml_op,\n 'not_mathml': mathml_not,\n 'operatorname_sn_tag': tag_of_symbol(mathml_op, 'sn'),\n 'operatorname_R_tag': tag_of_symbol(mathml_not, 'R'),\n 'notin_is_negated_unicode': '∉' in mathml_not,\n 'not_a_has_mpadded_slash': ''\n not_html = ''\n\npage = (\n '\\n'\n '\\n'\n '\\n'\n '\\n'\n '' + title + '\\n'\n '\\n'\n '\\n'\n '\\n'\n '' + title + '
\\n'\n '' + html.escape(LATEX_OPERATORNAME) + '
\\n' +\n op_html +\n '\\n' + html.escape(LATEX_NOT) + '
\\n' +\n not_html +\n '\\n\\n'\n '\\n'\n ''\n)\n\nwith open(output_path, 'w', encoding='utf8') as f:\n f.write(page)\n\nloaded = sorted({m.__file__ for m in sys.modules.values() if getattr(m, '__file__', None) and '/testbed/' in m.__file__})\ntrace_path = os.environ.get('WMMB_MODULE_TRACE_PATH')\nif trace_path:\n with open(trace_path, 'w', encoding='utf8') as f:\n json.dump({'repository_modules_loaded': loaded}, f)",
+ "rationale": "The issue fixes \\operatorname to emit instead of and adds \\not handling that either produces a negated Unicode symbol or an slash glyph; this probe renders both equations as live MathML.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "\\operatorname and \\not MathML conversion",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr316.json b/data/rs/probes/roniemartinez_latex2mathml_pr316.json
new file mode 100644
index 0000000000000000000000000000000000000000..e80a15f87d3e092e3ac997ec96c6d8c3ca76bdee
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr316.json
@@ -0,0 +1,28 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.has_mtable",
+ "adapter_state.columnalign",
+ "adapter_state.row_count"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr316",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The converter recognizes \\begin{split} and emits a two-row mtable whose columnalign attribute is 'right left'.",
+ "predicate_js": "(s) => s.adapter_state.render_ok === true && s.adapter_state.has_mtable === true && s.adapter_state.columnalign === \"right left\" && s.adapter_state.row_count === 2",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport json\nimport os\nimport re\nimport sys\n\nsys.path.insert(0, \"/testbed\")\n\nfrom latex2mathml.converter import convert\n\n\ndef html_escape(s):\n return s.replace(\"&\", \"&\").replace(\"<\", \"<\").replace(\">\", \">\")\n\n\ninput_payload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\noutput_path = sys.argv[2]\n\nlatex = \"\\\\begin{split} x &= y \\\\\\\\ &=z \\\\end{split}\"\n\nrender_ok = False\nerror = None\nmathml = \"\"\n\ntry:\n mathml = convert(latex)\n render_ok = True\nexcept Exception as e:\n error = {\"name\": type(e).__name__, \"message\": str(e)}\n\nhas_mtable = \"&\")\n\nstate = {\n \"render_ok\": render_ok,\n \"error\": error,\n \"has_mtable\": has_mtable,\n \"columnalign\": columnalign,\n \"row_count\": row_count,\n \"ampersand_literal_count\": ampersand_literal_count,\n \"mathml\": mathml,\n}\n\nstate_json = json.dumps(state, ensure_ascii=True).replace(\"<\", \"\\\\u003c\")\n\nstructure_summary = f\"mtable={has_mtable}, rows={row_count}, columnalign={columnalign or 'none'}\"\n\nhtml = f\"\"\"\n\n\n\n{html_escape(input_payload.get('title', 'latex2mathml split environment'))}\n\n\n\n\\\\begin{{split}} equation
\n\n{mathml if render_ok else f'
Error: {html_escape(error[\"name\"])}: {html_escape(error[\"message\"])}
'}\n
\nObserved structure: {html_escape(structure_summary)}
\n\n\n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf8\") as f:\n f.write(html)\n\nloaded = sorted({m.__file__ for m in sys.modules.values() if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__})\ntrace = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace:\n with open(trace, \"w\", encoding=\"utf8\") as f:\n json.dump({\"repository_modules_loaded\": loaded}, f)",
+ "rationale": "The split environment from amsmath should produce an mtable with right-left column alignment, but the base revision renders it as a plain mrow with literal ampersands.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Split environment equation",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr43.json b/data/rs/probes/roniemartinez_latex2mathml_pr43.json
new file mode 100644
index 0000000000000000000000000000000000000000..5e0eff277fc4677c3ec494928c3e147db47bd581
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr43.json
@@ -0,0 +1,27 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.render_ok",
+ "adapter_state.has_msup"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr43",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The converter returns valid MathML containing an msup for the parenthesized superscript instead of raising an IndexError.",
+ "predicate_js": "(s) => s.adapter_state.render_ok === true && s.adapter_state.has_msup === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import sys\nimport os\nimport json\nimport base64\n\nsys.path.insert(0, '/testbed')\n\nfrom latex2mathml.converter import convert\n\ninput_payload = json.loads(base64.b64decode(sys.argv[1]).decode('utf-8'))\noutput_path = sys.argv[2]\n\nLATEX = r'\\sqrt { ( - 25 ) ^ { 2 } } = \\pm 25'\n\nrender_ok = False\nerror = None\nmathml = ''\n\ntry:\n mathml = convert(LATEX)\n render_ok = True\nexcept Exception as exc:\n error = {'name': type(exc).__name__, 'message': str(exc)}\n\nhas_msup = '' in mathml\nhas_msqrt = '' in mathml\n\nstate = {\n 'render_ok': render_ok,\n 'error': error,\n 'mathml': mathml,\n 'mathml_length': len(mathml),\n 'has_msup': has_msup,\n 'has_msqrt': has_msqrt\n}\n\ndef esc(text):\n return (text\n .replace('&', '&')\n .replace('<', '<')\n .replace('>', '>')\n .replace('\"', '"'))\n\npage = (\n ''\n ''\n ''\n ''\n '' + esc(input_payload.get('title', 'latex2mathml probe')) + ''\n ''\n ''\n ''\n ''\n ''\n ''\n ''\n)\n\nwith open(output_path, 'w', encoding='utf-8') as fh:\n fh.write(page)\n\nloaded = sorted({m.__file__ for m in sys.modules.values()\n if getattr(m, '__file__', None) and '/testbed/' in m.__file__})\ntrace_path = os.environ.get('WMMB_MODULE_TRACE_PATH')\nif trace_path:\n with open(trace_path, 'w') as fh:\n json.dump({'repository_modules_loaded': loaded}, fh)",
+ "rationale": "The issue's exact reproducer \\sqrt { ( - 25 ) ^ { 2 } } = \\pm 25 triggers an IndexError in the aggregator when a superscript follows a closing parenthesis; the fix removes parentheses from the operator list that breaks sub/sup grouping.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Square root of parenthesized superscript",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr47.json b/data/rs/probes/roniemartinez_latex2mathml_pr47.json
new file mode 100644
index 0000000000000000000000000000000000000000..ae3db82bc41795142d4419696c335c13f871c08b
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr47.json
@@ -0,0 +1,28 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.all_parse_ok",
+ "adapter_state.lt_mathml",
+ "adapter_state.amp_mathml"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr47",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML for all three special-character formulas is valid XML and contains escaped entities (`<`, `>`, `&`).",
+ "predicate_js": "(s) => s.adapter_state.all_parse_ok === true && s.adapter_state.lt_mathml.includes('<') && s.adapter_state.amp_mathml.includes('&')",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport json\nimport os\nimport sys\nimport xml.etree.ElementTree as ET\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode('utf-8'))\noutput_path = sys.argv[2]\n\nsys.path.insert(0, '/testbed')\nfrom latex2mathml.converter import convert\n\nCASES = [\n ('lt', '2 < 5'),\n ('gt', '2 > 5'),\n ('amp', '&'),\n]\n\ndef to_str(value):\n if isinstance(value, bytes):\n return value.decode('utf-8')\n return str(value)\n\ndef html_escape(s):\n return s.replace('&', '&').replace('<', '<').replace('>', '>')\n\nmathml = {}\nparse_ok = {}\nrender_ok = True\nerror = None\n\ntry:\n for key, latex in CASES:\n raw = to_str(convert(latex))\n mathml[key] = raw\n try:\n ET.fromstring(raw)\n parse_ok[key] = True\n except Exception:\n parse_ok[key] = False\nexcept Exception as exc:\n render_ok = False\n error = {'name': type(exc).__name__, 'message': str(exc)}\n\nstate = {\n 'render_ok': render_ok,\n 'error': error,\n 'lt_mathml': mathml.get('lt'),\n 'gt_mathml': mathml.get('gt'),\n 'amp_mathml': mathml.get('amp'),\n 'lt_parse_ok': parse_ok.get('lt'),\n 'gt_parse_ok': parse_ok.get('gt'),\n 'amp_parse_ok': parse_ok.get('amp'),\n 'all_parse_ok': all(parse_ok.values()) if parse_ok else False,\n}\n\nstate_json = html_escape(json.dumps(state, separators=(',', ':')))\n\nformula_blocks = []\nfor key, label in [('lt', '2 < 5'), ('gt', '2 > 5'), ('amp', '&')]:\n src = mathml.get(key) or ''\n formula_blocks.append(\n '' % (html_escape(label), key, key, src)\n )\n\npage = '''\n\n\n\n%s\n\n\n\nlatex2mathml XML escaping
\n%s\n\n\n\n''' % (html_escape(payload.get('title', 'latex2mathml escaping')), '\\n'.join(formula_blocks), state_json)\n\nwith open(output_path, 'w', encoding='utf-8') as fh:\n fh.write(page)\n\ntrace_path = os.environ.get('WMMB_MODULE_TRACE_PATH')\nif trace_path:\n loaded = sorted({m.__file__ for m in sys.modules.values()\n if getattr(m, '__file__', None) and '/testbed/' in m.__file__})\n with open(trace_path, 'w', encoding='utf-8') as fh:\n json.dump({'repository_modules_loaded': loaded}, fh)",
+ "rationale": "Converting LaTeX containing `<`, `>`, or `&` exercises the converter's XML escaping; the buggy revision returns raw characters that make the MathML invalid XML and fail to render when parsed as XML, while the fixed revision produces valid MathML that the browser renders.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "MathML escaping of <, >, and &",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr48.json b/data/rs/probes/roniemartinez_latex2mathml_pr48.json
new file mode 100644
index 0000000000000000000000000000000000000000..087bd08ff16c87c47a729a3346b28bc3487f8d75
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr48.json
@@ -0,0 +1,27 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.exponent_has_unescaped_paren_entity",
+ "adapter_state.lt_is_mo"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr48",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The MathML for \\left( x \\right)^2 contains an unescaped parenthesis entity inside an msup, and the MathML for 2 < 5 uses <.",
+ "predicate_js": "(s) => s.adapter_state.exponent_has_unescaped_paren_entity === true && s.adapter_state.lt_is_mo === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import sys\nimport os\nimport json\nimport base64\nimport html\n\nsys.path.insert(0, \"/testbed\")\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf-8\"))\noutput_path = sys.argv[2]\n\nlatex_exponent = r\"\\left( x \\right)^2\"\nlatex_entity = r\"2 < 5\"\n\nerr = None\nmathml_exponent = \"\"\nmathml_entity = \"\"\n\ntry:\n from latex2mathml.converter import convert\n\n mathml_exponent = convert(latex_exponent)\n mathml_entity = convert(latex_entity)\n\n if isinstance(mathml_exponent, bytes):\n mathml_exponent = mathml_exponent.decode(\"utf-8\")\n if isinstance(mathml_entity, bytes):\n mathml_entity = mathml_entity.decode(\"utf-8\")\nexcept Exception as e:\n err = {\"name\": type(e).__name__, \"message\": str(e)}\n\nstate = {\n \"latex_exponent\": latex_exponent,\n \"latex_entity\": latex_entity,\n \"mathml_exponent\": mathml_exponent,\n \"mathml_entity\": mathml_entity,\n \"error\": err,\n \"exponent_has_unescaped_paren_entity\": \"(\" in mathml_exponent,\n \"lt_is_mo\": \"<\" in mathml_entity,\n}\n\npage = f\"\"\"\n\n\n\n{html.escape(payload.get(\"title\", \"latex2mathml\"))}\n\n\n\nlatex2mathml output
\n\n\n\n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf-8\") as f:\n f.write(page)\n\ntrace = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace:\n loaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n )\n with open(trace, \"w\") as f:\n json.dump({\"repository_modules_loaded\": loaded}, f)",
+ "rationale": "The issue's examples \\left( x \\right)^2 and 2 < 5 exercise the two fixed code paths: exponent grouping around delimiter pairs and classification of <>& as operator entities.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Exponents on \\left...\\right groups and XML entity rendering",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr529.json b/data/rs/probes/roniemartinez_latex2mathml_pr529.json
new file mode 100644
index 0000000000000000000000000000000000000000..23c6f87607f764839357677da650b1ffd4c1f0e6
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr529.json
@@ -0,0 +1,29 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.block_sum_tag",
+ "adapter_state.block_prod_tag",
+ "adapter_state.inline_sum_tag",
+ "adapter_state.inline_prod_tag"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr529",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "Block-mode \\sum and \\prod produce munderover, while inline-mode \\sum and \\prod remain msubsup.",
+ "predicate_js": "(s) => s.adapter_state.block_sum_tag === \"munderover\" &&\n s.adapter_state.block_prod_tag === \"munderover\" &&\n s.adapter_state.inline_sum_tag === \"msubsup\" &&\n s.adapter_state.inline_prod_tag === \"msubsup\"",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport html\nimport json\nimport os\nimport re\nimport sys\n\nsys.path.insert(0, \"/testbed\")\n\nfrom latex2mathml.converter import convert\n\n# Decode the framework payload (not required for rendering, but used for the page title).\ntry:\n payload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\nexcept Exception:\n payload = {}\n\noutput_path = sys.argv[2]\n\nCASES = [\n (\"block_sum\", r\"\\sum_{0}^{\\pi}\", \"block\"),\n (\"inline_sum\", r\"\\sum_{0}^{\\pi}\", \"inline\"),\n (\"block_prod\", r\"\\prod_{0}^{\\pi}\", \"block\"),\n (\"inline_prod\", r\"\\prod_{0}^{\\pi}\", \"inline\"),\n]\n\ndef tag_for(mathml: str) -> str:\n m = re.search(r\"<(munderover|msubsup|munder|mover|msub|msup)\\b\", mathml)\n return m.group(1) if m else \"unknown\"\n\nstate = {\"render_ok\": True, \"error\": None}\nmath_blocks = []\n\nfor key, latex, display in CASES:\n try:\n mathml = convert(latex, display=display)\n except Exception as exc:\n state[\"render_ok\"] = False\n state[\"error\"] = {\"name\": type(exc).__name__, \"message\": str(exc)}\n mathml = \"\"\n state[key + \"_mathml\"] = mathml\n state[key + \"_tag\"] = tag_for(mathml)\n\n label = f\"{display}: {latex}\"\n math_blocks.append(\n f''\n f'
{html.escape(label)}
'\n f'
{mathml}
'\n f'
detected tag: {html.escape(state[key + \"_tag\"])}
'\n f'
'\n )\n\npage = f\"\"\"\n\n\n\n{html.escape(payload.get(\"title\", \"latex2mathml limit placement\"))}\n\n\n\nLimit placement for \\\\sum and \\\\prod
\n{\"\".join(math_blocks)}\n\n\n\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf8\") as fh:\n fh.write(page)\n\n# Record repository modules that were actually loaded.\nloaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n)\ntrace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\nif trace_path:\n with open(trace_path, \"w\", encoding=\"utf8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)",
+ "rationale": "latex2mathml currently emits msubsup for \\sum and \\prod even when display=block; the fix makes it emit munderover in block mode while keeping msubsup in inline mode.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Sum and product limit placement in block vs inline math",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr65.json b/data/rs/probes/roniemartinez_latex2mathml_pr65.json
new file mode 100644
index 0000000000000000000000000000000000000000..c4525a1e421a1dac295319a1939202f7c136b11c
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr65.json
@@ -0,0 +1,27 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.plus_present",
+ "adapter_state.stray_closing_brace"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr65",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML contains a plus operator after the fenced group and no stray closing brace.",
+ "predicate_js": "(s) => s.adapter_state.plus_present === true && s.adapter_state.stray_closing_brace === false",
+ "product_output_kind": "rendered_document",
+ "program_js": "import base64\nimport json\nimport os\nimport re\nimport sys\nimport xml.etree.ElementTree as ET\n\n\ndef esc_html(value):\n return (\n str(value)\n .replace(\"&\", \"&\")\n .replace(\"<\", \"<\")\n .replace(\">\", \">\")\n .replace('\"', \""\")\n )\n\n\ndef main():\n payload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf-8\"))\n output_path = sys.argv[2]\n\n sys.path.insert(0, \"/testbed\")\n from latex2mathml.converter import convert\n\n latex = r\"\\sqrt {\\sqrt {\\left( x^{3}\\right) + v}}\"\n render_ok = True\n error = None\n mathml = \"\"\n\n try:\n mathml = convert(latex)\n except Exception as exc:\n render_ok = False\n error = {\"name\": type(exc).__name__, \"message\": str(exc)}\n\n plus_present = (\n \"+\" in mathml\n or re.search(r\"]*>\\+\", mathml) is not None\n )\n stray_closing_brace = re.search(r\"]*>}\", mathml) is not None\n\n inner_sqrt_mo_count = -1\n if render_ok:\n try:\n root = ET.fromstring(mathml)\n ns = \"{http://www.w3.org/1998/Math/MathML}\"\n msqrt_elems = root.findall(\".//{}msqrt\".format(ns))\n if not msqrt_elems:\n msqrt_elems = root.findall(\".//msqrt\")\n inner = None\n for elem in msqrt_elems:\n has_child = elem.find(\".//{}msqrt\".format(ns)) is not None\n if not has_child:\n has_child = elem.find(\".//msqrt\") is not None\n if not has_child:\n inner = elem\n break\n if inner is not None:\n inner_sqrt_mo_count = len(inner.findall(\".//{}mo\".format(ns)))\n if inner_sqrt_mo_count == 0:\n inner_sqrt_mo_count = len(inner.findall(\".//mo\"))\n except Exception:\n inner_sqrt_mo_count = -1\n\n state = {\n \"render_ok\": render_ok,\n \"error\": error,\n \"mathml\": mathml,\n \"plus_present\": plus_present,\n \"stray_closing_brace\": stray_closing_brace,\n \"inner_sqrt_mo_count\": inner_sqrt_mo_count,\n }\n\n title = payload.get(\"title\", \"latex2mathml left/right issue\")\n if render_ok:\n product_html = mathml\n else:\n product_html = \"{}: {}
\".format(\n esc_html(error[\"name\"]), esc_html(error[\"message\"])\n )\n\n page = (\n \"\\n\\n\\n\"\n '\\n'\n \"{}\\n\"\n \"\\n\"\n \"\\n\\n\"\n \"{}\\n\"\n \"\\n\"\n \"\\n\"\n ).format(\n esc_html(title),\n product_html,\n json.dumps(state, ensure_ascii=True).replace(\"\", \"<\\\\/\"),\n )\n\n with open(output_path, \"w\", encoding=\"utf-8\") as fh:\n fh.write(page)\n\n trace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\n if trace_path:\n loaded = sorted(\n {\n m.__file__\n for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__\n }\n )\n with open(trace_path, \"w\", encoding=\"utf-8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)\n\n\nif __name__ == \"__main__\":\n main()",
+ "rationale": "The reported LaTeX nests \\left(...\\right) inside square roots and appends +v; the buggy aggregator absorbs the trailing terms into the delimiter group, producing MathML missing the plus sign and emitting a stray brace.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Nested sqrt with left/right followed by +v",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/roniemartinez_latex2mathml_pr93.json b/data/rs/probes/roniemartinez_latex2mathml_pr93.json
new file mode 100644
index 0000000000000000000000000000000000000000..0cd7229e1c9278e5abd7b39de6c3cb8599d5b791
--- /dev/null
+++ b/data/rs/probes/roniemartinez_latex2mathml_pr93.json
@@ -0,0 +1,28 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.render_ok",
+ "adapter_state.backslash_free",
+ "adapter_state.rendered_trig"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "roniemartinez_latex2mathml_pr93",
+ "language": "python",
+ "payload": {},
+ "predicate_description": "The generated MathML renders the trigonometric functions as plain identifiers (sin, cos, tan, etc.) with no leading backslash.",
+ "predicate_js": "(s) => s.adapter_state.render_ok === true && s.adapter_state.backslash_free === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "import sys\nimport json\nimport os\nimport re\nimport html\nimport base64\n\ndef main():\n payload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf8\"))\n output_path = sys.argv[2]\n\n latex = r\"\\tan x + \\sec x + \\cos x + \\sin x + \\cot x + \\csc x\"\n sys.path.insert(0, \"/testbed\")\n\n mathml = \"\"\n state = {}\n try:\n from latex2mathml.converter import convert\n mathml = convert(latex)\n mi_texts = re.findall(r\"(.*?)\", mathml)\n trig = {\"tan\", \"sec\", \"cos\", \"sin\", \"cot\", \"csc\"}\n rendered_trig = [t for t in mi_texts if t.lstrip(\"\\\\\") in trig]\n backslash_free = all(not t.startswith(\"\\\\\") for t in rendered_trig)\n state = {\n \"render_ok\": True,\n \"error\": None,\n \"latex\": latex,\n \"mi_texts\": mi_texts,\n \"rendered_trig\": rendered_trig,\n \"backslash_free\": backslash_free,\n }\n except Exception as e:\n state = {\n \"render_ok\": False,\n \"error\": {\"name\": type(e).__name__, \"message\": str(e)},\n \"latex\": latex,\n \"mi_texts\": [],\n \"rendered_trig\": [],\n \"backslash_free\": False,\n }\n\n title = html.escape(payload.get(\"title\", \"latex2mathml trig functions\"))\n latex_escaped = html.escape(latex)\n math_section = mathml if state[\"render_ok\"] else html.escape(json.dumps(state[\"error\"]))\n state_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n\n lines = [\n \"\",\n '',\n \"\",\n '',\n \"\" + title + \"\",\n \"\",\n \"\",\n \"\",\n 'LaTeX: ' + latex_escaped + \"
\",\n math_section,\n \"\",\n \"\",\n \"\",\n ]\n page = \"\\n\".join(lines)\n\n with open(output_path, \"w\", encoding=\"utf-8\") as f:\n f.write(page)\n\n trace_path = os.environ.get(\"WMMB_MODULE_TRACE_PATH\")\n if trace_path:\n loaded = sorted({m.__file__ for m in sys.modules.values()\n if getattr(m, \"__file__\", None) and \"/testbed/\" in m.__file__})\n with open(trace_path, \"w\", encoding=\"utf-8\") as f:\n json.dump({\"repository_modules_loaded\": loaded}, f)\n\nif __name__ == \"__main__\":\n main()",
+ "rationale": "Converting the issue's LaTeX through the library's convert() produces MathML whose trig identifiers either keep or drop the leading backslash, which is exactly what the browser typesets.",
+ "repo": "roniemartinez/latex2mathml",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Trigonometric functions rendered as MathML identifiers",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/single-spa__single-spa-layout-24.json b/data/rs/probes/single-spa__single-spa-layout-24.json
new file mode 100644
index 0000000000000000000000000000000000000000..975a0d1d68e6304de410af7275356e0efa555d3f
--- /dev/null
+++ b/data/rs/probes/single-spa__single-spa-layout-24.json
@@ -0,0 +1,26 @@
+{
+ "build_script": "",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.appElementPresent",
+ "adapter_state.appElementConnected"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "single-spa__single-spa-layout-24",
+ "payload": {},
+ "predicate_description": "The layout engine inserts and connects the single-spa application placeholder element for the parameterized route.",
+ "predicate_js": "(s) => s.adapter_state.appElementPresent === true && s.adapter_state.appElementConnected === true",
+ "product_output_kind": "interactive_visual",
+ "program_js": "const fs = require('fs');\n\nconst input = JSON.parse(Buffer.from(process.argv[1], 'base64').toString('utf8'));\nconst outputPath = process.argv[2];\n\nfunction esc(str) {\n return String(str)\n .replace(/&/g, '&')\n .replace(//g, '>')\n .replace(/\"/g, '"');\n}\n\nlet state = {};\nlet bodyHtml = '';\nconst pageTitle = input.title || 'single-spa-layout parameterized route';\n\ntry {\n const { JSDOM } = require('/testbed/node_modules/jsdom');\n\n const dom = new JSDOM(\n '',\n { url: 'http://localhost/user/123/settings' }\n );\n const win = dom.window;\n\n global.window = win;\n global.document = win.document;\n global.location = win.location;\n global.navigator = win.navigator;\n global.Node = win.Node;\n global.Element = win.Element;\n global.HTMLElement = win.HTMLElement;\n global.SVGElement = win.SVGElement;\n global.MutationObserver = win.MutationObserver;\n global.URL = win.URL;\n\n const {\n constructRoutes,\n constructApplications,\n constructLayoutEngine,\n } = require('/testbed/src/single-spa-layout.js');\n\n const routes = constructRoutes({\n containerEl: '#layout-root',\n base: '/',\n mode: 'history',\n routes: [\n {\n type: 'route',\n path: '/user/:id/settings',\n routes: [{ type: 'application', name: 'user-settings' }],\n },\n ],\n });\n\n const applications = constructApplications({\n routes,\n loadApp: () => Promise.resolve({}),\n });\n\n const layoutEngine = constructLayoutEngine({ routes, applications });\n\n const appEl = document.getElementById('single-spa-application:user-settings');\n\n state = {\n appElementPresent: !!appEl,\n appElementConnected: appEl ? appEl.isConnected : false,\n appElementText: appEl ? appEl.textContent : null,\n locationPathname: window.location.pathname,\n layoutEngineActive: layoutEngine.isActive(),\n errorName: null,\n errorMessage: null,\n };\n\n bodyHtml = document.body.innerHTML;\n} catch (err) {\n state = {\n appElementPresent: false,\n appElementConnected: false,\n appElementText: null,\n locationPathname:\n typeof window !== 'undefined' && window.location\n ? window.location.pathname\n : null,\n layoutEngineActive: false,\n errorName: err && err.name ? err.name : 'Error',\n errorMessage: err && err.message ? err.message : String(err),\n };\n\n bodyHtml =\n '' +\n esc(state.errorName + ': ' + state.errorMessage) +\n '
';\n}\n\nconst page = `\n\n\n \n ${esc(pageTitle)}\n \n\n\n${bodyHtml}\n\n\n`;\n\nfs.writeFileSync(outputPath, page, 'utf8');",
+ "rationale": "single-spa-layout's old string-prefix matcher cannot match /user/123/settings against the literal /user/:id/settings, so the application placeholder is never inserted; the fix uses single-spa's pathToActiveWhen and the activeWhen callback matches the parameterized route.",
+ "repo": "single-spa/single-spa-layout",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Parameterized route /user/:id/settings mounts application placeholder",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/single-spa__single-spa-layout-70.json b/data/rs/probes/single-spa__single-spa-layout-70.json
new file mode 100644
index 0000000000000000000000000000000000000000..fc9312146fbb7253fb10b7534283455f65225455
--- /dev/null
+++ b/data/rs/probes/single-spa__single-spa-layout-70.json
@@ -0,0 +1,27 @@
+{
+ "build_script": "build:lib",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.hasErrorMessage",
+ "adapter_state.render_ok",
+ "adapter_state.errorHandlerCount"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "single-spa__single-spa-layout-70",
+ "payload": {},
+ "predicate_description": "The layout engine registers an error handler and renders the configured error message inside the application's DOM container.",
+ "predicate_js": "(s) => s.adapter_state.render_ok === true && s.adapter_state.hasErrorMessage === true && s.adapter_state.errorHandlerCount > 0",
+ "product_output_kind": "interactive_visual",
+ "program_js": "const fs = require('fs');\nconst input = JSON.parse(Buffer.from(process.argv[1], 'base64').toString('utf8'));\nconst outputPath = process.argv[2];\n\nfunction esc(s) {\n return String(s).replace(/&/g, '&').replace(//g, '>');\n}\n\nasync function main() {\n let state;\n try {\n const { JSDOM } = require('jsdom');\n const dom = new JSDOM('', {\n url: 'http://localhost/app1'\n });\n const win = dom.window;\n\n ['window', 'document', 'navigator', 'location', 'history'].forEach((k) => {\n global[k] = win[k];\n });\n ['Element', 'HTMLElement', 'Node', 'SVGElement', 'MutationObserver', 'CustomEvent'].forEach((k) => {\n global[k] = win[k];\n });\n\n const layout = require('/testbed/dist/umd/single-spa-layout.min.cjs');\n const { constructRoutes, constructApplications, constructLayoutEngine } = layout;\n\n let resolveErrorMounted;\n const errorMountedPromise = new Promise((r) => {\n resolveErrorMounted = r;\n });\n\n const errorUI = {\n async bootstrap() {},\n async mount(props) {\n const div = document.createElement('div');\n div.textContent = 'Oops, app1 is broken';\n props.domElement.appendChild(div);\n resolveErrorMounted();\n },\n async unmount(props) {}\n };\n\n const routes = constructRoutes({\n containerEl: 'body',\n base: '/',\n mode: 'history',\n routes: [\n {\n type: 'route',\n path: '/app1',\n routes: [\n { type: 'application', name: 'app1', error: errorUI }\n ]\n }\n ]\n });\n\n const applications = constructApplications({\n routes,\n loadApp: async ({ name }) => ({\n async bootstrap() {},\n async mount() {},\n async unmount() {}\n })\n });\n\n const errorHandlers = [];\n const layoutEngine = constructLayoutEngine({\n routes,\n applications,\n addErrorHandler(handler) {\n errorHandlers.push(handler);\n }\n });\n\n win.dispatchEvent(new win.CustomEvent('single-spa:before-mount-routing-event'));\n\n if (errorHandlers.length > 0) {\n errorHandlers.forEach((cb) => cb({ appOrParcelName: 'app1' }));\n await errorMountedPromise;\n }\n\n const bodyHTML = document.body.innerHTML;\n state = {\n render_ok: true,\n error: null,\n bodyHTML,\n bodyText: document.body.textContent.trim(),\n hasErrorMessage: document.body.textContent.includes('Oops, app1 is broken'),\n appContainerExists: !!document.getElementById('single-spa-application:app1'),\n errorHandlerCount: errorHandlers.length\n };\n\n const page = `\n\n\n\n${esc(input.title)}\n\n\n${bodyHTML}\n\n\n`;\n\n fs.writeFileSync(outputPath, page, 'utf8');\n } catch (e) {\n state = {\n render_ok: false,\n error: {\n name: String((e && e.name) || 'Error'),\n message: String((e && e.message) || e)\n },\n bodyHTML: '',\n bodyText: '',\n hasErrorMessage: false,\n appContainerExists: false,\n errorHandlerCount: 0\n };\n const page = `\n\n\n\n${esc(input.title)}\n\n\nRender failed: ${esc(state.error.name + ': ' + state.error.message)}
\n\n\n`;\n fs.writeFileSync(outputPath, page, 'utf8');\n }\n}\n\nmain();",
+ "rationale": "A layout route with an error parcel config lets the engine render an error UI into the application container when the app fails; the base revision ignores the error property and leaves the container empty.",
+ "repo": "single-spa/single-spa-layout",
+ "schema_version": "worldmodelmmbench.render-probe.v3",
+ "title": "Broken application shows configured error UI",
+ "viewport": [
+ 1280,
+ 960
+ ],
+ "volatile_fields": []
+}
diff --git a/data/rs/probes/solid__community-server-806.json b/data/rs/probes/solid__community-server-806.json
new file mode 100644
index 0000000000000000000000000000000000000000..3d44fc5af5aea058eba5e6d3a105f25bcbfe7b17
--- /dev/null
+++ b/data/rs/probes/solid__community-server-806.json
@@ -0,0 +1,28 @@
+{
+ "build_script": "build:ts",
+ "build_workdir": ".",
+ "bundle_artifact": "",
+ "decision_relevant_fields": [
+ "adapter_state.is_html",
+ "adapter_state.has_index_html",
+ "adapter_state.content_type",
+ "adapter_state.store_used"
+ ],
+ "execution_mode": "node",
+ "expected_page_errors": [],
+ "instance_id": "solid__community-server-806",
+ "payload": {},
+ "predicate_description": "The container request returns text/html content from the index.html file instead of a turtle container listing.",
+ "predicate_js": "(s) => s.adapter_state.is_html === true && s.adapter_state.has_index_html === true",
+ "product_output_kind": "rendered_document",
+ "program_js": "const fs = require('fs');\n\nconst input = JSON.parse(Buffer.from(process.argv[1], 'base64').toString('utf8'));\nconst outputPath = process.argv[2];\n\nconst baseUrl = 'http://example.com/';\nconst containerPath = `${baseUrl}foo/`;\nconst indexPath = `${containerPath}index.html`;\n\nlet IndexRepresentationStore;\ntry {\n IndexRepresentationStore = require('/testbed/dist/storage/IndexRepresentationStore').IndexRepresentationStore;\n} catch (e) {\n IndexRepresentationStore = null;\n}\n\nconst { BasicRepresentation } = require('/testbed/dist/ldp/representation/BasicRepresentation');\nconst { readableToString } = require('/testbed/dist/util/StreamUtil');\nconst { NotFoundHttpError } = require('/testbed/dist/util/errors/NotFoundHttpError');\n\nconst INDEX_HTML = `\n\n\n\nFoo Index\n\n\nWelcome to the Foo container
\nThis is the index.html page served for /foo/.
\n\n`;\n\nconst CONTAINER_TURTLE = `@prefix ldp: .\n@prefix dc: .\n\n<> a ldp:BasicContainer ;\n dc:title \"Foo container listing\" .`;\n\nconst source = {\n getRepresentation: async (identifier) => {\n if (identifier.path === indexPath) {\n return new BasicRepresentation(INDEX_HTML, 'text/html');\n }\n if (identifier.path === containerPath) {\n return new BasicRepresentation(CONTAINER_TURTLE, 'text/turtle');\n }\n throw new NotFoundHttpError();\n },\n resourceExists: async () => true,\n setRepresentation: async () => [],\n addResource: async () => ({ path: '' }),\n deleteResource: async () => [],\n modifyResource: async () => [],\n};\n\nasync function main() {\n let representation;\n let storeUsed;\n const preferences = { type: { 'text/html': 1 }};\n\n if (IndexRepresentationStore) {\n const store = new IndexRepresentationStore(source);\n representation = await store.getRepresentation({ path: containerPath }, preferences);\n storeUsed = 'IndexRepresentationStore';\n } else {\n representation = await source.getRepresentation({ path: containerPath }, preferences);\n storeUsed = 'source';\n }\n\n const body = await readableToString(representation.data);\n const contentType = representation.metadata.contentType;\n\n const state = {\n store_used: storeUsed,\n content_type: contentType,\n has_index_html: body.includes('Welcome to the Foo container'),\n is_html: contentType === 'text/html'\n };\n\n const stateScript = ``;\n\n let page;\n if (contentType === 'text/html') {\n if (/<\\/body>/i.test(body)) {\n page = body.replace(/<\\/body>/i, `${stateScript}\n${body.replace(/&/g, '&').replace(//g, '>')}\n${stateScript}\n`);\n } else {\n page = `${body}${stateScript}`;\n }\n } else {\n page = `\n\n