{"abstract":"Alternate payment is confused with the original bidder refundable escrow residue.","category":"Auction allocation rules","checks":9,"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-residue: For escrow residue, apply the stipulated decision max(0,x[\"escrow\"]-x[\"penalty\"]).","contract_signature":"x","evaluation_group":"s3-auction-award-forfeiture","failed_approach":"The attempted repair uses max(0,x[\"escrow\"]-x[\"new_payment\"]); the explicit regression cases demonstrate that this still violates the stipulated auction rule.","family":"s3-auction-allocation-rules-award-forfeiture-escrow-residue","id":"FA-56821","implementations":{"attempt":{"sha256":"f74a204395714e425731fb5ce742da17e75fe31a407db182c4e538ace548659a","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = x[\"defaulted\"] and not x[\"paid\"]\n    v1 = not x[\"delivered\"] or x[\"lot_returned\"]\n    v2 = x[\"now\"]<x[\"offer_until\"]\n    v3 = x[\"alternate\"] in x[\"qualified\"] and x[\"alternate\"] not in x[\"banned\"]\n    v4 = x[\"accepted\"] and x[\"consent\"]\n    v5 = min(x[\"escrow\"],x[\"penalty\"])\n    v6 = max(0,x[\"escrow\"]-x[\"new_payment\"])\n    v7 = x[\"alternate\"] if x[\"accepted\"] and x[\"consent\"] else x[\"original_owner\"]\n    v8 = next((a for a in x[\"offers\"] if a not in x[\"declined\"]),None)\n    v9 = x[\"new_payment\"] if x[\"accepted\"] else 0\n    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}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40])]\ndef vary(value):\n if type(value) is int: return value*N\n if isinstance(value,list): return [vary(v) for v in value]\n 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()}\n return value\nfor label, request, expected in fixtures:\n check(label, solve(vary(request))['escrow-residue'], expected[N-1])\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"broken":{"sha256":"46f23ecbc398d7ea197b7685e3e3e4cbc69e1136190f9634b192f65401145931","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = x[\"defaulted\"] and not x[\"paid\"]\n    v1 = not x[\"delivered\"] or x[\"lot_returned\"]\n    v2 = x[\"now\"]<x[\"offer_until\"]\n    v3 = x[\"alternate\"] in x[\"qualified\"] and x[\"alternate\"] not in x[\"banned\"]\n    v4 = x[\"accepted\"] and x[\"consent\"]\n    v5 = min(x[\"escrow\"],x[\"penalty\"])\n    v6 = x[\"escrow\"]\n    v7 = x[\"alternate\"] if x[\"accepted\"] and x[\"consent\"] else x[\"original_owner\"]\n    v8 = next((a for a in x[\"offers\"] if a not in x[\"declined\"]),None)\n    v9 = x[\"new_payment\"] if x[\"accepted\"] else 0\n    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}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40]), ('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']}, [8, 16, 24, 32, 40])]\ndef vary(value):\n if type(value) is int: return value*N\n if isinstance(value,list): return [vary(v) for v in value]\n 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()}\n return value\nfor label, request, expected in fixtures:\n check(label, solve(vary(request))['escrow-residue'], expected[N-1])\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"}},"limitations":"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.","method":"Deterministic executable model with adversarial boundary fixtures.","provenance":{"created_by":"Failure Map","dependencies":"Python standard library","family":"s3-auction-allocation-rules-award-forfeiture-escrow-residue","generated_at":"2026-09-29T14:46:10.862063+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Offline administrative auction model for software failure analysis.","root_cause":"Alternate payment is confused with the original bidder refundable escrow residue.","sha256":"0de974ed579dd285fd7453b6f8be5c2c55e58c55152a78644a9479f7a0cc1984","title":"Award forfeiture: escrow residue · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":46.314,"exit_code":1,"observations":[{"actual":3,"check":"normal contract","expected":8,"passed":false},{"actual":3,"check":"original paid","expected":8,"passed":false},{"actual":3,"check":"delivered original","expected":8,"passed":false},{"actual":3,"check":"no default","expected":8,"passed":false},{"actual":3,"check":"alternate accepted","expected":8,"passed":false},{"actual":3,"check":"offer expired","expected":8,"passed":false},{"actual":3,"check":"exact offer deadline","expected":8,"passed":false},{"actual":3,"check":"alternate banned","expected":8,"passed":false},{"actual":3,"check":"unqualified alternate","expected":8,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"normal contract\", \"actual\": 3, \"expected\": 8, \"passed\": false}, {\"check\": \"original paid\", \"actual\": 3, \"expected\": 8, \"passed\": false}, {\"check\": \"delivered original\", \"actual\": 3, \"expected\": 8, \"passed\": false}, {\"check\": \"no default\", \"actual\": 3, \"expected\": 8, \"passed\": false}, {\"check\": \"alternate accepted\", \"actual\": 3, \"expected\": 8, \"passed\": false}, {\"check\": \"offer expired\", \"actual\": 3, \"expected\": 8, \"passed\": false}, {\"check\": \"exact offer deadline\", \"actual\": 3, \"expected\": 8, \"passed\": false}, {\"check\": \"alternate banned\", \"actual\": 3, \"expected\": 8, \"passed\": false}, {\"check\": \"unqualified alternate\", \"actual\": 3, \"expected\": 8, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":45.892,"exit_code":1,"observations":[{"actual":12,"check":"normal contract","expected":8,"passed":false},{"actual":12,"check":"original paid","expected":8,"passed":false},{"actual":12,"check":"delivered original","expected":8,"passed":false},{"actual":12,"check":"no default","expected":8,"passed":false},{"actual":12,"check":"alternate accepted","expected":8,"passed":false},{"actual":12,"check":"offer expired","expected":8,"passed":false},{"actual":12,"check":"exact offer deadline","expected":8,"passed":false},{"actual":12,"check":"alternate banned","expected":8,"passed":false},{"actual":12,"check":"unqualified alternate","expected":8,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"normal contract\", \"actual\": 12, \"expected\": 8, \"passed\": false}, {\"check\": \"original paid\", \"actual\": 12, \"expected\": 8, \"passed\": false}, {\"check\": \"delivered original\", \"actual\": 12, \"expected\": 8, \"passed\": false}, {\"check\": \"no default\", \"actual\": 12, \"expected\": 8, \"passed\": false}, {\"check\": \"alternate accepted\", \"actual\": 12, \"expected\": 8, \"passed\": false}, {\"check\": \"offer expired\", \"actual\": 12, \"expected\": 8, \"passed\": false}, {\"check\": \"exact offer deadline\", \"actual\": 12, \"expected\": 8, \"passed\": false}, {\"check\": \"alternate banned\", \"actual\": 12, \"expected\": 8, \"passed\": false}, {\"check\": \"unqualified alternate\", \"actual\": 12, \"expected\": 8, \"passed\": false}], \"passed\": false}\n"}},"member_only":{"stages":["fixed"],"fields":["implementations.fixed","verification.fixed","harness","repair"],"note":"The verified repair, its recorded checks, the repair description, and the scoring harness are available to members."}}