FAILURE MAP
← Case archive

FA-56816 / Auction allocation rules / Open access

Award forfeiture: escrow forfeit ceiling · case 01

Forfeiture seizes more escrow than held or more than stipulated penalty.

Verified by executionVariant 1 · 11 checks per implementationDownload source bundle ↓JSON ↗

ROOT CAUSE

Forfeiture seizes more escrow than held or more than stipulated penalty.

VERIFIED REPAIR

For escrow forfeit ceiling, apply the stipulated decision min(x["escrow"],x["penalty"]).

Unsuccessful approach: The attempted repair uses x["escrow"]; 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 escrow-forfeit-ceiling: For escrow forfeit ceiling, apply the stipulated decision min(x["escrow"],x["penalty"]).

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 = not x["delivered"] or x["lot_returned"]
    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 = 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 = [('escrow smaller penalty', {'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': 2, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [2, 4, 6, 8, 10]), ('original paid / escrow smaller penalty', {'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': 2, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [2, 4, 6, 8, 10]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20])]
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))['escrow-forfeit-ceiling'], 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 fixtureActualExpectedOutcome
escrow smaller penalty42Failed
original paid / escrow smaller penalty42Failed
normal contract44Passed
original paid44Passed
delivered original44Passed
no default44Passed
alternate accepted44Passed
offer expired44Passed
exact offer deadline44Passed
alternate banned44Passed
unqualified alternate44Passed

SHA-256 / dacb3d95f85f3e67012041564e2bd254cb78ec728ad7416863e89b8030f128a2

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"] or x["lot_returned"]
    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 = x["escrow"]
    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 = [('escrow smaller penalty', {'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': 2, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [2, 4, 6, 8, 10]), ('original paid / escrow smaller penalty', {'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': 2, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [2, 4, 6, 8, 10]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20])]
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))['escrow-forfeit-ceiling'], 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 fixtureActualExpectedOutcome
escrow smaller penalty22Passed
original paid / escrow smaller penalty22Passed
normal contract124Failed
original paid124Failed
delivered original124Failed
no default124Failed
alternate accepted124Failed
offer expired124Failed
exact offer deadline124Failed
alternate banned124Failed
unqualified alternate124Failed

SHA-256 / 44405fccbddca1f5d6fe68dec7df10cf94a9325b2bd3103cc30cd3ba04d457b6

3 / The verified repair

Exit 0
"""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"] or x["lot_returned"]
    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 = [('escrow smaller penalty', {'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': 2, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [2, 4, 6, 8, 10]), ('original paid / escrow smaller penalty', {'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': 2, 'penalty': 4, 'new_payment': 9, 'original_owner': 'a', 'offers': ['b', 'c'], 'declined': ['b']}, [2, 4, 6, 8, 10]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20]), ('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']}, [4, 8, 12, 16, 20])]
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))['escrow-forfeit-ceiling'], 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 fixtureActualExpectedOutcome
escrow smaller penalty22Passed
original paid / escrow smaller penalty22Passed
normal contract44Passed
original paid44Passed
delivered original44Passed
no default44Passed
alternate accepted44Passed
offer expired44Passed
exact offer deadline44Passed
alternate banned44Passed
unqualified alternate44Passed

SHA-256 / 9f32b1d19a44a13ba7366c2aa8127e32d4cfd5d8e3f13fa25b2c1e7a6b4b67d9

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.812993+00:00.

Case digest / cd3db7602dd4e518b9fef53e4a59ff0e2f0b62fd375d98322c34e16d88aa3268