FAILURE MAP
← Case archive

FA-61580 / Options payoff and settlement / Member archive

Special opening settlement value for index options: half-cent settlement values round to even · case 05

Exact half-cent values settle a cent lower half of the time.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Inputs components [weight, opening price or None, last close] and a divisor. Each component uses its opening price, or its last close if it did not open. Settlement = sum(weight*price)/divisor computed in Decimal and rounded half-up to cents. Return as a string.

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 settlement rounding mode 1"988.04""988.05"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 ↗