FAILURE MAP
← Case archive

FA-12730 / Auction allocation rules / Member archive

Marginal pro-rata allocation loses residual units · case 05

Marginal pro-rata allocation loses residual units.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

For positive integer requests and capacity between zero and their sum, floor proportional shares then give one remaining unit to each largest fractional remainder, breaking ties by input order. Empty requests require zero capacity.

Why this case matters

Deterministic teaching model for reviewing auction allocation software; not a representation of any venue or financial advice.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
largest remainder is not first[0, 1][1, 1]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 ↗