Initial release of ProWM-Bench v1.0.0 (part 3)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributes+1
- data/rs/probes.jsonlAdded+200
- data/rs/probes/roniemartinez_latex2mathml_pr166.jsonAdded+30
- data/rs/probes/roniemartinez_latex2mathml_pr168.jsonAdded+27
- data/rs/probes/roniemartinez_latex2mathml_pr169.jsonAdded+31
- data/rs/probes/roniemartinez_latex2mathml_pr172.jsonAdded+28
- data/rs/probes/roniemartinez_latex2mathml_pr177.jsonAdded+27
- data/rs/probes/roniemartinez_latex2mathml_pr180.jsonAdded+31
- data/rs/probes/roniemartinez_latex2mathml_pr181.jsonAdded+27
- data/rs/probes/roniemartinez_latex2mathml_pr182.jsonAdded+28
- data/rs/probes/roniemartinez_latex2mathml_pr183.jsonAdded+27
- data/rs/probes/roniemartinez_latex2mathml_pr184.jsonAdded+28
- data/rs/probes/roniemartinez_latex2mathml_pr192.jsonAdded+27
- data/rs/probes/roniemartinez_latex2mathml_pr195.jsonAdded+28
- data/rs/probes/roniemartinez_latex2mathml_pr199.jsonAdded+32
- data/rs/probes/roniemartinez_latex2mathml_pr200.jsonAdded+33
- data/rs/probes/roniemartinez_latex2mathml_pr201.jsonAdded+28
- data/rs/probes/roniemartinez_latex2mathml_pr204.jsonAdded+29
- data/rs/probes/roniemartinez_latex2mathml_pr205.jsonAdded+35
- data/rs/probes/roniemartinez_latex2mathml_pr206.jsonAdded+29
- data/rs/probes/roniemartinez_latex2mathml_pr207.jsonAdded+28
- data/rs/probes/roniemartinez_latex2mathml_pr209.jsonAdded+27
- data/rs/probes/roniemartinez_latex2mathml_pr210.jsonAdded+30
- data/rs/probes/roniemartinez_latex2mathml_pr212.jsonAdded+38
- data/rs/probes/roniemartinez_latex2mathml_pr213.jsonAdded+31
- data/rs/probes/roniemartinez_latex2mathml_pr216.jsonAdded+28
- data/rs/probes/roniemartinez_latex2mathml_pr218.jsonAdded+26
- data/rs/probes/roniemartinez_latex2mathml_pr258.jsonAdded+27
- data/rs/probes/roniemartinez_latex2mathml_pr304.jsonAdded+28
- data/rs/probes/roniemartinez_latex2mathml_pr306.jsonAdded+28
- data/rs/probes/roniemartinez_latex2mathml_pr308.jsonAdded+30
- data/rs/probes/roniemartinez_latex2mathml_pr309.jsonAdded+31
- data/rs/probes/roniemartinez_latex2mathml_pr311.jsonAdded+28
- data/rs/probes/roniemartinez_latex2mathml_pr315.jsonAdded+29
- data/rs/probes/roniemartinez_latex2mathml_pr316.jsonAdded+28
- data/rs/probes/roniemartinez_latex2mathml_pr43.jsonAdded+27
- data/rs/probes/roniemartinez_latex2mathml_pr47.jsonAdded+28
- data/rs/probes/roniemartinez_latex2mathml_pr48.jsonAdded+27
- data/rs/probes/roniemartinez_latex2mathml_pr529.jsonAdded+29
- data/rs/probes/roniemartinez_latex2mathml_pr65.jsonAdded+27
- data/rs/probes/roniemartinez_latex2mathml_pr93.jsonAdded+28
- data/rs/probes/single-spa__single-spa-layout-24.jsonAdded+26
- data/rs/probes/single-spa__single-spa-layout-70.jsonAdded+27
- data/rs/probes/solid__community-server-806.jsonAdded+28
- data/rs/probes/textualize__rich-2247.jsonAdded+28
- data/rs/probes/textualize__rich-2642.jsonAdded+28
- data/rs/probes/textualize__rich-2804.jsonAdded+27
- data/rs/probes/textualize__rich-3105.jsonAdded+27
- data/rs/probes/textualize__rich-3518.jsonAdded+29
- data/rs/probes/twigjs__twig.js-879.jsonAdded+26
58 unmodified lines5960616258 unmodified lines*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -textdata/rs/items.jsonl filter=lfs diff=lfs merge=lfs -textdata/rs/prompts.jsonl filter=lfs diff=lfs merge=lfs -text123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200{"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"}123456789101112131415161718192021222324252627282930{ "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 \"<mfrac\" in mathml and 'linethickness=\"0\"' in mathml\n ),\n \"has_open_paren\": \"(\" in mathml,\n \"has_close_paren\": \")\" in mathml,\n \"error\": error,\n }\n\n rendered = (\n mathml\n if render_ok\n else \"<p>Error: \" + esc_html(error[\"name\"] + \": \" + error[\"message\"]) + \"</p>\"\n )\n\n state_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n title = esc_html(payload.get(\"title\", \"latex2mathml \\\\choose\"))\n\n page = (\n \"<!doctype html>\"\n \"<html>\"\n \"<head>\"\n '<meta charset=\"utf-8\">'\n \"<title>\" + title + \"</title>\"\n \"<style>\"\n \"body { font-family: 'Cambria Math', 'Times New Roman', serif; padding: 2rem; }\"\n \"math { font-size: 2rem; }\"\n \"</style>\"\n \"</head>\"\n \"<body>\"\n \"<p>LaTeX: <code>\" + esc_html(latex) + \"</code></p>\"\n '<div id=\"mathml-output\">' + rendered + \"</div>\"\n \"<script>\"\n \"window.__WM_STATE__ = \" + state_json + \";\"\n \"window.__WM_READY__ = true;\"\n \"</script>\"\n \"</body>\"\n \"</html>\"\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": []}123456789101112131415161718192021222324252627{ "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 \"<mstyle\" in mathml\n\nstate = {\n \"render_ok\": render_ok,\n \"error\": error,\n \"latex_input\": latex_input,\n \"mathml\": mathml,\n \"color_applied\": color_applied,\n}\nstate_script = \"window.__WM_STATE__=\" + json.dumps(state).replace(\"<\", \"\\\\u003c\") + \";window.__WM_READY__=true;\"\n\ntitle = html.escape(payload.get(\"title\", \"latex2mathml color\"))\nlatex_escaped = html.escape(latex_input)\ncolor_flag = str(color_applied).lower()\n\nif render_ok:\n math_section = mathml\nelse:\n math_section = '<p role=\"alert\">' + html.escape(error[\"name\"] + \": \" + error[\"message\"]) + '</p>'\n\nlines = [\n \"<!DOCTYPE html>\",\n '<html lang=\"en\">',\n \"<head>\",\n '<meta charset=\"utf-8\">',\n \"<title>\" + title + \"</title>\",\n \"<style>\",\n \"body { font-family: sans-serif; margin: 2rem; }\",\n \"#math { font-size: 2.5rem; margin: 1rem 0; }\",\n \"aside { color: #555; font-size: 0.9rem; margin-top: 1rem; }\",\n \"</style>\",\n \"</head>\",\n \"<body>\",\n '<section id=\"math\" aria-label=\"Rendered MathML\">',\n math_section,\n \"</section>\",\n \"<aside>\",\n \"LaTeX: <code>\" + latex_escaped + \"</code><br>\",\n 'mathcolor attribute present: <span id=\"color-flag\">' + color_flag + \"</span>\",\n \"</aside>\",\n \"<script>\" + state_script + \"</script>\",\n \"</body>\",\n \"</html>\",\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{<color>}<content> 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 <mstyle mathcolor=\"red\">.", "repo": "roniemartinez/latex2mathml", "schema_version": "worldmodelmmbench.render-probe.v3", "title": "LaTeX \\color command renders red token in MathML", "viewport": [ 1280, 960 ], "volatile_fields": []}12345678910111213141516171819202122232425262728293031{ "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\"\"\"<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>{payload.get(\"title\", \"LaTeX color scope\")}</title>\n<style>\n body {{ font-family: sans-serif; margin: 2em; background: #fff; }}\n h1 {{ font-size: 1.2em; }}\n .example {{ margin: 2em 0; padding: 1em; border: 1px solid #ccc; }}\n math {{ font-size: 3em; }}\n .label {{ color: #666; margin-bottom: 0.5em; font-family: monospace; }}\n</style>\n</head>\n<body>\n <h1>LaTeX <code>\\\\color</code> scope</h1>\n <div class=\"example\">\n <div class=\"label\">Input: \\\\color{{red}}ab</div>\n {simple_mathml}\n </div>\n <div class=\"example\">\n <div class=\"label\">Input: {{a\\\\color{{red}}bc}}d</div>\n {complex_mathml}\n </div>\n <script>window.__WM_STATE__ = {state_json}; window.__WM_READY__ = true;</script>\n</body>\n</html>\"\"\"\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": []}12345678910111213141516171819202122232425262728{ "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\"<mover\", mathml))\ndiacritic_mo_count = len(re.findall(r\"<mo>�[0-9A-Fa-f]+;</mo>\", 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\"\"\"<!doctype html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>{payload.get('title', 'latex2mathml ddot test')}</title>\n</head>\n<body>\n<math xmlns=\"http://www.w3.org/1998/Math/MathML\" display=\"block\">\n{mathml if render_ok else '<mtext>Conversion failed</mtext>'}\n</math>\n<script>\nwindow.__WM_STATE__ = {json.dumps(state)};\nwindow.__WM_READY__ = true;\n</script>\n</body>\n</html>\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": []}123456789101112131415161718192021222324252627{ "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\": \"<mfrac>\" in mathml_dfrac or \"<mfrac \" in mathml_dfrac,\n}\n\npage = f\"\"\"<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>latex2mathml dfrac support</title>\n<style>\nbody {{ font-family: serif; margin: 2em; }}\n.math-block {{ margin: 1.5em 0; font-size: 1.4em; }}\nlabel {{ display: block; margin-bottom: 0.3em; color: #333; font-family: sans-serif; font-size: 0.9em; }}\n</style>\n</head>\n<body>\n<h1>latex2mathml: <code>\\\\dfrac</code> support</h1>\n<div class=\"math-block\">\n<label>Input: <code>\\\\dfrac{{a}}{{b}}</code></label>\n{mathml_dfrac}\n</div>\n<div class=\"math-block\">\n<label>Input: <code>\\\\frac{{a}}{{b}}</code> (for comparison)</label>\n{mathml_frac}\n</div>\n<script>\nwindow.__WM_STATE__ = {json.dumps(state)};\nwindow.__WM_READY__ = true;\n</script>\n</body>\n</html>\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": []}12345678910111213141516171819202122232425262728293031{ "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 <mo> 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 '<div style=\"margin: 1.2em 0;\">'\n '<pre style=\"margin:0 0 0.3em 0; color:#555;\">{}</pre>'\n '{}'\n '</div>'.format(html.escape(latex), mathml)\n )\n\ntable_rows = []\nfor latex, key, mathml, mo_str, mi_str in rows:\n table_rows.append(\n '<tr><td>{}</td><td>{}</td><td>{}</td></tr>'.format(\n html.escape(key), html.escape(mo_str), html.escape(mi_str)\n )\n )\n\npage = \"\"\"<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>latex2mathml ellipsis commands</title>\n<style>\nbody {{ font-family: Georgia, serif; margin: 2em; }}\nh1, h2 {{ font-family: Arial, sans-serif; }}\ntable {{ border-collapse: collapse; margin-top: 1em; font-family: monospace; }}\nth, td {{ border: 1px solid #aaa; padding: 0.4em 0.8em; text-align: left; }}\nth {{ background: #f0f0f0; }}\n</style>\n</head>\n<body>\n<h1>LaTeX ellipsis commands</h1>\n{formulas}\n<h2>Observed MathML element contents</h2>\n<table>\n<tr><th>Command</th><th><mo> contents</th><th><mi> contents</th></tr>\n{rows}\n</table>\n<script>window.__WM_STATE__ = {state_json}; window.__WM_READY__ = true;</script>\n</body>\n</html>\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 <mo>/<mi> 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": []}123456789101112131415161718192021222324252627{ "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 \"<mstyle\" in mathml\n)\n\nstate = {\n \"render_ok\": render_ok,\n \"error\": error,\n \"has_displaystyle_mstyle\": has_displaystyle_mstyle,\n \"latex\": latex,\n}\n\ntitle = html.escape(str(payload.get(\"title\", \"latex2mathml displaystyle\")))\nstate_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n\npage = f\"\"\"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>{title}</title>\n<style>\n body {{ font-family: serif; margin: 2em; }}\n math {{ font-size: 1.4em; }}\n</style>\n</head>\n<body>\n<p>LaTeX: <code>{html.escape(latex)}</code></p>\n<div id=\"math-output\">\n{mathml if render_ok else html.escape(str(error))}\n</div>\n<script>window.__WM_STATE__ = {state_json}; window.__WM_READY__ = true;</script>\n</body>\n</html>\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 <mstyle displaystyle=\"true\" scriptlevel=\"0\"> wrapper, which base omits.", "repo": "roniemartinez/latex2mathml", "schema_version": "worldmodelmmbench.render-probe.v3", "title": "displaystyle wraps fractions in mstyle", "viewport": [ 1280, 960 ], "volatile_fields": []}12345678910111213141516171819202122232425262728{ "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\"<mtable\\b\", mathml))\nmtr_count = len(re.findall(r\"<mtr\\b\", mathml))\nhas_displaystyle = 'displaystyle=\"true\"' in mathml\nhas_rowspacing = 'rowspacing=\"0.5em\"' in mathml\nhas_columnspacing = 'columnspacing=\"1em\"' in mathml\n\nstate = {\n \"render_ok\": render_ok,\n \"error\": error,\n \"mtable_count\": mtable_count,\n \"mtr_count\": mtr_count,\n \"has_displaystyle\": has_displaystyle,\n \"has_rowspacing\": has_rowspacing,\n \"has_columnspacing\": has_columnspacing,\n \"mathml_length\": len(mathml),\n}\n\ntitle = payload.get(\"title\", \"latex2mathml \\\\displaylines\")\n\nbody = mathml if render_ok else f'<p style=\"color:red\">Error: {error[\"name\"]}: {error[\"message\"]}</p>'\n\npage = f\"\"\"<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>{title}</title>\n<style>\n body {{ font-family: \"Latin Modern Math\", \"STIX Two Math\", serif; margin: 2em; }}\n math {{ font-size: 1.6em; }}\n</style>\n</head>\n<body>\n{body}\n<script>\nwindow.__WM_STATE__ = {json.dumps(state, ensure_ascii=False)};\nwindow.__WM_READY__ = true;\n</script>\n</body>\n</html>\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": []}123456789101112131415161718192021222324252627{ "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 <mi>exp</mi> 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\": \"<mi>exp</mi>\" in exp_mathml,\n \"emptyset_contains_emptyset_glyph\": \"∅\" in emptyset_mathml,\n}\n\nstate_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n\nexp_error_msg = \"<p>Error rendering \\\\exp x</p>\"\nemptyset_error_msg = \"<p>Error rendering \\\\emptyset</p>\"\n\npage = (\n \"<!DOCTYPE html>\\n\"\n \"<html>\\n\"\n \"<head>\\n\"\n '<meta charset=\"utf-8\">\\n'\n \"<title>\" + html.escape(payload.get(\"title\", \"latex2mathml probe\")) + \"</title>\\n\"\n \"<style>\\n\"\n \" body { font-family: serif; margin: 2em; }\\n\"\n \" .expr { margin: 1.5em 0; }\\n\"\n \" .label { font-family: sans-serif; font-size: 0.9em; color: #555; }\\n\"\n \" .raw { font-family: monospace; font-size: 0.8em; color: #777; margin-top: 0.3em; }\\n\"\n \"</style>\\n\"\n \"</head>\\n\"\n \"<body>\\n\"\n \" <h1>latex2mathml: \\\\exp and \\\\emptyset</h1>\\n\"\n ' <div class=\"expr\">\\n'\n ' <div class=\"label\">\\\\exp x</div>\\n'\n \" \" + (exp_mathml if render_ok else exp_error_msg) + \"\\n\"\n ' <div class=\"raw\">' + html.escape(exp_mathml) + \"</div>\\n\"\n \" </div>\\n\"\n ' <div class=\"expr\">\\n'\n ' <div class=\"label\">\\\\emptyset</div>\\n'\n \" \" + (emptyset_mathml if render_ok else emptyset_error_msg) + \"\\n\"\n ' <div class=\"raw\">' + html.escape(emptyset_mathml) + \"</div>\\n\"\n \" </div>\\n\"\n \" <script>window.__WM_STATE__ = \" + state_json + \"; window.__WM_READY__ = true;</script>\\n\"\n \"</body>\\n\"\n \"</html>\\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": []}12345678910111213141516171819202122232425262728{ "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 = '<mspace' in mathml and 'width=\"0.5em\"' in mathml\n\nstate = {\n \"latex_input\": latex_input,\n \"mathml\": mathml,\n \"render_ok\": render_ok,\n \"error\": error,\n \"has_enspace_mspace\": has_enspace_mspace,\n}\n\nstate_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n\npage = f\"\"\"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>{esc_html(payload.get('title', 'latex2mathml enspace'))}</title>\n<style>\n body {{\n font-family: \"Latin Modern Math\", \"STIX Two Math\", serif;\n margin: 2em;\n }}\n #math-container {{\n font-size: 32px;\n border: 1px solid #ccc;\n padding: 1em;\n display: inline-block;\n }}\n</style>\n</head>\n<body>\n<h1>LaTeX: <code>{esc_html(latex_input)}</code></h1>\n<div id=\"math-container\">\n{mathml if render_ok else f'<p style=\"color:red\">Error: {esc_html(error[\"name\"])}: {esc_html(error[\"message\"])}</p>'}\n</div>\n<script>\nwindow.__WM_STATE__ = {state_json};\nwindow.__WM_READY__ = true;\n</script>\n</body>\n</html>\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": []}123456789101112131415161718192021222324252627{ "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 <mover> wrappers with the grave (`) and hat (^) diacritic <mo> 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\": \"<mover>\" in mathml_grave and \"`\" in mathml_grave,\n \"hat_mover\": \"<mover>\" in mathml_hat and \"^\" in mathml_hat,\n \"mover_count_grave\": mathml_grave.count(\"<mover>\"),\n \"mover_count_hat\": mathml_hat.count(\"<mover>\"),\n}\n\ntitle = html.escape(payload.get(\"title\", \"latex2mathml grave and hat\"))\nscript_state = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n\npage = f\"\"\"<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>{title}</title>\n<style>\nbody {{ font-family: \"Latin Modern Math\", \"STIX Two Math\", serif; margin: 2em; }}\n.math-container {{ margin: 1.5em 0; }}\nmath {{ font-size: 2em; }}\n</style>\n</head>\n<body>\n<h1>Grave and Hat accents</h1>\n<div class=\"math-container\">{mathml_grave}</div>\n<div class=\"math-container\">{mathml_hat}</div>\n<script>window.__WM_STATE__ = {script_state}; window.__WM_READY__ = true;</script>\n</body>\n</html>\"\"\"\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": []}12345678910111213141516171819202122232425262728{ "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 <mstyle mathsize='2.49em'> and <mstyle mathsize='2.07em'> 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 = '<mstyle mathsize=\"2.49em\">' in main_mathml\nhas_huge_mstyle = '<mstyle mathsize=\"2.07em\">' 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 \"<p>Error: \" + html.escape(str(main_error)) + \"</p>\"\n\npage = f\"\"\"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>{title}</title>\n<style>\n body {{ font-family: \"Latin Modern Math\", \"STIX Two Math\", serif; font-size: 28px; margin: 2em; }}\n .expr {{ margin: 1em 0; }}\n code {{ font-size: 0.9em; background: #f4f4f4; padding: 0.1em 0.3em; }}\n</style>\n</head>\n<body>\n<h1>{title}</h1>\n<p>LaTeX input: <code>{html.escape(LATEX_MAIN)}</code></p>\n<div class=\"expr\" id=\"rendered\">{rendered}</div>\n<p>Normal baseline:</p>\n<div class=\"expr\"><math xmlns=\"http://www.w3.org/1998/Math/MathML\" display=\"inline\"><mrow><mo stretchy=\"false\">[</mo><mo stretchy=\"false\">[</mo><mo stretchy=\"false\">[</mo></mrow></math></div>\n<script>window.__WM_STATE__ = {json.dumps(state)}; window.__WM_READY__ = true;</script>\n</body>\n</html>\"\"\"\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 <mstyle mathsize='2.49em'> and <mstyle mathsize='2.07em'>, 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": []}1234567891011121314151617181920212223242526272829303132{ "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 <mi>ker</mi>, two movablelimits <mo> elements, and three <mo> 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 \"<!DOCTYPE html>\"\n \"<html>\"\n \"<head>\"\n '<meta charset=\"utf-8\">'\n \"<title>\" + title + \"</title>\"\n \"</head>\"\n \"<body>\"\n \"<h1>\" + title + \"</h1>\"\n \"<p>LaTeX: \" + html.escape(latex) + \"</p>\"\n + (mathml if error is None else '<p role=\"alert\">' + html.escape(error[\"name\"] + \": \" + error[\"message\"]) + \"</p>\")\n + \"<script>window.__WM_STATE__ = \"\n + json.dumps(state).replace(\"<\", \"\\\\u003c\")\n + \"; window.__WM_READY__ = true;</script>\"\n + \"</body></html>\"\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 <mi>ker</mi>, 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": []}123456789101112131415161718192021222324252627282930313233{ "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(\"<mspace\"),\n \"mtext_count\": mathml.count(\"<mtext\"),\n \"has_kern_mspace\": 'width=\"-1.5pt\"' in mathml,\n \"has_mu_width\": 'width=\"18mu\"' in mathml,\n \"has_negthinspace\": 'width=\"negativethinmathspace\"' in mathml,\n \"has_negmedspace\": 'width=\"negativemediummathspace\"' in mathml,\n \"has_negthickspace\": 'width=\"negativethickmathspace\"' in mathml,\n \"has_thinspace\": 'width=\"thinmathspace\"' in mathml,\n \"has_nobreakspace_mtext\": \"<mtext\" in mathml and \" \" in mathml,\n}\n\ntitle = html.escape(input_payload.get(\"title\", \"latex2mathml spacing commands\"))\n\nif render_ok:\n body_content = mathml\nelse:\n body_content = '<p style=\"color:red\">' + html.escape(error[\"name\"]) + \": \" + html.escape(error[\"message\"]) + \"</p>\"\n\nstate_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n\npage = (\n '<!DOCTYPE html>\\n'\n '<html lang=\"en\">\\n'\n '<head>\\n'\n '<meta charset=\"utf-8\">\\n'\n '<title>' + title + '</title>\\n'\n '<style>\\n'\n 'body { font-family: serif; margin: 2em; }\\n'\n 'math { font-size: 1.4em; display: block; overflow-x: auto; }\\n'\n '.caption { color: #555; font-family: sans-serif; font-size: 0.9em; margin-top: 1em; }\\n'\n '</style>\\n'\n '</head>\\n'\n '<body>\\n'\n '<p class=\"caption\">Rendered MathML for the spacing-command expression:</p>\\n'\n + body_content + '\\n'\n '<script>window.__WM_STATE__=' + state_json + ';window.__WM_READY__=true;</script>\\n'\n '</body>\\n'\n '</html>\\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 <mspace> and <mtext> 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": []}12345678910111213141516171819202122232425262728{ "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(\"<mstyle\") if style_ok else 0,\n}\n\ntitle = html.escape(payload.get(\"title\", \"latex2mathml sizing and style commands\"))\n\nsections = []\nsections.append(\"<h2>Sizing commands</h2>\")\nif sizing_ok:\n sections.append(sizing_mathml)\nelse:\n sections.append(\"<pre>\" + html.escape(type(sizing_err).__name__ + \": \" + str(sizing_err)) + \"</pre>\")\n\nsections.append(\"<h2>Style commands</h2>\")\nif style_ok:\n sections.append(style_mathml)\nelse:\n sections.append(\"<pre>\" + html.escape(type(style_err).__name__ + \": \" + str(style_err)) + \"</pre>\")\n\nbody = \"\".join(sections)\nstate_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n\npage = (\n \"<!doctype html>\\n<html>\\n<head>\\n<meta charset=\\\"utf-8\\\">\\n<title>\"\n + title\n + \"</title>\\n<style>\\n body { font-family: serif; margin: 1em; }\\n math { font-size: 18pt; }\\n h2 { font-size: 14pt; margin-top: 1em; }\\n</style>\\n</head>\\n<body>\\n\"\n + body\n + \"\\n<script>\\nwindow.__WM_STATE__ = \"\n + state_json\n + \";\\nwindow.__WM_READY__ = true;\\n</script>\\n</body>\\n</html>\"\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": []}1234567891011121314151617181920212223242526272829{ "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(\"<mn>1</mn>\") &&\n m.X_123.includes(\"<mn>23</mn>\") &&\n typeof m.X_mathrm_min === \"string\" &&\n m.X_mathrm_min.includes(\"<msub><mi>X</mi><mrow>\") &&\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(\"</msub>\") > m.X_mathrm_min.indexOf(\">n</\") &&\n typeof m.x_sup_dot5 === \"string\" &&\n (m.x_sup_dot5.includes(\"<mn>.5</mn>\") || m.x_sup_dot5.includes(\"<mi>.5</mi>\")) &&\n !m.x_sup_dot5.includes(\"</msup><mn>5</mn>\")\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 \"<!DOCTYPE html>\",\n '<html><head><meta charset=\"utf-8\"><title>',\n esc(payload.get(\"title\", \"latex2mathml probe\")),\n \"</title>\",\n \"<style>body{font-family:Georgia,serif;margin:2em;} figure{margin:1.5em 0;} figcaption{color:#555;margin-bottom:.5em;}</style>\",\n \"</head><body>\",\n]\n\nif render_ok:\n for key, latex in expressions.items():\n parts.append(\"<figure>\")\n parts.append(\"<figcaption>\" + esc(latex) + \"</figcaption>\")\n parts.append(mathml[key])\n parts.append(\"</figure>\")\nelse:\n parts.append(\"<p role='alert'>\" + esc(error[\"name\"] + \": \" + error[\"message\"]) + \"</p>\")\n\nparts.append(\"<script>\")\nparts.append(\"window.__WM_STATE__ = \" + json.dumps(state) + \";\")\nparts.append(\"window.__WM_READY__ = true;\")\nparts.append(\"</script></body></html>\")\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": []}1234567891011121314151617181920212223242526272829303132333435{ "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 = '<math xmlns=\"http://www.w3.org/1998/Math/MathML\" display=\"inline\"><mrow></mrow></math>'\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 \"<!DOCTYPE html>\",\n \"<html>\",\n \"<head>\",\n '<meta charset=\"utf-8\">',\n \"<title>latex2mathml math font commands</title>\",\n \"<style>\",\n \"body { font-family: Georgia, serif; margin: 24px; background: #fff; color: #111; }\",\n \"h1 { font-size: 1.3rem; margin-bottom: 1rem; }\",\n \".expr { margin: 0.6rem 0; font-size: 1.1rem; }\",\n \".expr strong { display: inline-block; width: 8rem; font-family: monospace; font-weight: normal; color: #333; }\",\n \"math { font-size: 1.4rem; }\",\n \"</style>\",\n \"</head>\",\n \"<body>\",\n \"<h1>LaTeX math font commands rendered as MathML</h1>\",\n ]\n\n for row in rows:\n parts.append(\n f'<div class=\"expr\"><strong>{row[\"label\"]}</strong> {row[\"mathml\"]}</div>'\n )\n\n state_json = json.dumps(state).replace(\"<\", \"\\\\u003c\")\n parts.append(\n f\"<script>window.__WM_STATE__ = {state_json}; window.__WM_READY__ = true;</script>\"\n )\n parts.append(\"</body>\")\n parts.append(\"</html>\")\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": []}1234567891011121314151617181920212223242526272829{ "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'<mstyle[^>]*displaystyle=\"false\"', mathml))\n mtext_count = len(re.findall(r'<mtext', mathml))\n mrow_count = len(re.findall(r'<mrow', mathml))\n\n results.append(\n {\n \"input\": latex,\n \"output\": mathml,\n \"render_ok\": ok,\n \"error\": err,\n \"has_mstyle\": has_mstyle,\n \"mtext_count\": mtext_count,\n \"mrow_count\": mrow_count,\n }\n )\n\n sections.append(\n f'<div class=\"example\">'\n f'<p>Input: <code>{html.escape(latex)}</code></p>'\n f'<div class=\"mathml\">{mathml}</div>'\n f'</div>'\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'''<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>{html.escape(payload.get(\"title\", \"latex2mathml hbox\"))}</title>\n<style>\n body {{ font-family: sans-serif; margin: 2em; }}\n .example {{ margin-bottom: 2em; }}\n code {{ background: #f0f0f0; padding: .2em; }}\n</style>\n</head>\n<body>\n<h1>\\\\hbox support</h1>\n{\"\".join(sections)}\n<script>window.__WM_STATE__={state_json};window.__WM_READY__=true;</script>\n</body>\n</html>'''\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": []}12345678910111213141516171819202122232425262728{ "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\"<mtext>(.*?)</mtext>\", mathml)\n if m:\n mtext_content = m.group(1)\n mrow = re.search(r\"<mstyle[^>]*>.*?<mrow>(.*?)</mrow>.*?</mstyle>\", mathml, re.DOTALL)\n if mrow:\n mi = re.search(r\"<mi>(.*?)</mi>\", 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'<p style=\"color:red\">{error[\"name\"]}: {error[\"message\"]}</p>'\n\nhtml = f\"\"\"<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>{payload.get(\"title\", \"latex2mathml hbox test\")}</title>\n<style>\n body {{ font-family: serif; margin: 2em; }}\n #math {{ font-size: 1.5em; margin: 1em 0; }}\n #caption {{ color: #555; font-family: monospace; }}\n</style>\n</head>\n<body>\n<div id=\"math\">{body}</div>\n<div id=\"caption\">LaTeX: {latex}</div>\n<script>\nwindow.__WM_STATE__ = {json.dumps(state)};\nwindow.__WM_READY__ = true;\n</script>\n</body>\n</html>\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": []}123456789101112131415161718192021222324252627{ "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 \"<!DOCTYPE html>\"\n \"<html lang='en'>\"\n \"<head>\"\n \"<meta charset='utf-8'>\"\n \"<title>\" + html.escape(str(payload.get(\"title\", \"latex2mathml probe\"))) + \"</title>\"\n \"<style>body{font-family:serif;margin:2em;}#math{margin:1em 0;}</style>\"\n \"</head>\"\n \"<body>\"\n \"<div id='math'>\" + mathml + \"</div>\"\n \"<script>\"\n \"window.__WM_STATE__ = \" + json.dumps(state).replace(\"<\", \"\\\\u003c\") + \";\"\n \"window.__WM_READY__ = true;\"\n \"</script>\"\n \"</body>\"\n \"</html>\"\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": []}123456789101112131415161718192021222324252627282930{ "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] = '<math xmlns=\"http://www.w3.org/1998/Math/MathML\" display=\"inline\"><mtext>Error</mtext></math>'\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 \"<!DOCTYPE html>\"\n \"<html>\"\n \"<head>\"\n \"<meta charset='utf-8'>\"\n \"<title>latex2mathml PR210</title>\"\n \"<style>\"\n \"body{font-family:sans-serif;padding:24px;background:#fff;color:#000;}\"\n \"h1{font-size:1.25rem;margin-bottom:1rem;}\"\n \".case{margin:1.5rem 0;}\"\n \".label{font-weight:bold;margin-bottom:0.25rem;}\"\n \"</style>\"\n \"</head>\"\n \"<body>\"\n \"<h1>latex2mathml: \\\\style, \\\\mbox, \\\\mkern, sizes, \\\\idotsint</h1>\"\n )\n\n for key in (\"style\", \"mbox\", \"sizes\", \"mkern\", \"idotsint\"):\n html += f\"<div class='case'><div class='label'>{key}</div>{mathml[key]}</div>\"\n\n html += (\n \"<script>\"\n \"window.__WM_STATE__ = \" + json.dumps(observations) + \";\"\n \"window.__WM_READY__ = true;\"\n \"</script>\"\n \"</body>\"\n \"</html>\"\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": []}1234567891011121314151617181920212223242526272829303132333435363738{ "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\"<error>{type(e).__name__}: {e}</error>\"\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\"], \"<mover>\") and has_entity(results[\"mathring\"], \"˚\"),\n \"overleftarrow_ok\": has_tag(results[\"overleftarrow\"], \"<mover>\") and has_entity(results[\"overleftarrow\"], \"←\"),\n \"overleftrightarrow_ok\": has_tag(results[\"overleftrightarrow\"], \"<mover>\") and has_entity(results[\"overleftrightarrow\"], \"↔\"),\n \"overparen_ok\": has_tag(results[\"overparen\"], \"<mover>\") and has_entity(results[\"overparen\"], \"⏜\"),\n \"widehat_ok\": has_tag(results[\"widehat\"], \"<mover>\") and has_entity(results[\"widehat\"], \"^\"),\n \"widetilde_ok\": has_tag(results[\"widetilde\"], \"<mover>\") and has_entity(results[\"widetilde\"], \"~\"),\n \"tilde_ok\": has_tag(results[\"tilde\"], \"<mover>\") and has_entity(results[\"tilde\"], \"~\"),\n \"underleftarrow_ok\": has_tag(results[\"underleftarrow\"], \"<munder>\") and has_entity(results[\"underleftarrow\"], \"←\"),\n \"underrightarrow_ok\": has_tag(results[\"underrightarrow\"], \"<munder>\") and has_entity(results[\"underrightarrow\"], \"→\"),\n \"underleftrightarrow_ok\": has_tag(results[\"underleftrightarrow\"], \"<munder>\") and has_entity(results[\"underleftrightarrow\"], \"↔\"),\n \"underparen_ok\": has_tag(results[\"underparen\"], \"<munder>\") 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 \"<!doctype html>\",\n \"<html>\",\n \"<head>\",\n '<meta charset=\"utf-8\">',\n \"<title>latex2mathml accent commands</title>\",\n \"<style>\",\n \"body { font-family: serif; margin: 2em; }\",\n \"math { font-size: 1.4em; margin: 0.5em 0; display: block; }\",\n \".label { font-family: sans-serif; font-size: 0.85em; color: #555; margin-top: 1em; }\",\n \"</style>\",\n \"</head>\",\n \"<body>\",\n]\n\nfor name, xml in results.items():\n html_parts.append(f'<div class=\"label\">{name}</div>')\n html_parts.append(xml)\n\nhtml_parts.append(\"<script>\")\nhtml_parts.append(\"window.__WM_STATE__ = \" + json.dumps(state) + \";\")\nhtml_parts.append(\"window.__WM_READY__ = true;\")\nhtml_parts.append(\"</script>\")\nhtml_parts.append(\"</body>\")\nhtml_parts.append(\"</html>\")\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": []}12345678910111213141516171819202122232425262728293031{ "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'<math xmlns=\"http://www.w3.org/1998/Math/MathML\" display=\"inline\"><mtext>{html.escape(type(exc).__name__)}: {html.escape(str(exc))}</mtext></math>'\n\n state[f\"{key}_output\"] = mathml\n state[f\"{key}_length\"] = len(mathml)\n\n body_parts.append('<section style=\"margin:1.5em 0;\">')\n body_parts.append(f'<h2 style=\"font-family:sans-serif;font-size:1.1em;\">{html.escape(label)}</h2>')\n body_parts.append(mathml)\n body_parts.append('</section>')\n\nstate[\"phantom_has_mphantom\"] = \"<mphantom\" in state.get(\"phantoma_output\", \"\")\nstate[\"vphantom_has_mpadded_width_zero\"] = (\n \"<mpadded\" in state.get(\"vphantoma_output\", \"\") and 'width=\"0\"' in state.get(\"vphantoma_output\", \"\")\n)\nstate[\"sideset_msubsup_count\"] = state.get(\"sideset1234_sum_output\", \"\").count(\"<msubsup\")\nstate[\"sideset_has_mphantom\"] = \"<mphantom\" in state.get(\"sideset1234_sum_output\", \"\")\n\npage = f\"\"\"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>{title}</title>\n<style>\n body {{ font-family: sans-serif; margin: 2em; }}\n math {{ font-size: 1.4em; }}\n</style>\n</head>\n<body>\n{\"\".join(body_parts)}\n<script>\nwindow.__WM_STATE__ = {json.dumps(state)};\nwindow.__WM_READY__ = true;\n</script>\n</body>\n</html>\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": []}12345678910111213141516171819202122232425262728{ "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 \"<!DOCTYPE html>\",\n '<html lang=\"en\">',\n \"<head>\",\n '<meta charset=\"utf-8\">',\n \"<title>latex2mathml font styles</title>\",\n \"<style>\",\n \"body{font-family:sans-serif;margin:2em;background:#fff;color:#000;}\",\n \".item{margin:1.2em 0;padding:1em;border:1px solid #ccc;border-radius:4px;}\",\n \".latex{font-family:monospace;background:#f5f5f5;padding:0.2em 0.4em;border-radius:3px;}\",\n \".math{margin:0.6em 0;}\",\n \".error{color:#c00;font-weight:bold;}\",\n \".status{font-size:0.85em;color:#555;margin-top:0.4em;}\",\n \"</style>\",\n \"</head>\",\n \"<body>\",\n \"<h1>latex2mathml font style and text formatting commands</h1>\",\n]\n\nfor entry in results:\n parts.append('<div class=\"item\">')\n parts.append(f'<div class=\"latex\">{html.escape(entry[\"latex\"])}</div>')\n if entry[\"ok\"]:\n parts.append(f'<div class=\"math\">{entry[\"mathml\"]}</div>')\n hit = bool(\n entry[\"expected_variant\"]\n and f'mathvariant=\"{entry[\"expected_variant\"]}\"' in entry[\"mathml\"]\n )\n parts.append(\n f'<div class=\"status\">expected mathvariant present: {hit}</div>'\n )\n else:\n parts.append(\n f'<div class=\"error\">{html.escape(entry[\"error\"])}</div>'\n )\n parts.append(\"</div>\")\n\nparts.append(\n \"<script>window.__WM_STATE__ = \"\n + json.dumps(state, ensure_ascii=False).replace(\"<\", \"\\\\u003c\")\n + \"; window.__WM_READY__ = true;</script>\"\n)\nparts.append(\"</body>\")\nparts.append(\"</html>\")\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": []}1234567891011121314151617181920212223242526{ "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 <mroot> 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'<div class=\"math-block\"><h2>{r[\"label\"]}</h2>{r[\"mathml\"]}</div>'\n for r in results\n)\n\nhtml = f\"\"\"<!doctype html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>latex2mathml \\\\root ... \\\\of ...</title>\n<style>\n body {{ font-family: Georgia, serif; margin: 2em; }}\n .math-block {{ margin: 1.5em 0; }}\n h2 {{ font-size: 1.1em; margin-bottom: 0.3em; }}\n</style>\n</head>\n<body>\n{math_blocks}\n<script>\nwindow.__WM_STATE__ = {json.dumps(state)};\nwindow.__WM_READY__ = true;\n</script>\n</body>\n</html>\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 <mroot/> 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": []}123456789101112131415161718192021222324252627{ "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 <mo> 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 = '''<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>{}</title>\n<style>\n body {{ font-family: \"Times New Roman\", serif; margin: 2em; }}\n #equation {{ font-size: 3em; margin: 1em 0; }}\n #status {{ font-family: sans-serif; font-size: 0.9em; color: #555; margin-top: 1em; }}\n</style>\n</head>\n<body>\n<div id=\"equation\">{}</div>\n<div id=\"status\">{}</div>\n<script>window.__WM_STATE__ = {}; window.__WM_READY__ = true;</script>\n</body>\n</html>\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 <mo> 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": []}12345678910111213141516171819202122232425262728{ "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 <mo>mod</mo> 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\": \"<mo>mod</mo>\" in mathml,\n \"has_mi_bmod\": \"<mi>\\\\bmod</mi>\" in mathml,\n}\n\ntitle = html.escape(payload.get(\"title\", \"latex2mathml \\\\bmod test\"))\n\npage = f\"\"\"<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>{title}</title>\n<style>\n body {{ font-family: serif; margin: 2em; }}\n #equation {{ font-size: 2em; margin: 1em 0; }}\n #status {{ font-family: monospace; font-size: 0.85em; color: #555; margin-top: 1em; }}\n</style>\n</head>\n<body>\n<h1>LaTeX: <code>9 \\\\bmod 2</code></h1>\n<div id=\"equation\">{mathml if render_ok else '<p>Conversion failed</p>'}</div>\n<div id=\"status\">MathML source: {html.escape(mathml)}</div>\n<script>\nwindow.__WM_STATE__ = {json.dumps(state)};\nwindow.__WM_READY__ = true;\n</script>\n</body>\n</html>\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": []}12345678910111213141516171819202122232425262728{ "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 \"<!DOCTYPE html>\",\n \"<html>\",\n \"<head>\",\n '<meta charset=\"utf-8\">',\n f\"<title>{title}</title>\",\n \"<style>\",\n \"body{font-family:sans-serif;padding:20px;}\",\n \".eq{margin:1.2em 0;font-size:1.6em;}\",\n \".label{font-size:0.6em;color:#555;margin-bottom:0.2em;}\",\n \"</style>\",\n \"</head>\",\n \"<body>\",\n f\"<h1>{title}</h1>\",\n]\n\nfor eq in equations:\n lines.append(f'<div class=\"label\">{html_mod.escape(eq[\"label\"])}</div>')\n if eq[\"mathml\"]:\n lines.append(f'<div class=\"eq\">{eq[\"mathml\"]}</div>')\n else:\n lines.append(f'<div class=\"eq\" style=\"color:red;\">{html_mod.escape(eq[\"error\"] or \"conversion failed\")}</div>')\n\nstate_json = json.dumps(state).replace(\"</\", \"<\\\\/\")\n\nlines += [\n \"<script>\",\n f\"window.__WM_STATE__ = {state_json};\",\n \"window.__WM_READY__ = true;\",\n \"</script>\",\n \"</body>\",\n \"</html>\",\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": []}123456789101112131415161718192021222324252627282930{ "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 \"<!DOCTYPE html>\",\n '<html><head><meta charset=\"utf-8\">',\n f\"<title>{title}</title>\",\n \"<style>\",\n \"body{font-family:serif;margin:2em;background:#fff;color:#000;}\",\n \".eq{margin:1.5em 0;font-size:1.6em;}\",\n \".src{font-size:.65em;color:#555;margin-bottom:.2em;}\",\n \".error{color:#c00;font-size:.8em;}\",\n \"</style></head><body>\",\n]\n\nfor eq in equations:\n parts.append(f'<div class=\"src\">LaTeX: {html.escape(eq[\"latex\"])}</div>')\n parts.append('<div class=\"eq\">')\n if eq[\"ok\"]:\n parts.append(eq[\"mathml\"])\n else:\n parts.append(f'<div class=\"error\">{html.escape(eq[\"error\"])}</div>')\n parts.append(\"</div>\")\n\nparts.append(\n f\"<script>window.__WM_STATE__ = {state_json}; window.__WM_READY__ = true;</script></body></html>\"\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": []}12345678910111213141516171819202122232425262728293031{ "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 <mover> for overbrace examples, <munder> for underbrace examples, and <munderover> 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\": \"<mover>\" in mathmls.get(\"overbrace_simple\", \"\"),\n \"overbrace_labeled_has_mover\": \"<mover>\" in mathmls.get(\"overbrace_labeled\", \"\"),\n \"overbrace_combined_has_munderover\": \"<munderover>\" in mathmls.get(\"overbrace_combined\", \"\"),\n \"underbrace_simple_has_munder\": \"<munder>\" in mathmls.get(\"underbrace_simple\", \"\"),\n \"underbrace_labeled_has_munder\": \"<munder>\" in mathmls.get(\"underbrace_labeled\", \"\"),\n \"underbrace_combined_has_munderover\": \"<munderover>\" in mathmls.get(\"underbrace_combined\", \"\"),\n \"results\": results,\n}\n\nhtml = f\"\"\"<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>{payload.get(\"title\", \"LaTeX to MathML\")}</title>\n<style>\nbody {{ font-family: serif; margin: 2em; background: #fff; color: #000; }}\nmath {{ font-size: 2em; margin: 1em 0; display: block; }}\n</style>\n</head>\n<body>\n<h1>Overbrace / Underbrace</h1>\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<script>window.__WM_STATE__ = {json.dumps(state)}; window.__WM_READY__ = true;</script>\n</body>\n</html>\"\"\"\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": []}12345678910111213141516171819202122232425262728{ "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\"\"\"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>{payload.get(\"title\", \"latex2mathml probe\")}</title>\n<style>\nbody {{ font-family: serif; margin: 2em; }}\n#math {{ font-size: 1.5em; margin-bottom: 1em; }}\ndetails {{ font-family: sans-serif; font-size: 0.85em; color: #444; }}\n</style>\n</head>\n<body>\n<div id=\"math\">{mathml}</div>\n<details>\n<summary>Observed state</summary>\n<pre>{json.dumps(state, indent=2)}</pre>\n</details>\n<script>\nwindow.__WM_STATE__ = {json.dumps(state)};\nwindow.__WM_READY__ = true;\n</script>\n</body>\n</html>\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": []}1234567891011121314151617181920212223242526272829{ "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 (<mo>), converts \\not\\in to the negated Unicode symbol, and renders \\not a as an <mpadded> 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': '<mpadded' in mathml_not and '⧸' in mathml_not,\n}\n\nstate_json = json.dumps(state).replace('<', '\\\\u003c')\n\nif render_ok:\n op_html = mathml_op\n not_html = mathml_not\nelse:\n op_html = '<p>' + html.escape((error_name or 'Error') + ': ' + (error_message or '')) + '</p>'\n not_html = ''\n\npage = (\n '<!DOCTYPE html>\\n'\n '<html lang=\"en\">\\n'\n '<head>\\n'\n '<meta charset=\"utf-8\">\\n'\n '<title>' + title + '</title>\\n'\n '<style>\\n'\n 'body { font-family: \"Cambria Math\", \"Times New Roman\", serif; margin: 2em; }\\n'\n 'math { display: block; font-size: 1.6em; margin: 1em 0; }\\n'\n '</style>\\n'\n '</head>\\n'\n '<body>\\n'\n '<h1>' + title + '</h1>\\n'\n '<p><code>' + html.escape(LATEX_OPERATORNAME) + '</code></p>\\n' +\n op_html +\n '\\n<p><code>' + html.escape(LATEX_NOT) + '</code></p>\\n' +\n not_html +\n '\\n<script>window.__WM_STATE__ = ' + state_json + '; window.__WM_READY__ = true;</script>\\n'\n '</body>\\n'\n '</html>'\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 <mo> instead of <mi> and adds \\not handling that either produces a negated Unicode symbol or an <mpadded> 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": []}12345678910111213141516171819202122232425262728{ "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 = \"<mtable\" in mathml\ncolumnalign_match = re.search(r'columnalign=\"([^\"]*)\"', mathml)\ncolumnalign = columnalign_match.group(1) if columnalign_match else None\nrow_count = mathml.count(\"<mtr\")\nampersand_literal_count = mathml.count(\"<mi>&</mi>\")\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\"\"\"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>{html_escape(input_payload.get('title', 'latex2mathml split environment'))}</title>\n<style>\nbody {{ font-family: \"Times New Roman\", Times, serif; margin: 2em; background: #fff; }}\n.container {{ border: 1px solid #ccc; padding: 1.5em; display: inline-block; min-width: 300px; }}\nmath {{ font-size: 1.6em; }}\n.summary {{ color: #666; font-family: sans-serif; font-size: 0.9em; margin-top: 1em; }}\n</style>\n</head>\n<body>\n<h1>\\\\begin{{split}} equation</h1>\n<div class=\"container\">\n{mathml if render_ok else f'<p style=\"color:red\">Error: {html_escape(error[\"name\"])}: {html_escape(error[\"message\"])}</p>'}\n</div>\n<p class=\"summary\">Observed structure: {html_escape(structure_summary)}</p>\n<script>\nwindow.__WM_STATE__ = {state_json};\nwindow.__WM_READY__ = true;\n</script>\n</body>\n</html>\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": []}123456789101112131415161718192021222324252627{ "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 = '<msup>' in mathml\nhas_msqrt = '<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 '<!DOCTYPE html>'\n '<html>'\n '<head>'\n '<meta charset=\"utf-8\">'\n '<title>' + esc(input_payload.get('title', 'latex2mathml probe')) + '</title>'\n '<style>body{font-family:serif;font-size:1.5rem;padding:2rem;}#formula{margin:2rem 0;}</style>'\n '</head>'\n '<body>'\n '<div id=\"formula\">'\n + (mathml if render_ok else '<p style=\"color:red;\">' + esc(error['name'] + ': ' + error['message']) + '</p>')\n + '</div>'\n '<script>window.__WM_STATE__=' + json.dumps(state) + ';window.__WM_READY__=true;</script>'\n '</body>'\n '</html>'\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": []}12345678910111213141516171819202122232425262728{ "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 '<div class=\"formula\">'\n '<h2>%s</h2>'\n '<div class=\"math\" id=\"math-%s\"></div>'\n '<script type=\"text/x-mathml\" id=\"src-%s\">%s</script>'\n '</div>' % (html_escape(label), key, key, src)\n )\n\npage = '''<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>%s</title>\n<style>\nbody { font-family: Georgia, serif; margin: 2em; }\n.formula { margin: 1.5em 0; }\nh2 { font-size: 1.1em; color: #444; }\n.math { font-size: 1.6em; min-height: 1.6em; }\nmath { font-size: 1.6em; }\n</style>\n</head>\n<body>\n<h1>latex2mathml XML escaping</h1>\n%s\n<script type=\"application/json\" id=\"wmmb-state\">%s</script>\n<script>\n(function(){\n function render(containerId, srcId) {\n var src = document.getElementById(srcId).textContent\n .replace(/^<math\\\\b/, '<math xmlns=\"http://www.w3.org/1998/Math/MathML\"');\n var doc = new DOMParser().parseFromString(src, 'application/xml');\n var container = document.getElementById(containerId);\n if (doc.documentElement.nodeName === 'parsererror' || doc.getElementsByTagName('parsererror').length) {\n return;\n }\n container.appendChild(document.adoptNode(doc.documentElement));\n }\n render('math-lt', 'src-lt');\n render('math-gt', 'src-gt');\n render('math-amp', 'src-amp');\n var state = JSON.parse(document.getElementById('wmmb-state').textContent);\n window.__WM_STATE__ = state;\n window.__WM_READY__ = true;\n})();\n</script>\n</body>\n</html>''' % (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": []}123456789101112131415161718192021222324252627{ "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 <mo><</mo>.", "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\": \"<mo><</mo>\" in mathml_entity,\n}\n\npage = f\"\"\"<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>{html.escape(payload.get(\"title\", \"latex2mathml\"))}</title>\n<style>\n body {{ font-family: \"Times New Roman\", serif; margin: 2em; }}\n .formula {{ margin: 2em 0; }}\n .source {{ color: #555; margin-bottom: 0.5em; font-family: monospace; }}\n</style>\n</head>\n<body>\n<h1>latex2mathml output</h1>\n<div class=\"formula\">\n <div class=\"source\">{html.escape(latex_exponent)}</div>\n {mathml_exponent if err is None else html.escape(json.dumps(err))}\n</div>\n<div class=\"formula\">\n <div class=\"source\">{html.escape(latex_entity)}</div>\n {mathml_entity if err is None else html.escape(json.dumps(err))}\n</div>\n<script>window.__WM_STATE__ = {json.dumps(state)}; window.__WM_READY__ = true;</script>\n</body>\n</html>\"\"\"\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": []}1234567891011121314151617181920212223242526272829{ "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'<div class=\"case\">'\n f'<div class=\"label\">{html.escape(label)}</div>'\n f'<div class=\"math\">{mathml}</div>'\n f'<div class=\"detected\">detected tag: <code>{html.escape(state[key + \"_tag\"])}</code></div>'\n f'</div>'\n )\n\npage = f\"\"\"<!doctype html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>{html.escape(payload.get(\"title\", \"latex2mathml limit placement\"))}</title>\n<style>\nbody {{ font-family: Georgia, serif; margin: 2em; background: #fff; color: #000; }}\n.case {{ margin: 1.5em 0; padding: 1em; border: 1px solid #ccc; border-radius: 4px; }}\n.label {{ font-family: monospace; margin-bottom: 0.5em; }}\n.math {{ font-size: 2rem; margin: 0.5em 0; }}\n.detected {{ font-size: 0.9rem; color: #333; margin-top: 0.5em; }}\n</style>\n</head>\n<body>\n<h1>Limit placement for <code>\\\\sum</code> and <code>\\\\prod</code></h1>\n{\"\".join(math_blocks)}\n<script>\nwindow.__WM_STATE__ = {json.dumps(state)};\nwindow.__WM_READY__ = true;\n</script>\n</body>\n</html>\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": []}123456789101112131415161718192021222324252627{ "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\"<mo[^>]*>\\+</mo>\", mathml) is not None\n )\n stray_closing_brace = re.search(r\"<mi[^>]*>}</mi>\", 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 = \"<p role=\\\"alert\\\">{}: {}</p>\".format(\n esc_html(error[\"name\"]), esc_html(error[\"message\"])\n )\n\n page = (\n \"<!DOCTYPE html>\\n<html>\\n<head>\\n\"\n '<meta charset=\"utf-8\">\\n'\n \"<title>{}</title>\\n\"\n \"<style>\\n\"\n \" body {{ font-family: serif; margin: 2em; }}\\n\"\n \" math {{ font-size: 1.5em; }}\\n\"\n \"</style>\\n\"\n \"</head>\\n<body>\\n\"\n \"{}\\n\"\n \"<script>\\n\"\n \"window.__WM_STATE__ = {};\\n\"\n \"window.__WM_READY__ = true;\\n\"\n \"</script>\\n\"\n \"</body>\\n</html>\"\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": []}12345678910111213141516171819202122232425262728{ "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\"<mi>(.*?)</mi>\", 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 \"<!DOCTYPE html>\",\n '<html lang=\"en\">',\n \"<head>\",\n '<meta charset=\"utf-8\">',\n \"<title>\" + title + \"</title>\",\n \"<style>\",\n \" body { font-family: sans-serif; margin: 2rem; }\",\n \" math { font-size: 2rem; }\",\n \" .caption { color: #555; margin-bottom: 1rem; }\",\n \"</style>\",\n \"</head>\",\n \"<body>\",\n '<div class=\"caption\">LaTeX: <code>' + latex_escaped + \"</code></div>\",\n math_section,\n \"<script>window.__WM_STATE__ = \" + state_json + \"; window.__WM_READY__ = true;</script>\",\n \"</body>\",\n \"</html>\",\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": []}1234567891011121314151617181920212223242526{ "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 .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 '<!DOCTYPE html><html><body><div id=\"layout-root\"></div></body></html>',\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 '<div id=\"layout-root\"></div><pre>' +\n esc(state.errorName + ': ' + state.errorMessage) +\n '</pre>';\n}\n\nconst page = `<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"utf-8\">\n <title>${esc(pageTitle)}</title>\n <style>\n #layout-root {\n min-height: 120px;\n padding: 20px;\n border: 2px dashed #bbb;\n background: #f9f9f9;\n }\n [id^=\"single-spa-application\"] {\n min-height: 60px;\n padding: 20px;\n background: #4caf50;\n color: #fff;\n border-radius: 4px;\n font-family: sans-serif;\n font-size: 18px;\n }\n </style>\n</head>\n<body>\n${bodyHtml}\n<script>window.__WM_STATE__=${JSON.stringify(state).replace(/</g, '\\\\u003c')};window.__WM_READY__=true;</script>\n</body>\n</html>`;\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": []}123456789101112131415161718192021222324252627{ "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, '<').replace(/>/g, '>');\n}\n\nasync function main() {\n let state;\n try {\n const { JSDOM } = require('jsdom');\n const dom = new JSDOM('<!DOCTYPE html><html><head></head><body></body></html>', {\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 = `<!doctype html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>${esc(input.title)}</title>\n</head>\n<body>\n${bodyHTML}\n<script>window.__WM_STATE__=${JSON.stringify(state).replace(/</g, '\\\\u003c')};window.__WM_READY__=true;</script>\n</body>\n</html>`;\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 = `<!doctype html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>${esc(input.title)}</title>\n</head>\n<body>\n<p>Render failed: ${esc(state.error.name + ': ' + state.error.message)}</p>\n<script>window.__WM_STATE__=${JSON.stringify(state).replace(/</g, '\\\\u003c')};window.__WM_READY__=true;</script>\n</body>\n</html>`;\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": []}12345678910111213141516171819202122232425262728{ "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 = `<!doctype html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>Foo Index</title>\n</head>\n<body>\n<h1>Welcome to the Foo container</h1>\n<p>This is the index.html page served for /foo/.</p>\n</body>\n</html>`;\n\nconst CONTAINER_TURTLE = `@prefix ldp: <http://www.w3.org/ns/ldp#>.\n@prefix dc: <http://purl.org/dc/terms/>.\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 = `<script>window.__WM_STATE__=${\n JSON.stringify(state).replace(/</g, '\\\\u003c')\n };window.__WM_READY__=true;</script>`;\n\n let page;\n if (contentType === 'text/html') {\n if (/<\\/body>/i.test(body)) {\n page = body.replace(/<\\/body>/i, `${stateScript}</body>`);\n } else {\n page = `${body}${stateScript}`;\n }\n } else {\n page = `<!doctype html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>Container Request</title>\n</head>\n<body>\n<pre>${body.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>')}</pre>\n${stateScript}\n</body>\n</html>`;\n }\n\n fs.writeFileSync(outputPath, page, 'utf8');\n}\n\nmain().catch((e) => {\n const state = {\n error: e.message,\n stack: e.stack\n };\n const page = `<!doctype html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<p>Error: ${String(e.message).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>')}</p>\n<script>window.__WM_STATE__=${\n JSON.stringify(state).replace(/</g, '\\\\u003c')\n};window.__WM_READY__=true;</script>\n</body>\n</html>`;\n fs.writeFileSync(outputPath, page, 'utf8');\n});", "rationale": "Exercises IndexRepresentationStore by requesting a container URL whose source contains an index.html; the fix serves the index page while the buggy revision returns the container listing.", "repo": "solid/community-server", "schema_version": "worldmodelmmbench.render-probe.v3", "title": "Container index.html fallback", "viewport": [ 1280, 960 ], "volatile_fields": []}12345678910111213141516171819202122232425262728{ "build_script": "", "build_workdir": ".", "bundle_artifact": "", "decision_relevant_fields": [ "adapter_state.padding_supported", "adapter_state.render_ok", "adapter_state.exported_text" ], "execution_mode": "node", "expected_page_errors": [], "instance_id": "textualize__rich-2247", "language": "python", "payload": {}, "predicate_description": "The Syntax constructor accepts the padding argument and the exported console text contains the surrounding blank lines and spaces.", "predicate_js": "(s) => s.adapter_state.render_ok === true && s.adapter_state.padding_supported === true && s.adapter_state.exported_text === \" \\n x = 1 \\n \\n\"", "product_output_kind": "rendered_document", "program_js": "import sys\nimport os\nimport json\nimport base64\nimport io\n\nsys.path.insert(0, \"/testbed\")\n\nfrom rich.console import Console\nfrom rich.syntax import Syntax\n\npayload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf-8\"))\noutput_path = sys.argv[2]\n\nCODE = \"x = 1\"\nPADDING = (1, 3)\nWIDTH = 20\n\npadding_supported = False\nerror_info = None\nsyntax = None\n\n# Try the new padding argument first.\ntry:\n syntax = Syntax(CODE, lexer=\"python\", padding=PADDING)\n padding_supported = True\nexcept Exception as exc:\n error_info = {\"name\": type(exc).__name__, \"message\": str(exc)}\n # Fall back to the pre-fix constructor so the page still shows the product.\n try:\n syntax = Syntax(CODE, lexer=\"python\")\n except Exception as fallback_exc:\n error_info[\"fallback_error\"] = {\n \"name\": type(fallback_exc).__name__,\n \"message\": str(fallback_exc),\n }\n\nrender_ok = False\nexported_text = \"\"\nhtml = \"\"\n\nif syntax is not None:\n try:\n console = Console(\n width=WIDTH,\n file=io.StringIO(),\n color_system=\"truecolor\",\n legacy_windows=False,\n record=True,\n )\n console.print(syntax)\n exported_text = console.export_text(clear=False)\n html = console.export_html(inline_styles=True)\n render_ok = True\n except Exception as exc:\n error_info = error_info or {}\n error_info[\"render_error\"] = {\"name\": type(exc).__name__, \"message\": str(exc)}\n\nstate = {\n \"padding_supported\": padding_supported,\n \"render_ok\": render_ok,\n \"exported_text\": exported_text,\n \"line_count\": len(exported_text.splitlines()),\n \"error\": error_info,\n \"code\": CODE,\n \"width\": WIDTH,\n \"padding\": list(PADDING),\n}\n\nif html:\n script = (\n f\"<script>window.__WM_STATE__ = {json.dumps(state)}; \"\n f\"window.__WM_READY__ = true;</script>\"\n )\n page = html.rstrip().replace(\"</body>\", script + \"</body>\", 1)\nelse:\n title = payload.get(\"title\", \"Syntax padding\")\n page = f\"\"\"<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<title>{title}</title>\n<style>\nbody {{ font-family: Menlo, \"DejaVu Sans Mono\", Consolas, monospace; padding: 20px; }}\n</style>\n</head>\n<body>\n<p>No rendered output available.</p>\n<script>\nwindow.__WM_STATE__ = {json.dumps(state)};\nwindow.__WM_READY__ = true;\n</script>\n</body>\n</html>\"\"\"\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": "A Syntax constructed with padding=(1,3) should render blank rows and columns using the theme background; before the fix the constructor rejects the padding argument.", "repo": "Textualize/rich", "schema_version": "worldmodelmmbench.render-probe.v3", "title": "Syntax padding around code block", "viewport": [ 1280, 960 ], "volatile_fields": []}12345678910111213141516171819202122232425262728{ "build_script": "", "build_workdir": ".", "bundle_artifact": "", "decision_relevant_fields": [ "adapter_state.render_ok", "adapter_state.outer_tag", "adapter_state.inner_tag" ], "execution_mode": "node", "expected_page_errors": [], "instance_id": "textualize__rich-2642", "language": "python", "payload": {}, "predicate_description": "The exported HTML fragment is nested as <pre><code>...</code></pre>.", "predicate_js": "(s) => s.adapter_state.render_ok === true && s.adapter_state.outer_tag === 'pre' && s.adapter_state.inner_tag === 'code'", "product_output_kind": "rendered_document", "program_js": "import base64\nimport json\nimport os\nimport re\nimport sys\n\n\ndef _escape(text):\n return text.replace(\"&\", \"&\").replace(\"<\", \"<\").replace(\">\", \">\")\n\n\ndef main():\n payload = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf-8\"))\n output_path = sys.argv[2]\n title = payload.get(\"title\", \"Rich export_html nesting\")\n\n fragment = \"\"\n error_html = \"\"\n state = {\n \"render_ok\": False,\n \"outer_tag\": None,\n \"inner_tag\": None,\n \"error\": None,\n \"export_html_length\": 0,\n \"fragment_prefix\": \"\",\n }\n\n try:\n sys.path.insert(0, \"/testbed\")\n from rich.console import Console\n\n report = \"\"\"$ griffe check griffe -ssrc -b0.24.0 -a0.23.0\n[bold]src/griffe/loader.py[/]:156: GriffeLoader.resolve_aliases([blue]only_exported[/]): [yellow]Parameter kind was changed[/]: positional or keyword -> keyword-only\n[bold]src/griffe/loader.py[/]:308: GriffeLoader.resolve_module_aliases([blue]only_exported[/]): [yellow]Parameter kind was changed[/]: positional or keyword -> keyword-only\n[bold]src/griffe/git.py[/]:39: tmp_worktree([blue]commit[/]): [yellow]Parameter was removed[/]\n[bold]src/griffe/git.py[/]:75: load_git([blue]repo[/]): [yellow]Parameter kind was changed[/]: positional or keyword -> keyword-only\n\"\"\"\n\n with open(os.devnull, \"w\") as devnull:\n console = Console(record=True, width=150, file=devnull)\n console.print(report, markup=True, highlight=False)\n\n html = console.export_html(inline_styles=True)\n state[\"export_html_length\"] = len(html)\n\n match = re.search(r\"<body>(.*?)</body>\", html, re.DOTALL)\n if not match:\n raise RuntimeError(\"No <body> in export_html output\")\n fragment = match.group(1)\n state[\"fragment_prefix\"] = fragment[:300]\n\n tags = re.findall(r\"<(\\w+)(?:\\s|>)\", fragment)\n if len(tags) >= 2:\n state[\"outer_tag\"] = tags[0]\n state[\"inner_tag\"] = tags[1]\n\n state[\"render_ok\"] = True\n except Exception as exc:\n state[\"error\"] = f\"{type(exc).__name__}: {exc}\"\n error_html = f'<p role=\"alert\">{_escape(str(state[\"error\"]))}</p>'\n\n block_html = fragment if state[\"render_ok\"] else error_html\n\n page = \"\"\"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<title>__TITLE__</title>\n<style>\nbody { font-family: sans-serif; background: #e8e8e8; margin: 0; padding: 2rem; }\n.host { max-width: 950px; margin: 0 auto; background: #ffffff; padding: 2rem; border-radius: 8px; }\nh1 { font-size: 1.25rem; color: #333; margin-bottom: 1rem; }\n/* Site-wide inline <code> styling that leaks when the exported HTML nests <code><pre>. */\ncode { background-color: #ff5252; color: #ffffff; padding: 0.4em 0.6em; border-radius: 4px; }\npre { background: #f5f5f5; padding: 1rem; border-radius: 6px; overflow: auto; }\n.rich-block { margin-bottom: 1.5rem; }\n</style>\n</head>\n<body>\n<div class=\"host\">\n<h1>Embedded Rich HTML</h1>\n<div class=\"rich-block\">__BLOCK__</div>\n<div class=\"rich-block\">__BLOCK__</div>\n</div>\n<script>window.__WM_STATE__ = __STATE__; window.__WM_READY__ = true;</script>\n</body>\n</html>\"\"\"\n page = (\n page.replace(\"__TITLE__\", _escape(title))\n .replace(\"__BLOCK__\", block_html)\n .replace(\"__STATE__\", json.dumps(state))\n )\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(\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)\n\n\nif __name__ == \"__main__\":\n main()", "rationale": "Console.export_html() wraps output in <code><pre> on the buggy revision, so a host page's <code> styles split around the <pre> and leak as extra bars; the fix nests <pre><code> instead.", "repo": "Textualize/rich", "schema_version": "worldmodelmmbench.render-probe.v3", "title": "Rich export_html leaks page style due to reversed pre/code nesting", "viewport": [ 1280, 960 ], "volatile_fields": []}123456789101112131415161718192021222324252627{ "build_script": "", "build_workdir": ".", "bundle_artifact": "", "decision_relevant_fields": [ "adapter_state.max_bar_count", "adapter_state.selected_bar_count" ], "execution_mode": "node", "expected_page_errors": [], "instance_id": "textualize__rich-2804", "language": "python", "payload": {}, "predicate_description": "The captured Jupyter cell output contains at most one progress bar line.", "predicate_js": "(s) => s.adapter_state.max_bar_count === 1", "product_output_kind": "rendered_document", "program_js": "import sys\nimport os\nimport io\nimport json\n\n# Load the repository under test\nsys.path.insert(0, \"/testbed\")\n\noutput_path = sys.argv[2]\n\nrender_ok = False\nerror = None\ncaptured = []\nselected_html = \"\"\ntotal_display_count = 0\nmax_bar_count = 0\nfinal_bar_count = 0\nselected_bar_count = 0\n\ntry:\n from rich.console import Console\n from rich.progress import track\n\n # Capture IPython display() calls the same way a Jupyter kernel would emit them\n import IPython.display\n\n def capture_display(obj, **kwargs):\n try:\n if hasattr(obj, \"_repr_mimebundle_\"):\n bundle = obj._repr_mimebundle_(include=None, exclude=None)\n elif hasattr(obj, \"_repr_html_\"):\n bundle = {\"text/html\": obj._repr_html_()}\n else:\n bundle = {\"text/plain\": repr(obj)}\n except Exception as exc:\n bundle = {\"error\": str(exc)}\n captured.append(bundle)\n return obj\n\n IPython.display.display = capture_display\n\n stdout_capture = io.StringIO()\n old_stdout = sys.stdout\n sys.stdout = stdout_capture\n\n try:\n # FORCE_COLOR makes the buggy Console think it is a terminal while in Jupyter,\n # which is exactly the condition from the issue report.\n console = Console(\n force_jupyter=True,\n _environ={\"FORCE_COLOR\": \"1\"},\n file=stdout_capture,\n )\n\n for _ in track(range(10), console=console, auto_refresh=False):\n pass\n finally:\n sys.stdout = old_stdout\n\n # Analyze the captured Jupyter outputs\n total_display_count = len(captured)\n for bundle in captured:\n html = bundle.get(\"text/html\", \"\")\n bars = html.count(\"Working...\")\n if bars > max_bar_count:\n max_bar_count = bars\n selected_html = html\n if html.strip():\n final_bar_count = bars\n\n if not selected_html and captured:\n selected_html = captured[-1].get(\"text/html\", \"\")\n\n selected_bar_count = selected_html.count(\"Working...\")\n render_ok = True\n\nexcept Exception as exc:\n error = {\"name\": type(exc).__name__, \"message\": str(exc)}\n\n# Fallback so the page still renders something useful on error\nif not selected_html:\n selected_html = '<pre style=\"white-space:pre;\">No output captured</pre>'\n\nstate = {\n \"render_ok\": render_ok,\n \"error\": error,\n \"total_display_count\": total_display_count,\n \"max_bar_count\": max_bar_count,\n \"final_bar_count\": final_bar_count,\n \"selected_bar_count\": selected_bar_count,\n}\n\npage = f\"\"\"<!doctype html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>Rich Jupyter progress track</title>\n<style>\nbody {{\n background: #1e1e1e;\n color: #d4d4d4;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Helvetica, Arial, sans-serif;\n padding: 2rem;\n}}\n.cell {{\n background: #252526;\n border: 1px solid #3e3e42;\n border-radius: 4px;\n padding: 1rem;\n max-width: 900px;\n}}\n.summary {{\n margin-top: 1rem;\n font-size: 0.85rem;\n color: #9cdcfe;\n}}\n</style>\n</head>\n<body>\n<div class=\"cell\">\n <div id=\"jupyter-output\">{selected_html}</div>\n <div class=\"summary\">Captured display updates: {total_display_count} | Progress bars in selected frame: {selected_bar_count}</div>\n</div>\n<script>\nwindow.__WM_STATE__ = {json.dumps(state)};\nwindow.__WM_READY__ = true;\n</script>\n</body>\n</html>\n\"\"\"\n\nwith open(output_path, \"w\", encoding=\"utf-8\") as fh:\n fh.write(page)\n\n# Record repository execution 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": "With FORCE_COLOR set, Rich's Jupyter console incorrectly reports is_terminal=True, causing Live to write both to the ipywidget and stdout and yielding two stacked progress bars in the cell output.", "repo": "Textualize/rich", "schema_version": "worldmodelmmbench.render-probe.v3", "title": "Jupyter progress track duplicate bars with FORCE_COLOR", "viewport": [ 1280, 960 ], "volatile_fields": []}123456789101112131415161718192021222324252627{ "build_script": "", "build_workdir": ".", "bundle_artifact": "", "decision_relevant_fields": [ "adapter_state.has_font_family_inherit", "adapter_state.code_computed_font_family" ], "execution_mode": "node", "expected_page_errors": [], "instance_id": "textualize__rich-3105", "language": "python", "payload": {}, "predicate_description": "The exported HTML contains <code style=\"font-family:inherit\">, preventing the browser from overriding the pre's monospace font stack.", "predicate_js": "(s) => s.adapter_state.has_font_family_inherit === true", "product_output_kind": "rendered_document", "program_js": "import sys\nimport os\nimport json\nimport base64\n\nsys.path.insert(0, \"/testbed\")\n\nimport rich.console\n\n# Decode payload per the runtime contract.\n_ = json.loads(base64.b64decode(sys.argv[1]).decode(\"utf-8\"))\noutput_path = sys.argv[2]\n\n\ndef generate_traceback_html():\n \"\"\"Raise and record a small traceback so locals stay minimal.\"\"\"\n try:\n test = 1\n raise Exception()\n except Exception:\n console = rich.console.Console(record=True, width=80)\n console.print_exception(show_locals=True)\n return console.export_html(inline_styles=True)\n\n\nhtml = generate_traceback_html()\n\ndiagnostic_html = \"\"\"\n<div id=\"wmmb-diagnostic\" style=\"margin:1em; padding:1em; border:1px solid #ccc; background:#f9f9f9; font-family:sans-serif; font-size:12px; color:#333;\">\n <strong>Runtime observation</strong>\n <div id=\"wmmb-code-style\">code style attribute: measuring…</div>\n <div id=\"wmmb-code-font\">code computed font-family: measuring…</div>\n <div id=\"wmmb-pre-font\">pre computed font-family: measuring…</div>\n <div id=\"wmmb-has-inherit\">has font-family:inherit: measuring…</div>\n</div>\n\"\"\"\n\ndiagnostic_script = \"\"\"\n<script>\n(function () {\n function publish() {\n var pre = document.querySelector('pre');\n var code = pre ? pre.querySelector('code') : null;\n var codeStyle = code ? code.getAttribute('style') : null;\n var hasInherit = codeStyle ? codeStyle.indexOf('font-family:inherit') !== -1 : false;\n var codeFont = code ? window.getComputedStyle(code).fontFamily : null;\n var preFont = pre ? window.getComputedStyle(pre).fontFamily : null;\n\n document.getElementById('wmmb-code-style').textContent =\n 'code style attribute: ' + (codeStyle || 'none');\n document.getElementById('wmmb-code-font').textContent =\n 'code computed font-family: ' + (codeFont || 'n/a');\n document.getElementById('wmmb-pre-font').textContent =\n 'pre computed font-family: ' + (preFont || 'n/a');\n document.getElementById('wmmb-has-inherit').textContent =\n 'has font-family:inherit: ' + hasInherit;\n\n window.__WM_STATE__ = {\n has_font_family_inherit: hasInherit,\n code_style_attribute: codeStyle,\n code_computed_font_family: codeFont,\n pre_computed_font_family: preFont\n };\n window.__WM_READY__ = true;\n }\n\n if (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', publish);\n } else {\n publish();\n }\n})();\n</script>\n\"\"\"\n\n# Insert the diagnostic panel and measurement script before </body>.\nhtml_out = html.replace(\n \"</body>\",\n diagnostic_html + diagnostic_script + \"</body>\",\n)\n\nwith open(output_path, \"w\", encoding=\"utf-8\") as fh:\n fh.write(html_out)\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=\"utf-8\") as fh:\n json.dump({\"repository_modules_loaded\": loaded}, fh)", "rationale": "Console.export_html(inline_styles=True) wraps rendered output in <pre><code>; the browser UA stylesheet resets font-family on <code>, so the fix adds style='font-family:inherit' to the <code> tag. A small diagnostic panel displays the actual rendered code style attribute and computed font-family so the base/gold difference is visible.", "repo": "Textualize/rich", "schema_version": "worldmodelmmbench.render-probe.v3", "title": "Exported traceback HTML inherits font-family on code element", "viewport": [ 1280, 960 ], "volatile_fields": []}1234567891011121314151617181920212223242526272829{ "build_script": "", "build_workdir": ".", "bundle_artifact": "", "decision_relevant_fields": [ "adapter_state.has_number_highlight", "adapter_state.has_string_highlight", "adapter_state.svg_has_cyan", "adapter_state.svg_has_green" ], "execution_mode": "node", "expected_page_errors": [], "instance_id": "textualize__rich-3518", "language": "python", "payload": {}, "predicate_description": "The rendered table contains cyan highlighting for the number and green highlighting for the string.", "predicate_js": "(s) => s.adapter_state.has_number_highlight === true && s.adapter_state.has_string_highlight === true", "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\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\"\n\ntitle = html.escape(payload.get(\"title\", \"Rich Table Highlight\"))\n\ntry:\n from rich.console import Console\n from rich.table import Table\n from rich._export_format import CONSOLE_SVG_FORMAT\n\n # Rich's default SVG template loads Fira Code from a CDN. Remove those\n # @font-face blocks so the captured page does not perform network requests.\n svg_format = re.sub(r\"\\s*@font-face\\s*\\{[^}]*\\}\", \"\", CONSOLE_SVG_FORMAT, flags=re.DOTALL)\n\n table = Table(highlight=True, show_header=False)\n table.add_row(\"1\", repr(\"FOO\"))\n\n console = Console(record=True, width=80, color_system=\"truecolor\")\n console.print(table)\n\n ansi_output = console.export_text(styles=True, clear=False)\n svg_output = console.export_svg(code_format=svg_format, clear=False)\n\n column_highlights = [bool(column.highlight) for column in table.columns]\n\n state = {\n \"render_ok\": True,\n \"error\": None,\n \"ansi_output\": ansi_output,\n \"has_number_highlight\": \"\\x1b[1;36m\" in ansi_output,\n \"has_string_highlight\": \"\\x1b[32m\" in ansi_output,\n \"column_highlights\": column_highlights,\n \"svg_length\": len(svg_output),\n \"svg_has_cyan\": \"#68a0b3\" in svg_output,\n \"svg_has_green\": \"#98a84b\" in svg_output,\n }\nexcept Exception as exc:\n state = {\n \"render_ok\": False,\n \"error\": {\"name\": type(exc).__name__, \"message\": str(exc)},\n \"ansi_output\": \"\",\n \"has_number_highlight\": False,\n \"has_string_highlight\": False,\n \"column_highlights\": [],\n \"svg_length\": 0,\n \"svg_has_cyan\": False,\n \"svg_has_green\": False,\n }\n svg_output = \"\"\n\nstate_json = json.dumps(state).replace(\"</\", \"<\\\\/\")\n\nif svg_output:\n page = (\n '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<title>'\n + title\n + '</title>\\n</head>\\n<body>\\n'\n + svg_output\n + '\\n<script>window.__WM_STATE__='\n + state_json\n + ';window.__WM_READY__=true;</script>\\n</body>\\n</html>'\n )\nelse:\n page = (\n '<!DOCTYPE html>\\n<html>\\n<head>\\n<meta charset=\"UTF-8\">\\n<title>'\n + title\n + '</title>\\n</head>\\n<body>\\n<pre>'\n + html.escape(str(state[\"error\"][\"message\"]) if state[\"error\"] else \"unknown error\")\n + '</pre>\\n<script>window.__WM_STATE__='\n + state_json\n + ';window.__WM_READY__=true;</script>\\n</body>\\n</html>'\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": "A Table created with highlight=True and rows added via add_row should highlight cell contents; the regression drops the flag for implicitly created columns, so ANSI color codes are missing.", "repo": "Textualize/rich", "schema_version": "worldmodelmmbench.render-probe.v3", "title": "Rich Table automatic highlighting regression", "viewport": [ 1280, 960 ], "volatile_fields": []}1234567891011121314151617181920212223242526{ "build_script": "", "build_workdir": ".", "bundle_artifact": "", "decision_relevant_fields": [ "adapter_state.render_ok", "adapter_state.rendered_output" ], "execution_mode": "node", "expected_page_errors": [], "instance_id": "twigjs__twig.js-879", "payload": {}, "predicate_description": "The template renders successfully and outputs '100'.", "predicate_js": "(s) => s.adapter_state.render_ok === true && s.adapter_state.rendered_output === '100'", "product_output_kind": "rendered_document", "program_js": "const fs = require('fs');\nconst input = JSON.parse(Buffer.from(process.argv[1], 'base64').toString('utf8'));\nconst outputPath = process.argv[2];\nconst Twig = require('/testbed');\n\nconst templateStr = '{% for d in data[\"test:element\"] %}{{ d.id }}{% endfor %}';\nconst context = {data: {'test:element': [{'id': 100}]}};\n\nlet rendered = '';\nlet renderOk = false;\nlet errorInfo = null;\n\ntry {\n const template = Twig.twig({data: templateStr, rethrow: true});\n rendered = template.render(context);\n renderOk = true;\n} catch (e) {\n errorInfo = {name: e.name || 'Error', message: String(e.message || e)};\n}\n\nconst state = {\n render_ok: renderOk,\n rendered_output: rendered,\n error: errorInfo,\n template: templateStr\n};\n\nconst esc = v => String(v).replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>');\nconst page = `<!doctype html>\n<html>\n<head><meta charset=\"utf-8\"><title>${esc(input.title)}</title></head>\n<body>\n<div id=\"rendered\">${renderOk ? esc(rendered) : '<div role=\"alert\">' + esc(errorInfo.name + ': ' + errorInfo.message) + '</div>'}</div>\n<script>window.__WM_STATE__=${JSON.stringify(state).replace(/</g,'\\\\u003c')};window.__WM_READY__=true;</script>\n</body>\n</html>`;\n\nfs.writeFileSync(outputPath, page, 'utf8');", "rationale": "The issue reports a TwigException when using bracket notation with a colon in the key; the test patch expects the template to render '100'.", "repo": "twigjs/twig.js", "schema_version": "worldmodelmmbench.render-probe.v3", "title": "Access array element with colon in bracket key", "viewport": [ 1280, 960 ], "volatile_fields": []}.gitattributes+1
data/rs/probes.jsonlAdded+200
data/rs/probes/roniemartinez_latex2mathml_pr166.jsonAdded+30
data/rs/probes/roniemartinez_latex2mathml_pr168.jsonAdded+27
data/rs/probes/roniemartinez_latex2mathml_pr169.jsonAdded+31
data/rs/probes/roniemartinez_latex2mathml_pr172.jsonAdded+28
data/rs/probes/roniemartinez_latex2mathml_pr177.jsonAdded+27
data/rs/probes/roniemartinez_latex2mathml_pr180.jsonAdded+31
data/rs/probes/roniemartinez_latex2mathml_pr181.jsonAdded+27
data/rs/probes/roniemartinez_latex2mathml_pr182.jsonAdded+28
data/rs/probes/roniemartinez_latex2mathml_pr183.jsonAdded+27
data/rs/probes/roniemartinez_latex2mathml_pr184.jsonAdded+28
data/rs/probes/roniemartinez_latex2mathml_pr192.jsonAdded+27
data/rs/probes/roniemartinez_latex2mathml_pr195.jsonAdded+28
data/rs/probes/roniemartinez_latex2mathml_pr199.jsonAdded+32
data/rs/probes/roniemartinez_latex2mathml_pr200.jsonAdded+33
data/rs/probes/roniemartinez_latex2mathml_pr201.jsonAdded+28
data/rs/probes/roniemartinez_latex2mathml_pr204.jsonAdded+29
data/rs/probes/roniemartinez_latex2mathml_pr205.jsonAdded+35
data/rs/probes/roniemartinez_latex2mathml_pr206.jsonAdded+29
data/rs/probes/roniemartinez_latex2mathml_pr207.jsonAdded+28
data/rs/probes/roniemartinez_latex2mathml_pr209.jsonAdded+27
data/rs/probes/roniemartinez_latex2mathml_pr210.jsonAdded+30
data/rs/probes/roniemartinez_latex2mathml_pr212.jsonAdded+38
data/rs/probes/roniemartinez_latex2mathml_pr213.jsonAdded+31
data/rs/probes/roniemartinez_latex2mathml_pr216.jsonAdded+28
data/rs/probes/roniemartinez_latex2mathml_pr218.jsonAdded+26
data/rs/probes/roniemartinez_latex2mathml_pr258.jsonAdded+27
data/rs/probes/roniemartinez_latex2mathml_pr304.jsonAdded+28
data/rs/probes/roniemartinez_latex2mathml_pr306.jsonAdded+28
data/rs/probes/roniemartinez_latex2mathml_pr308.jsonAdded+30
data/rs/probes/roniemartinez_latex2mathml_pr309.jsonAdded+31
data/rs/probes/roniemartinez_latex2mathml_pr311.jsonAdded+28
data/rs/probes/roniemartinez_latex2mathml_pr315.jsonAdded+29
data/rs/probes/roniemartinez_latex2mathml_pr316.jsonAdded+28
data/rs/probes/roniemartinez_latex2mathml_pr43.jsonAdded+27
data/rs/probes/roniemartinez_latex2mathml_pr47.jsonAdded+28
data/rs/probes/roniemartinez_latex2mathml_pr48.jsonAdded+27
data/rs/probes/roniemartinez_latex2mathml_pr529.jsonAdded+29
data/rs/probes/roniemartinez_latex2mathml_pr65.jsonAdded+27
data/rs/probes/roniemartinez_latex2mathml_pr93.jsonAdded+28
data/rs/probes/single-spa__single-spa-layout-24.jsonAdded+26
data/rs/probes/single-spa__single-spa-layout-70.jsonAdded+27
data/rs/probes/solid__community-server-806.jsonAdded+28
data/rs/probes/textualize__rich-2247.jsonAdded+28
data/rs/probes/textualize__rich-2642.jsonAdded+28
data/rs/probes/textualize__rich-2804.jsonAdded+27
data/rs/probes/textualize__rich-3105.jsonAdded+27
data/rs/probes/textualize__rich-3518.jsonAdded+29
data/rs/probes/twigjs__twig.js-879.jsonAdded+26