FAILURE MAP
← Case archive

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

Deposit maturity with the end-to-end rule: the end-to-end rule is triggered by the calendar month end · case 02

Deposits starting on the last business day before a month-end weekend mature mid-month.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Inputs a start business day, tenor in months, holidays, principal and rate. If the start is the last business day of its month, maturity is the last business day of the target month; otherwise maturity is the start day clamped into the target month and adjusted modified following. Interest = principal*rate*days/360 rounded to 2. Return [maturity, interest].

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 end-end trigger 1[[2024, 4, 29], 3185.76][[2024, 4, 30], 3194.44]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 ↗