Repository navigation
PrismMessage: all 461 tests of the Unicode MessageFormat 2 suite - #167
Conversation
Number, integer, offset, percent, currency, date, time and datetime functions, plural selection read from CLDR's rules, and NFC for names and keys, from tables compiled out of CLDR 48 and UCD 17 (pinned in app/specs/message/spec.json). The suite is vendored and a LexLean generator writes its ST-01 inventory. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3NQUJ3moEXQ4ggBqiP
…to claude/project-thread-ugoxb1 # Conflicts: # app/specs/guests/spec.json
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3NQUJ3moEXQ4ggBqiP
|
Merge train notice: the merge train merges this pull request once it is green on current main; don't enable auto-merge. Generated by Claude Code |
|
What I traced: the only thing this PR adds to page start is a larger message guest (374 KB, was 111 KB), which No re-run requested: this PR is a draft until #164 merges, and the merge of main that follows runs every check again. Generated by Claude Code |
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3NQUJ3moEXQ4ggBqiP
|
Live: this change is on the published page, as main The publish job opened the published page in a fresh Chromium and its live checks passed (PG-01, PD-01, PD-02): https://github.com/afflom/me/actions/runs/43919204957 |
Requested by Alex · project thread
Builds on #159 (its branch is merged in here) and takes the message formatter from 326 to all 461 tests of the Unicode MessageFormat 2.0 suite at LDML 48.2 (unicode-org/message-format-wg
7f142fb).What changed
app/src/PrismMessage.lex.tex::number,:integer,:offset,:percent,:currency,:date,:time,:datetime, plural and ordinal selection, exact-key matching, the bad-variant-key and bad-option checks, and Normalization Form C for names and keys.enandfr, and the Unicode Character Database 17.0.0 for NFC.app/specs/message/spec.jsondatapins every source file and every table by SHA-256.messagesyntax.json,message-rulesthe other files,message-functionsthe files under functions/), because one build holds about 25 KB of vectors. Thedebtlist is gone. Theformatandpartsverbs keep their request and answer shape; a request may now also carrytimeZone.app/specs/standards/texts,app/specs/message/upstream). A new LexLean generatormftestsingenerators/standards(GenMessage) writes one requirement per test intotest/standards/generated/unicode-messageformat-2/. The register entry is no longerunpinned: 461 requirements, 461 enforced, 0 debt.Checked
site/router/router.test.mjs.Scope notes
enandfr; any other locale is served asen. Dates are Gregorian; a time zone is UTC or a fixed offset. Number options follow ECMA-402's digit options, which the specification points to.generators/as LexLean programs is the next slice; until then the table hashes in the spec are the record of what was compiled in.Generated by Claude Code