Precedence bug: commemoration-grade saints are celebrated instead of commemorated #424
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 project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Directorium/Core#424
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
The validation harness (#45), cross-checked against the missalemeum oracle (the
base-1962 authority), shows the engine celebrates a IV-class commemoration as
the day's office and omits the feria, where the correct 1960 resolution is to
celebrate the feria and merely commemorate the saint.
Examples (all
kind = commemoration-only, rank IV):feria; missalemeum celebrates the feria and commemorates Silverius.
Cassian) — same pattern. ~50 days/year.
Root cause
ObservanceKind::COMMEMORATION_ONLYis defined but never consulted in theprecedence logic. A commemoration-grade saint (rank IV) therefore receives the same
fourthtier as the feria, ties, and winsDayResolver::sortByTier()'s id-basedtie-break (
roman:sanctorale:…<roman:temporale:…), becoming the celebration.A commemoration has no proper office (1960 rubrics, nn. 106–114): the feria or
Sunday is celebrated and the commemoration is made at Mass and Office.
Fix
Add a
commemorationtier belowfourth(ordinal 29) in the precedence data andreturn it from
tierOf()forkind === COMMEMORATION_ONLY. The saint then alwaysloses to a real office (feria/Sunday/feast) and is commemorated (or omitted where
the day admits none — e.g. the Triduum). Confined to ferial days that carry a
commemoration; the golden fixture will be re-frozen.
Notes
Corpus ranks are correct (the saints are already
kind=commemoration-only); onlythe engine ignored the kind. Found by Epic #45 against the missalemeum oracle;
sibling of #422.