FA-56796 / Auction allocation rules / Open access
Award forfeiture: delivery recovery · case 01
A delivered lot is re-awarded before physical recovery.
ROOT CAUSE
A delivered lot is re-awarded before physical recovery.
THE FAILURE
A delivered lot is re-awarded before physical recovery.
Unsuccessful approach: The attempted repair uses not x["delivered"]; the explicit regression cases demonstrate that this still violates the stipulated auction rule.
Case contract
A defaulted provisional auction award may be offered to a prequalified alternate. Alternate acceptance has its own deadline; original payment, delivery and forfeiture states remain separate. This model reports dispositions without recomputing bid rankings. Named decision delivery-recovery: For delivery recovery, apply the stipulated decision not x["delivered"] or x["lot_returned"].
Why this case matters
Offline administrative auction model for software failure analysis.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(x):
v0 = x["defaulted"] and not x["paid"]
v1 = True
v2 = x["now"]<x["offer_until"]
v3 = x["alternate"] in x["qualified"] and x["alternate"] not in x["banned"]
v4 = x["accepted"] and x["consent"]
v5 = min(x["escrow"],x["penalty"])
v6 = max(0,x["escrow"]-x["penalty"])
v7 = x["alternate"] if x["accepted"] and x["consent"] else x["original_owner"]
v8 = next((a for a in x["offers"] if a not in x["declined"]),None)
v9 = x["new_payment"] if x["accepted"] else 0
return {'default-resale-eligibility':v0,'delivery-recovery':v1,'alternate-offer-expiry':v2,'alternate-disqualification':v3,'affirmative-alternate-consent':v4,'escrow-forfeit-ceiling':v5,'escrow-residue':v6,'ownership-transfer-gate':v7,'declined-alternate-skip':v8,'resale-payment-recognition':v9}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [('delivered original', {'defaulted': True, 'paid': False, 'delivered': True, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [False, False, False, False, False]), ('original paid / delivered original', {'defaulted': True, 'paid': True, 'delivered': True, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [False, False, False, False, False]), ('delivered original / lot returned', {'defaulted': True, 'paid': False, 'delivered': True, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': True, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('normal contract', {'defaulted': True, 'paid': False, 'delivered': False, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('original paid', {'defaulted': True, 'paid': True, 'delivered': False, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('no default', {'defaulted': False, 'paid': False, 'delivered': False, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('alternate accepted', {'defaulted': True, 'paid': False, 'delivered': False, 'accepted': True, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('offer expired', {'defaulted': True, 'paid': False, 'delivered': False, 'accepted': False, 'now': 9, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('exact offer deadline', {'defaulted': True, 'paid': False, 'delivered': False, 'accepted': False, 'now': 8, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('alternate banned', {'defaulted': True, 'paid': False, 'delivered': False, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['b'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('unqualified alternate', {'defaulted': True, 'paid': False, 'delivered': False, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': [], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True])]
def vary(value):
if type(value) is int: return value*N
if isinstance(value,list): return [vary(v) for v in value]
if isinstance(value,dict): return {k:(v if k in ['count', 'delivery_index', 'disputed', 'maximum_set', 'minimum_set', 'stage', 'threshold', 'waived'] else vary(v)) for k,v in value.items()}
return value
for label, request, expected in fixtures:
check(label, solve(vary(request))['delivery-recovery'], expected[N-1])
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| delivered original | True | False | Failed |
| original paid / delivered original | True | False | Failed |
| delivered original / lot returned | True | True | Passed |
| normal contract | True | True | Passed |
| original paid | True | True | Passed |
| no default | True | True | Passed |
| alternate accepted | True | True | Passed |
| offer expired | True | True | Passed |
| exact offer deadline | True | True | Passed |
| alternate banned | True | True | Passed |
| unqualified alternate | True | True | Passed |
SHA-256 / de1ec7597e4e9952d41580aabf6c4c911d3ed40051f8b5eb0137a4cb901c71d1
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(x):
v0 = x["defaulted"] and not x["paid"]
v1 = not x["delivered"]
v2 = x["now"]<x["offer_until"]
v3 = x["alternate"] in x["qualified"] and x["alternate"] not in x["banned"]
v4 = x["accepted"] and x["consent"]
v5 = min(x["escrow"],x["penalty"])
v6 = max(0,x["escrow"]-x["penalty"])
v7 = x["alternate"] if x["accepted"] and x["consent"] else x["original_owner"]
v8 = next((a for a in x["offers"] if a not in x["declined"]),None)
v9 = x["new_payment"] if x["accepted"] else 0
return {'default-resale-eligibility':v0,'delivery-recovery':v1,'alternate-offer-expiry':v2,'alternate-disqualification':v3,'affirmative-alternate-consent':v4,'escrow-forfeit-ceiling':v5,'escrow-residue':v6,'ownership-transfer-gate':v7,'declined-alternate-skip':v8,'resale-payment-recognition':v9}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [('delivered original', {'defaulted': True, 'paid': False, 'delivered': True, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [False, False, False, False, False]), ('original paid / delivered original', {'defaulted': True, 'paid': True, 'delivered': True, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [False, False, False, False, False]), ('delivered original / lot returned', {'defaulted': True, 'paid': False, 'delivered': True, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': True, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('normal contract', {'defaulted': True, 'paid': False, 'delivered': False, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('original paid', {'defaulted': True, 'paid': True, 'delivered': False, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('no default', {'defaulted': False, 'paid': False, 'delivered': False, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('alternate accepted', {'defaulted': True, 'paid': False, 'delivered': False, 'accepted': True, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('offer expired', {'defaulted': True, 'paid': False, 'delivered': False, 'accepted': False, 'now': 9, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('exact offer deadline', {'defaulted': True, 'paid': False, 'delivered': False, 'accepted': False, 'now': 8, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('alternate banned', {'defaulted': True, 'paid': False, 'delivered': False, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['b'], 'qualified': ['b', 'c'], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True]), ('unqualified alternate', {'defaulted': True, 'paid': False, 'delivered': False, 'accepted': False, 'now': 7, 'offer_until': 8, 'original_until': 5, 'alternate': 'b', 'banned': ['a'], 'qualified': [], 'consent': True, 'lot_returned': False, 'escrow': 12, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [True, True, True, True, True])]
def vary(value):
if type(value) is int: return value*N
if isinstance(value,list): return [vary(v) for v in value]
if isinstance(value,dict): return {k:(v if k in ['count', 'delivery_index', 'disputed', 'maximum_set', 'minimum_set', 'stage', 'threshold', 'waived'] else vary(v)) for k,v in value.items()}
return value
for label, request, expected in fixtures:
check(label, solve(vary(request))['delivery-recovery'], expected[N-1])
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| delivered original | False | False | Passed |
| original paid / delivered original | False | False | Passed |
| delivered original / lot returned | False | True | Failed |
| normal contract | True | True | Passed |
| original paid | True | True | Passed |
| no default | True | True | Passed |
| alternate accepted | True | True | Passed |
| offer expired | True | True | Passed |
| exact offer deadline | True | True | Passed |
| alternate banned | True | True | Passed |
| unqualified alternate | True | True | Passed |
SHA-256 / 6e7bb449d65d35ee7bb294f0eb2a6d34b1665cfd772105da5324a04ca387792a
HELD IN THE MEMBER ARCHIVE
The verified repair and its recorded checks are member-only.
This mechanism has 11 recorded checks per implementation. The open-access tier publishes the failure and the unsuccessful fix; the repaired source that passes every check, and the observations that prove it, are available to members.
Every case sharing this mechanism uses the same contract and the same repair, so this one record is held back for all of them.
Member access is invitation-based. Sign in with your invited account to inspect the repair.
Sign in to the archive ↗Verification & scope
Stipulated toy auction rules, not a venue specification, financial advice, optimization claim, or live trading implementation. Nonnegative integer inputs and internally aligned list fields only. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.
Observations recorded using Python 3.12.14 at 2026-09-29T14:46:10.563178+00:00.
Case digest / 7cb0ccbfa45ebb0c93324f692afb5073c9b85533edf7aba67d81c0b6332c72e0