aboutsummaryrefslogtreecommitdiff
path: root/internal/calendar/oracle_ef_test.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-12 01:35:35 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-12 01:35:35 +0200
commit2386a4551aec94252168a8554269ee423d516882 (patch)
tree9d4e50014e66ffe49a9ef3110c1808244d40fb82 /internal/calendar/oracle_ef_test.go
parent4855ef2a667b7ea71092e0582db5aff1838a0d63 (diff)
downloadlectio-2386a4551aec94252168a8554269ee423d516882.tar.gz
lectio-2386a4551aec94252168a8554269ee423d516882.zip
cmd(lectio-ef-dump): new EF calendar dumper for colitur's differential oracle
Prints one line per day, sorted ascending, for a civil-year range: date, weekday, season, week, observed slug, rank, colour, then zero or more +slug tokens for the day's other (losing) candidates. The line format matches colitur's `colitur day` output field-for-field so the two streams diff directly; every column carries lectio's own vocabulary (season names, slugs, rank/colour spellings) with no translation toward colitur's — that mapping belongs to the differential comparator, not this dumper. Uses calendar.Compute with Selection{Form: "old"} over the embedded tridentine layer (caldata.Tridentine()), mirroring the setup already used by oracle_ef_test.go. Lives in cmd/ because internal/calendar cannot be imported outside this module; colitur's build is untouched. Note for the comparator: lectio has no RG 111 commemoration-admission logic, so the trailing +slug tokens are the day's losing candidates, not admitted commemorations.
Diffstat (limited to 'internal/calendar/oracle_ef_test.go')
0 files changed, 0 insertions, 0 deletions