Sort co-occurring sanctoral feasts by rank deterministically #25

Closed
opened 2026-07-01 00:51:13 +00:00 by manlycucumber · 0 comments
manlycucumber commented 2026-07-01 00:51:13 +00:00 (Migrated from github.com)

Problem

Multiple sanctoral feasts can fall on the same date. They must be ordered deterministically by rank (and a stable tiebreak) before precedence runs, or resolution becomes nondeterministic.

Acceptance criteria

  • Same-date feasts are sorted by class then a stable secondary key
  • Sort is stable and reproducible run-to-run
  • Unit tests cover two and three feasts on one date
  • Tiebreak rule is documented in code

Notes

Determinism is required for the validation oracle to match.

## Problem Multiple sanctoral feasts can fall on the same date. They must be ordered deterministically by rank (and a stable tiebreak) before precedence runs, or resolution becomes nondeterministic. ## Acceptance criteria - [ ] Same-date feasts are sorted by class then a stable secondary key - [ ] Sort is stable and reproducible run-to-run - [ ] Unit tests cover two and three feasts on one date - [ ] Tiebreak rule is documented in code ## Notes Determinism is required for the validation oracle to match.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Directorium/Core#25
No description provided.