{"abstract":"Seller remittance omits the fee or charges refundable bidder collateral.","category":"Auction allocation rules","checks":9,"contract":"A toy per-auction escrow account distinguishes available funds, reserved collateral, captured fill payments and pending releases. Reservation replaces an old hold atomically; a failed replacement retains the old hold. Separate auction holds must remain unavailable. Named decision seller-net-remittance: Deduct the settlement fee and leave the bidder bond separate.","evaluation_group":"s3-auction-escrow-reservation","failed_approach":"The attempted repair uses max(0,x[\"fill_cost\"]-x[\"fee\"]-x[\"bond\"]); the explicit regression cases demonstrate that this still violates the stipulated auction rule.","family":"s3-auction-allocation-rules-escrow-reservation-seller-net-remittance","id":"FA-56481","implementations":{"attempt":{"sha256":"ba53bbe7257fdac4748c492d2af74c17dd1b929aaaa54ea4693eec2a56ba9f15","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = x[\"balance\"]-x[\"other_hold\"] >= x[\"new_hold\"]\n    v1 = x[\"new_hold\"] if x[\"replace_ok\"] else x[\"old_hold\"]\n    v2 = max(0,x[\"old_hold\"]-x[\"fill_cost\"])\n    v3 = x[\"balance\"]-x[\"old_hold\"]-x[\"other_hold\"]+(x[\"pending\"] if x[\"confirmed\"] else 0)\n    v4 = min(x[\"refund\"],x[\"captured\"])\n    v5 = x[\"old_hold\"]+x[\"bond\"]\n    v6 = max(0,x[\"old_hold\"]-x[\"fill_cost\"]) if x[\"closed\"] else 0\n    v7 = min(x[\"release\"],max(0,x[\"old_hold\"]-x[\"fill_cost\"]))\n    v8 = max(0,x[\"fill_cost\"]-x[\"fee\"]-x[\"bond\"])\n    v9 = x[\"balance\"]-x[\"other_hold\"]-x[\"new_hold\"] >= x[\"fee\"]\n    return {'replace-credit':v0,'atomic-replacement':v1,'capture-release':v2,'pending-release-availability':v3,'refund-ceiling':v4,'bond-separation':v5,'close-release':v6,'release-clamp':v7,'seller-net-remittance':v8,'unreserved-fee-check':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('normal contract', {'balance': 100, 'old_hold': 30, 'new_hold': 50, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('reuse existing collateral', {'balance': 100, 'old_hold': 30, 'new_hold': 70, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('other auction limits credit', {'balance': 100, 'old_hold': 30, 'new_hold': 90, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('insufficient replacement', {'balance': 100, 'old_hold': 30, 'new_hold': 200, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': False, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('old hold larger', {'balance': 100, 'old_hold': 30, 'new_hold': 15, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('confirmed release', {'balance': 100, 'old_hold': 30, 'new_hold': 50, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': True, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('fully captured', {'balance': 100, 'old_hold': 30, 'new_hold': 50, 'other_hold': 20, 'fill_cost': 30, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [27, 54, 81, 108, 135]), ('zero reservation', {'balance': 100, 'old_hold': 0, 'new_hold': 0, 'other_hold': 0, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('closed auction', {'balance': 100, 'old_hold': 30, 'new_hold': 50, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': True}, [9, 18, 27, 36, 45])]\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))['seller-net-remittance'], 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":"764f2514408a728f9d0b5d80e61c46a0a7fe8acefb104e76a72d4d2c5b34046d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = x[\"balance\"]-x[\"other_hold\"] >= x[\"new_hold\"]\n    v1 = x[\"new_hold\"] if x[\"replace_ok\"] else x[\"old_hold\"]\n    v2 = max(0,x[\"old_hold\"]-x[\"fill_cost\"])\n    v3 = x[\"balance\"]-x[\"old_hold\"]-x[\"other_hold\"]+(x[\"pending\"] if x[\"confirmed\"] else 0)\n    v4 = min(x[\"refund\"],x[\"captured\"])\n    v5 = x[\"old_hold\"]+x[\"bond\"]\n    v6 = max(0,x[\"old_hold\"]-x[\"fill_cost\"]) if x[\"closed\"] else 0\n    v7 = min(x[\"release\"],max(0,x[\"old_hold\"]-x[\"fill_cost\"]))\n    v8 = x[\"fill_cost\"]\n    v9 = x[\"balance\"]-x[\"other_hold\"]-x[\"new_hold\"] >= x[\"fee\"]\n    return {'replace-credit':v0,'atomic-replacement':v1,'capture-release':v2,'pending-release-availability':v3,'refund-ceiling':v4,'bond-separation':v5,'close-release':v6,'release-clamp':v7,'seller-net-remittance':v8,'unreserved-fee-check':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('normal contract', {'balance': 100, 'old_hold': 30, 'new_hold': 50, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('reuse existing collateral', {'balance': 100, 'old_hold': 30, 'new_hold': 70, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('other auction limits credit', {'balance': 100, 'old_hold': 30, 'new_hold': 90, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('insufficient replacement', {'balance': 100, 'old_hold': 30, 'new_hold': 200, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': False, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('old hold larger', {'balance': 100, 'old_hold': 30, 'new_hold': 15, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('confirmed release', {'balance': 100, 'old_hold': 30, 'new_hold': 50, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': True, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('fully captured', {'balance': 100, 'old_hold': 30, 'new_hold': 50, 'other_hold': 20, 'fill_cost': 30, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [27, 54, 81, 108, 135]), ('zero reservation', {'balance': 100, 'old_hold': 0, 'new_hold': 0, 'other_hold': 0, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('closed auction', {'balance': 100, 'old_hold': 30, 'new_hold': 50, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': True}, [9, 18, 27, 36, 45])]\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))['seller-net-remittance'], 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"},"fixed":{"sha256":"02cd88f959290bcf7492bba15f83a213772a60a29f3c3224362f4ec8ac7ff2c7","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = x[\"balance\"]-x[\"other_hold\"] >= x[\"new_hold\"]\n    v1 = x[\"new_hold\"] if x[\"replace_ok\"] else x[\"old_hold\"]\n    v2 = max(0,x[\"old_hold\"]-x[\"fill_cost\"])\n    v3 = x[\"balance\"]-x[\"old_hold\"]-x[\"other_hold\"]+(x[\"pending\"] if x[\"confirmed\"] else 0)\n    v4 = min(x[\"refund\"],x[\"captured\"])\n    v5 = x[\"old_hold\"]+x[\"bond\"]\n    v6 = max(0,x[\"old_hold\"]-x[\"fill_cost\"]) if x[\"closed\"] else 0\n    v7 = min(x[\"release\"],max(0,x[\"old_hold\"]-x[\"fill_cost\"]))\n    v8 = max(0,x[\"fill_cost\"]-x[\"fee\"])\n    v9 = x[\"balance\"]-x[\"other_hold\"]-x[\"new_hold\"] >= x[\"fee\"]\n    return {'replace-credit':v0,'atomic-replacement':v1,'capture-release':v2,'pending-release-availability':v3,'refund-ceiling':v4,'bond-separation':v5,'close-release':v6,'release-clamp':v7,'seller-net-remittance':v8,'unreserved-fee-check':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('normal contract', {'balance': 100, 'old_hold': 30, 'new_hold': 50, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('reuse existing collateral', {'balance': 100, 'old_hold': 30, 'new_hold': 70, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('other auction limits credit', {'balance': 100, 'old_hold': 30, 'new_hold': 90, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('insufficient replacement', {'balance': 100, 'old_hold': 30, 'new_hold': 200, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': False, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('old hold larger', {'balance': 100, 'old_hold': 30, 'new_hold': 15, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('confirmed release', {'balance': 100, 'old_hold': 30, 'new_hold': 50, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': True, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('fully captured', {'balance': 100, 'old_hold': 30, 'new_hold': 50, 'other_hold': 20, 'fill_cost': 30, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [27, 54, 81, 108, 135]), ('zero reservation', {'balance': 100, 'old_hold': 0, 'new_hold': 0, 'other_hold': 0, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': False}, [9, 18, 27, 36, 45]), ('closed auction', {'balance': 100, 'old_hold': 30, 'new_hold': 50, 'other_hold': 20, 'fill_cost': 12, 'release': 5, 'pending': 7, 'confirmed': False, 'replace_ok': True, 'captured': 10, 'refund': 4, 'fee': 3, 'bond': 8, 'closed': True}, [9, 18, 27, 36, 45])]\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))['seller-net-remittance'], 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-escrow-reservation-seller-net-remittance","generated_at":"2026-09-29T14:46:07.583579+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Offline administrative auction model for software failure analysis.","repair":"Deduct the settlement fee and leave the bidder bond separate.","root_cause":"Seller remittance omits the fee or charges refundable bidder collateral.","sha256":"32b70f758c0e5c1619c0cb45e03922be3ada8fc712a26fd8417e1e9a78409248","title":"Escrow reservation: seller net remittance · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":43.287,"exit_code":1,"observations":[{"actual":1,"check":"normal contract","expected":9,"passed":false},{"actual":1,"check":"reuse existing collateral","expected":9,"passed":false},{"actual":1,"check":"other auction limits credit","expected":9,"passed":false},{"actual":1,"check":"insufficient replacement","expected":9,"passed":false},{"actual":1,"check":"old hold larger","expected":9,"passed":false},{"actual":1,"check":"confirmed release","expected":9,"passed":false},{"actual":19,"check":"fully captured","expected":27,"passed":false},{"actual":1,"check":"zero reservation","expected":9,"passed":false},{"actual":1,"check":"closed auction","expected":9,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"normal contract\", \"actual\": 1, \"expected\": 9, \"passed\": false}, {\"check\": \"reuse existing collateral\", \"actual\": 1, \"expected\": 9, \"passed\": false}, {\"check\": \"other auction limits credit\", \"actual\": 1, \"expected\": 9, \"passed\": false}, {\"check\": \"insufficient replacement\", \"actual\": 1, \"expected\": 9, \"passed\": false}, {\"check\": \"old hold larger\", \"actual\": 1, \"expected\": 9, \"passed\": false}, {\"check\": \"confirmed release\", \"actual\": 1, \"expected\": 9, \"passed\": false}, {\"check\": \"fully captured\", \"actual\": 19, \"expected\": 27, \"passed\": false}, {\"check\": \"zero reservation\", \"actual\": 1, \"expected\": 9, \"passed\": false}, {\"check\": \"closed auction\", \"actual\": 1, \"expected\": 9, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":40.989,"exit_code":1,"observations":[{"actual":12,"check":"normal contract","expected":9,"passed":false},{"actual":12,"check":"reuse existing collateral","expected":9,"passed":false},{"actual":12,"check":"other auction limits credit","expected":9,"passed":false},{"actual":12,"check":"insufficient replacement","expected":9,"passed":false},{"actual":12,"check":"old hold larger","expected":9,"passed":false},{"actual":12,"check":"confirmed release","expected":9,"passed":false},{"actual":30,"check":"fully captured","expected":27,"passed":false},{"actual":12,"check":"zero reservation","expected":9,"passed":false},{"actual":12,"check":"closed auction","expected":9,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"normal contract\", \"actual\": 12, \"expected\": 9, \"passed\": false}, {\"check\": \"reuse existing collateral\", \"actual\": 12, \"expected\": 9, \"passed\": false}, {\"check\": \"other auction limits credit\", \"actual\": 12, \"expected\": 9, \"passed\": false}, {\"check\": \"insufficient replacement\", \"actual\": 12, \"expected\": 9, \"passed\": false}, {\"check\": \"old hold larger\", \"actual\": 12, \"expected\": 9, \"passed\": false}, {\"check\": \"confirmed release\", \"actual\": 12, \"expected\": 9, \"passed\": false}, {\"check\": \"fully captured\", \"actual\": 30, \"expected\": 27, \"passed\": false}, {\"check\": \"zero reservation\", \"actual\": 12, \"expected\": 9, \"passed\": false}, {\"check\": \"closed auction\", \"actual\": 12, \"expected\": 9, \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":42.197,"exit_code":0,"observations":[{"actual":9,"check":"normal contract","expected":9,"passed":true},{"actual":9,"check":"reuse existing collateral","expected":9,"passed":true},{"actual":9,"check":"other auction limits credit","expected":9,"passed":true},{"actual":9,"check":"insufficient replacement","expected":9,"passed":true},{"actual":9,"check":"old hold larger","expected":9,"passed":true},{"actual":9,"check":"confirmed release","expected":9,"passed":true},{"actual":27,"check":"fully captured","expected":27,"passed":true},{"actual":9,"check":"zero reservation","expected":9,"passed":true},{"actual":9,"check":"closed auction","expected":9,"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"normal contract\", \"actual\": 9, \"expected\": 9, \"passed\": true}, {\"check\": \"reuse existing collateral\", \"actual\": 9, \"expected\": 9, \"passed\": true}, {\"check\": \"other auction limits credit\", \"actual\": 9, \"expected\": 9, \"passed\": true}, {\"check\": \"insufficient replacement\", \"actual\": 9, \"expected\": 9, \"passed\": true}, {\"check\": \"old hold larger\", \"actual\": 9, \"expected\": 9, \"passed\": true}, {\"check\": \"confirmed release\", \"actual\": 9, \"expected\": 9, \"passed\": true}, {\"check\": \"fully captured\", \"actual\": 27, \"expected\": 27, \"passed\": true}, {\"check\": \"zero reservation\", \"actual\": 9, \"expected\": 9, \"passed\": true}, {\"check\": \"closed auction\", \"actual\": 9, \"expected\": 9, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}