FAILURE MAP
← Case archive

FA-61212 / Bond day-count conventions / Member archive

Settlement date from a business-day lag across two calendars: the trade date counts as the first business day · case 02

Settlement is one business day early.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Inputs a trade date (a business day), a lag n and two holiday lists. A business day is a weekday that is a holiday in neither calendar. Settlement is the n-th business day strictly after trade (trade date for n=0). Return [y,m,d].

Why this case matters

Bond accrual and pricing systems depend on exact day-count arithmetic; a single-day error changes settlement cash.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression trade date counted 1[2030, 3, 5][2030, 3, 6]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 ↗