FAILURE MAP
← Case archive

FA-61592 / Options payoff and settlement / Member archive

Listed option expiration date calendar: the first Friday offset can be negative · case 02

In months starting on a Saturday or Sunday the expiry lands a week early.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Inputs year, month, kind and holidays. Monthly expiry is the third Friday of the month; quarterly expiry is the last calendar day of the quarter-end month (Mar/Jun/Sep/Dec) containing the month. Either date rolls back to the preceding business day (weekday not in holidays) when it is not a business day. Return [y,m,d].

Why this case matters

Option expiry, exercise and settlement engines move cash and shares; a wrong branch misstates obligations.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression first friday offset 1[2023, 7, 14][2023, 7, 21]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 ↗