FAILURE MAP
← Case archive

FA-76999 / Calendar recurrence rules / Member archive

Applying moved and cancelled instance overrides in a window query: orphan guard · case 04

An override for a date that is not an instance adds a phantom occurrence.

Member previewVariant 4 · 3 implementations · 7 checks per implementation

Case contract

A daily-interval series of count instances. overrides is an ordered list of [original_date, new_date] where new_date None cancels; for repeated originals the last override wins; overrides whose original is not a series instance are ignored. Return [original, actual] pairs for instances whose actual date lies in [window_start, window_end], sorted by actual then original date.

Why this case matters

Recurring calendar series are expanded into concrete instances for display, reminders and conflict checks.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
orphan after series end[["2024-05-01", "2024-05-01"], ["2024-05-02", "2024-05-02"], ["2024-05-10", "2024-05-02"], ["2024-05-03", "2024-05-03"]][["2024-05-01", "2024-05-01"], ["2024-05-02", "2024-05-02"], ["2024-05-03", "2024-05-03"]]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗