FA-84412 / Betting odds conversion / Member archive
Bookmaker margin reported as the overround · case 02
The margin column repeats the overround (4.71 instead of 4.50 for 1.91/1.91).
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| control standard juice | ["4.71", "4.71", ["2.00", "2.00"]] | ["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 ↗