Compliance cases

These are the 6,835 inputs a submission must decode. Each output must match the expected text byte for byte. You can run the suite without reading it, or open any case to see its input and expected output.

Run the full compliance suite locally. Replace your-component.wasm with your compiled component. Download the suite

curl -fLo unescape_html.comply.wasm https://calculated.world/comply/unescape_html.wasm
qipx comply your-component.wasm --with unescape_html.comply.wasm
Clear

5,931 of 6,835 cases

Case Name Expected Note Size
004504 html5lib/namedEntities/4097 html5lib-tests ∧ Named entity: wedge; with a semi-colon 7 B
004505 html5lib/namedEntities/4098 html5lib-tests &wedgeq Bad named entity: wedgeq without a semi-colon 7 B
004506 html5lib/namedEntities/4099 html5lib-tests ≙ Named entity: wedgeq; with a semi-colon 8 B
004507 html5lib/namedEntities/4100 html5lib-tests &weierp Bad named entity: weierp without a semi-colon 7 B
004508 html5lib/namedEntities/4101 html5lib-tests ℘ Named entity: weierp; with a semi-colon 8 B
004509 html5lib/namedEntities/4102 html5lib-tests &wfr Bad named entity: wfr without a semi-colon 4 B
004510 html5lib/namedEntities/4103 html5lib-tests 𝔴 Named entity: wfr; with a semi-colon 5 B
004511 html5lib/namedEntities/4104 html5lib-tests &wopf Bad named entity: wopf without a semi-colon 5 B
004512 html5lib/namedEntities/4105 html5lib-tests 𝕨 Named entity: wopf; with a semi-colon 6 B
004513 html5lib/namedEntities/4106 html5lib-tests &wp Bad named entity: wp without a semi-colon 3 B
004514 html5lib/namedEntities/4107 html5lib-tests ℘ Named entity: wp; with a semi-colon 4 B
004515 html5lib/namedEntities/4108 html5lib-tests &wr Bad named entity: wr without a semi-colon 3 B
004516 html5lib/namedEntities/4109 html5lib-tests ≀ Named entity: wr; with a semi-colon 4 B
004517 html5lib/namedEntities/4110 html5lib-tests &wreath Bad named entity: wreath without a semi-colon 7 B
004518 html5lib/namedEntities/4111 html5lib-tests ≀ Named entity: wreath; with a semi-colon 8 B
004519 html5lib/namedEntities/4112 html5lib-tests &wscr Bad named entity: wscr without a semi-colon 5 B
004520 html5lib/namedEntities/4113 html5lib-tests 𝓌 Named entity: wscr; with a semi-colon 6 B
004521 html5lib/namedEntities/4114 html5lib-tests &xcap Bad named entity: xcap without a semi-colon 5 B
004522 html5lib/namedEntities/4115 html5lib-tests ⋂ Named entity: xcap; with a semi-colon 6 B
004523 html5lib/namedEntities/4116 html5lib-tests &xcirc Bad named entity: xcirc without a semi-colon 6 B
004524 html5lib/namedEntities/4117 html5lib-tests ◯ Named entity: xcirc; with a semi-colon 7 B
004525 html5lib/namedEntities/4118 html5lib-tests &xcup Bad named entity: xcup without a semi-colon 5 B
004526 html5lib/namedEntities/4119 html5lib-tests ⋃ Named entity: xcup; with a semi-colon 6 B
004527 html5lib/namedEntities/4120 html5lib-tests &xdtri Bad named entity: xdtri without a semi-colon 6 B
004528 html5lib/namedEntities/4121 html5lib-tests ▽ Named entity: xdtri; with a semi-colon 7 B
004529 html5lib/namedEntities/4122 html5lib-tests &xfr Bad named entity: xfr without a semi-colon 4 B
004530 html5lib/namedEntities/4123 html5lib-tests 𝔵 Named entity: xfr; with a semi-colon 5 B
004531 html5lib/namedEntities/4124 html5lib-tests &xhArr Bad named entity: xhArr without a semi-colon 6 B
004532 html5lib/namedEntities/4125 html5lib-tests ⟺ Named entity: xhArr; with a semi-colon 7 B
004533 html5lib/namedEntities/4126 html5lib-tests &xharr Bad named entity: xharr without a semi-colon 6 B
004534 html5lib/namedEntities/4127 html5lib-tests ⟷ Named entity: xharr; with a semi-colon 7 B
004535 html5lib/namedEntities/4128 html5lib-tests &xi Bad named entity: xi without a semi-colon 3 B
004536 html5lib/namedEntities/4129 html5lib-tests ξ Named entity: xi; with a semi-colon 4 B
004537 html5lib/namedEntities/4130 html5lib-tests &xlArr Bad named entity: xlArr without a semi-colon 6 B
004538 html5lib/namedEntities/4131 html5lib-tests ⟸ Named entity: xlArr; with a semi-colon 7 B
004539 html5lib/namedEntities/4132 html5lib-tests &xlarr Bad named entity: xlarr without a semi-colon 6 B
004540 html5lib/namedEntities/4133 html5lib-tests ⟵ Named entity: xlarr; with a semi-colon 7 B
004541 html5lib/namedEntities/4134 html5lib-tests &xmap Bad named entity: xmap without a semi-colon 5 B
004542 html5lib/namedEntities/4135 html5lib-tests ⟼ Named entity: xmap; with a semi-colon 6 B
004543 html5lib/namedEntities/4136 html5lib-tests &xnis Bad named entity: xnis without a semi-colon 5 B
004544 html5lib/namedEntities/4137 html5lib-tests ⋻ Named entity: xnis; with a semi-colon 6 B
004545 html5lib/namedEntities/4138 html5lib-tests &xodot Bad named entity: xodot without a semi-colon 6 B
004546 html5lib/namedEntities/4139 html5lib-tests ⨀ Named entity: xodot; with a semi-colon 7 B
004547 html5lib/namedEntities/4140 html5lib-tests &xopf Bad named entity: xopf without a semi-colon 5 B
004548 html5lib/namedEntities/4141 html5lib-tests 𝕩 Named entity: xopf; with a semi-colon 6 B
004549 html5lib/namedEntities/4142 html5lib-tests &xoplus Bad named entity: xoplus without a semi-colon 7 B
004550 html5lib/namedEntities/4143 html5lib-tests ⨁ Named entity: xoplus; with a semi-colon 8 B
004551 html5lib/namedEntities/4144 html5lib-tests &xotime Bad named entity: xotime without a semi-colon 7 B
004552 html5lib/namedEntities/4145 html5lib-tests ⨂ Named entity: xotime; with a semi-colon 8 B
004553 html5lib/namedEntities/4146 html5lib-tests &xrArr Bad named entity: xrArr without a semi-colon 6 B

Where these rules come from

Expected outputs come from Python’s html.unescape, changed to keep references to controls and noncharacters the way the WHATWG tokenizer does.