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

All 6,835 cases

Case Name Expected Note Size
003650 html5lib/namedEntities/3243 html5lib-tests &precsim Bad named entity: precsim without a semi-colon 8 B
003651 html5lib/namedEntities/3244 html5lib-tests ≾ Named entity: precsim; with a semi-colon 9 B
003652 html5lib/namedEntities/3245 html5lib-tests &prime Bad named entity: prime without a semi-colon 6 B
003653 html5lib/namedEntities/3246 html5lib-tests ′ Named entity: prime; with a semi-colon 7 B
003654 html5lib/namedEntities/3247 html5lib-tests &primes Bad named entity: primes without a semi-colon 7 B
003655 html5lib/namedEntities/3248 html5lib-tests ℙ Named entity: primes; with a semi-colon 8 B
003656 html5lib/namedEntities/3249 html5lib-tests &prnE Bad named entity: prnE without a semi-colon 5 B
003657 html5lib/namedEntities/3250 html5lib-tests ⪵ Named entity: prnE; with a semi-colon 6 B
003658 html5lib/namedEntities/3251 html5lib-tests &prnap Bad named entity: prnap without a semi-colon 6 B
003659 html5lib/namedEntities/3252 html5lib-tests ⪹ Named entity: prnap; with a semi-colon 7 B
003660 html5lib/namedEntities/3253 html5lib-tests &prnsim Bad named entity: prnsim without a semi-colon 7 B
003661 html5lib/namedEntities/3254 html5lib-tests ⋨ Named entity: prnsim; with a semi-colon 8 B
003662 html5lib/namedEntities/3255 html5lib-tests &prod Bad named entity: prod without a semi-colon 5 B
003663 html5lib/namedEntities/3256 html5lib-tests ∏ Named entity: prod; with a semi-colon 6 B
003664 html5lib/namedEntities/3257 html5lib-tests &profalar Bad named entity: profalar without a semi-colon 9 B
003665 html5lib/namedEntities/3258 html5lib-tests ⌮ Named entity: profalar; with a semi-colon 10 B
003666 html5lib/namedEntities/3259 html5lib-tests &profline Bad named entity: profline without a semi-colon 9 B
003667 html5lib/namedEntities/3260 html5lib-tests ⌒ Named entity: profline; with a semi-colon 10 B
003668 html5lib/namedEntities/3261 html5lib-tests &profsurf Bad named entity: profsurf without a semi-colon 9 B
003669 html5lib/namedEntities/3262 html5lib-tests ⌓ Named entity: profsurf; with a semi-colon 10 B
003670 html5lib/namedEntities/3263 html5lib-tests &prop Bad named entity: prop without a semi-colon 5 B
003671 html5lib/namedEntities/3264 html5lib-tests ∝ Named entity: prop; with a semi-colon 6 B
003672 html5lib/namedEntities/3265 html5lib-tests &propto Bad named entity: propto without a semi-colon 7 B
003673 html5lib/namedEntities/3266 html5lib-tests ∝ Named entity: propto; with a semi-colon 8 B
003674 html5lib/namedEntities/3267 html5lib-tests &prsim Bad named entity: prsim without a semi-colon 6 B
003675 html5lib/namedEntities/3268 html5lib-tests ≾ Named entity: prsim; with a semi-colon 7 B
003676 html5lib/namedEntities/3269 html5lib-tests &prurel Bad named entity: prurel without a semi-colon 7 B
003677 html5lib/namedEntities/3270 html5lib-tests ⊰ Named entity: prurel; with a semi-colon 8 B
003678 html5lib/namedEntities/3271 html5lib-tests &pscr Bad named entity: pscr without a semi-colon 5 B
003679 html5lib/namedEntities/3272 html5lib-tests 𝓅 Named entity: pscr; with a semi-colon 6 B
003680 html5lib/namedEntities/3273 html5lib-tests &psi Bad named entity: psi without a semi-colon 4 B
003681 html5lib/namedEntities/3274 html5lib-tests ψ Named entity: psi; with a semi-colon 5 B
003682 html5lib/namedEntities/3275 html5lib-tests &puncsp Bad named entity: puncsp without a semi-colon 7 B
003683 html5lib/namedEntities/3276 html5lib-tests   Named entity: puncsp; with a semi-colon 8 B
003684 html5lib/namedEntities/3277 html5lib-tests &qfr Bad named entity: qfr without a semi-colon 4 B
003685 html5lib/namedEntities/3278 html5lib-tests 𝔮 Named entity: qfr; with a semi-colon 5 B
003686 html5lib/namedEntities/3279 html5lib-tests &qint Bad named entity: qint without a semi-colon 5 B
003687 html5lib/namedEntities/3280 html5lib-tests ⨌ Named entity: qint; with a semi-colon 6 B
003688 html5lib/namedEntities/3281 html5lib-tests &qopf Bad named entity: qopf without a semi-colon 5 B
003689 html5lib/namedEntities/3282 html5lib-tests 𝕢 Named entity: qopf; with a semi-colon 6 B
003690 html5lib/namedEntities/3283 html5lib-tests &qprime Bad named entity: qprime without a semi-colon 7 B
003691 html5lib/namedEntities/3284 html5lib-tests ⁗ Named entity: qprime; with a semi-colon 8 B
003692 html5lib/namedEntities/3285 html5lib-tests &qscr Bad named entity: qscr without a semi-colon 5 B
003693 html5lib/namedEntities/3286 html5lib-tests 𝓆 Named entity: qscr; with a semi-colon 6 B
003694 html5lib/namedEntities/3287 html5lib-tests &quaternions Bad named entity: quaternions without a semi-colon 12 B
003695 html5lib/namedEntities/3288 html5lib-tests ℍ Named entity: quaternions; with a semi-colon 13 B
003696 html5lib/namedEntities/3289 html5lib-tests &quatint Bad named entity: quatint without a semi-colon 8 B
003697 html5lib/namedEntities/3290 html5lib-tests ⨖ Named entity: quatint; with a semi-colon 9 B
003698 html5lib/namedEntities/3291 html5lib-tests &quest Bad named entity: quest without a semi-colon 6 B
003699 html5lib/namedEntities/3292 html5lib-tests ? Named entity: quest; with a semi-colon 7 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.