chore: assert engine day() against the missalemeum oracle (#48) #427
No reviewers
Labels
No labels
area: build
area: ci
area: compare
area: data
area: engine
area: model
area: provenance
area: rite
area: validation
backport
blocked
breaking
confirmed
dependencies
duplicate
epic
github_actions
invalid
needs-info
needs-triage
php
priority: high
priority: low
priority: medium
regression
type: bug
type: chore
type: correction
type: docs
type: enhancement
type: feature
type: fix
type: perf
type: refactor
type: security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Directorium/Core!427
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/48-assert-against-missalemeum"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of Epic #45. The heart of the validation harness: engine ↔ oracle assertion.
What
Compares
day()to the pinned missalemeum fixture (#47) for every day 2024–2026,field by field — the celebration's class, its colour set, and the
commemoration count. (Title is not compared: we resolve Latin identities, not
English display strings; class + colour pin which office won.)
Design — categorised baseline (approval test)
The two 1962 engines still differ on a tracked set of days. Rather than assert
zero divergence (which would demand the whole accuracy campaign at once), the current
421-row divergence set is frozen as a categorised known-differences baseline
(
tests/Validation/fixtures/missalemeum/known-differences.ndjson). The test assertsthe live divergences equal it exactly, so both a regression (a new divergence)
and an improvement (a baselined divergence that vanishes) fail — naming the days
— until reviewed and re-frozen with
bin/freeze-oracle-baseline.php. The harness is aliving worklist, not a rubber stamp.
Baseline categories: corpus-rank (~82, saints awaiting cited rank corrections),
commemoration rules (~200: sunday/feast/feria), colour (~139: octave-tide, penitential
second colour, other). Each is a tracked class of known difference — the substance of
the follow-on accuracy issues.
Gates green:
lint114/114,analyse[OK],test627 passing, corpus verify OK.Closes #48.