FAILURE MAP
← Case archive

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

Settlement date from a business-day lag across two calendars: only the security market calendar is honored · case 03

Settlements land on currency holidays.

Member previewVariant 3 · 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 second calendar 1[2022, 7, 4][2022, 7, 5]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 ↗