aboutsummaryrefslogtreecommitdiff
path: root/lib/kernel/liturgical_day.ml
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-12 17:02:48 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-12 17:02:48 +0200
commite5b368dec8fdc9ab983ee0f1dee69c37883cbe12 (patch)
tree39360eccd3fa8ee5379fc46276d1e0ef0e6ff2b5 /lib/kernel/liturgical_day.ml
parent5d5454208464892e96310efd99ec9db09171f982 (diff)
downloadcolitur-e5b368dec8fdc9ab983ee0f1dee69c37883cbe12.tar.gz
colitur-e5b368dec8fdc9ab983ee0f1dee69c37883cbe12.zip
docs: three comments that outlived the rules they described
All three are the project's own "correct code, wrong explanation" shape, found by the final review of the RG 113 work. No behaviour change. test_rite_ef.ml's registered Alcotest label said "Thomas of Villanova observed, Maurice commemorated" while the test asserts the Ember Wednesday is observed, Thomas is the sole commemoration and Maurice is omitted -- the opposite of two of its three assertions. The body's own doc comment was right; only the name a test run prints was wrong. validate.ml's lead-in still said origin is reconstructed as Sanctoral uniformly because the EF admit "reads only rank and slug, never origin". That stopped being true in ea22ad2: admit now orders by band, and band reads origin via is_temporal, so a temporal-origin commemoration relabelled Sanctoral would be scored on the wrong table entry. The code below already recovers the origin exactly; only this comment lagged. precedence_ef.ml's band guard justified itself by citing celebration.mli as saying a demoted feast retains its rank for RG 111's admission-COUNT purposes. celebration.mli says the opposite -- it names the ORDERING use the guard removes. The guard is right for a reason it did not give: rank stays load-bearing through RG 111(b)'s "de festo II classis" floor, which is what excludes these entries from a II-class Sunday's slot. Both the citation and celebration.mli's own now-stale line are corrected, each recording what it previously claimed.
Diffstat (limited to 'lib/kernel/liturgical_day.ml')
0 files changed, 0 insertions, 0 deletions