FAILURE MAP
← Case archive

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

Compounded overnight rate in arrears with lookback: the compounded return is annualized over business days · case 02

Coupons are several times too large for periods containing weekends.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Inputs start, end (business days), a map from ISO date to overnight rate in percent, a lookback in business days, a spread in percent and holidays. Business days are weekdays not in holidays. For each business day d in [start, end), weight n = calendar days to the next business day (or to end for the last one) and rate = the rate published L business days before d. Compound prod(1 + r/100*n/360); the period rate is (prod-1)*360/calendar days*100 plus the spread, rounded to 6 decimals.

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 annualization basis 18.5449055.567247Failed

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 ↗