FAILURE MAP
← Case archive

FA-84419 / Betting odds conversion / Member archive

Fair prices shortened instead of lengthened · case 04

No-vig prices come out shorter than the quoted prices.

Member previewVariant 4 · 3 implementations · 7 checks per implementation

Case contract

Market book analysis for decimal prices (strings, each > 1, else "invalid"). Implied probability is 1/d; book = sum of implied probabilities. Return [overround percent (book - 1) * 100, bookmaker margin percent (1 - 1/book) * 100, fair prices d * book for proportional margin removal], every number rounded half up to two decimals (negative values are rounded toward +infinity at the half) and formatted with two decimals.

Why this case matters

Trading tools report overround and margin separately and derive no-vig fair prices.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
control standard juice["4.71", "4.50", ["1.82", "1.82"]]["4.71", "4.50", ["2.00", "2.00"]]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 ↗