FAILURE MAP
← Case archive

FA-61602 / Options payoff and settlement / Member archive

Listed option expiration date calendar: a quarter-end month maps to the next quarter · case 02

March, June and September quarterly contracts expire three months late.

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 quarter month mapping 1[2030, 6, 28][2030, 3, 29]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 ↗