{"abstract":"Collateral locked to awards is withdrawn as free deposit.","category":"Auction allocation rules","checks":9,"contract":"Toy bidder deposits consist of cleared, pending and restricted tranches. Deposits are auction-scoped and denomination-specific. Admission capacity is per bidder; a waiver substitutes for a required deposit without turning a pending transfer into cash. Named decision withdrawable-deposit: For withdrawable deposit, apply the stipulated decision max(0,x[\"cleared\"]-x[\"locked\"]).","contract_signature":"x","evaluation_group":"s3-auction-deposit-admission","failed_approach":"The attempted repair uses max(0,x[\"cleared\"]-x[\"restricted\"]); the explicit regression cases demonstrate that this still violates the stipulated auction rule.","family":"s3-auction-allocation-rules-deposit-admission-withdrawable-deposit","id":"FA-56871","implementations":{"attempt":{"sha256":"a5cf5f6c3bc86ab2de7af8cdd387d6476692e4b937ae0ab8221f344ee6217cb6","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = x[\"cleared\"]>=x[\"required\"]\n    v1 = max(0,x[\"cleared\"]-x[\"restricted\"])\n    v2 = x[\"waiver\"] or x[\"cleared\"]>=x[\"required\"]\n    v3 = x[\"auction\"]==x[\"deposit_auction\"]\n    v4 = x[\"currency\"]==x[\"deposit_currency\"]\n    v5 = max(0,x[\"cleared\"]-x[\"chargeback\"])\n    v6 = max(0,x[\"cleared\"]-x[\"restricted\"])\n    v7 = x[\"owner\"]==x[\"beneficiary\"] and x[\"owner\"] in x[\"owners\"]\n    v8 = 0 if x[\"expired\"] else x[\"cleared\"]+(x[\"topup\"] if x[\"confirmed\"] else 0)\n    v9 = min(x[\"refunded\"],max(0,x[\"cleared\"]-x[\"locked\"]))\n    return {'cleared-admission':v0,'restricted-tranche':v1,'deposit-waiver-admission':v2,'auction-scope':v3,'denomination-scope':v4,'chargeback-recovery':v5,'withdrawable-deposit':v6,'beneficial-owner':v7,'topup-posting':v8,'refund-available-ceiling':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('normal contract', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': False, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 3, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': False, 'refunded': 4}, [14, 28, 42, 56, 70]), ('cleared sufficient', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 10, 'waiver': False, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 3, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': False, 'refunded': 4}, [14, 28, 42, 56, 70]), ('deposit waived', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': True, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 3, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': False, 'refunded': 4}, [14, 28, 42, 56, 70]), ('wrong auction', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': False, 'auction': 'A', 'deposit_auction': 'B', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 3, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': False, 'refunded': 4}, [14, 28, 42, 56, 70]), ('wrong denomination', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': False, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'ALT', 'chargeback': 3, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': False, 'refunded': 4}, [14, 28, 42, 56, 70]), ('expired deposit', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': False, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 3, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': True, 'topup': 8, 'confirmed': False, 'refunded': 4}, [14, 28, 42, 56, 70]), ('topup confirmed', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': False, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 3, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': True, 'refunded': 4}, [14, 28, 42, 56, 70]), ('chargeback consumes balance', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': False, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 30, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': False, 'refunded': 4}, [14, 28, 42, 56, 70]), ('all locked', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': False, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 3, 'locked': 30, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': False, 'refunded': 4}, [0, 0, 0, 0, 0])]\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))['withdrawable-deposit'], 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":"baf2fa7cd92a36b4a30fe64be88de1aac7cf2a8d13b6a649e1bd8530f769fbd6","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = x[\"cleared\"]>=x[\"required\"]\n    v1 = max(0,x[\"cleared\"]-x[\"restricted\"])\n    v2 = x[\"waiver\"] or x[\"cleared\"]>=x[\"required\"]\n    v3 = x[\"auction\"]==x[\"deposit_auction\"]\n    v4 = x[\"currency\"]==x[\"deposit_currency\"]\n    v5 = max(0,x[\"cleared\"]-x[\"chargeback\"])\n    v6 = x[\"cleared\"]\n    v7 = x[\"owner\"]==x[\"beneficiary\"] and x[\"owner\"] in x[\"owners\"]\n    v8 = 0 if x[\"expired\"] else x[\"cleared\"]+(x[\"topup\"] if x[\"confirmed\"] else 0)\n    v9 = min(x[\"refunded\"],max(0,x[\"cleared\"]-x[\"locked\"]))\n    return {'cleared-admission':v0,'restricted-tranche':v1,'deposit-waiver-admission':v2,'auction-scope':v3,'denomination-scope':v4,'chargeback-recovery':v5,'withdrawable-deposit':v6,'beneficial-owner':v7,'topup-posting':v8,'refund-available-ceiling':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('normal contract', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': False, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 3, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': False, 'refunded': 4}, [14, 28, 42, 56, 70]), ('cleared sufficient', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 10, 'waiver': False, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 3, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': False, 'refunded': 4}, [14, 28, 42, 56, 70]), ('deposit waived', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': True, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 3, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': False, 'refunded': 4}, [14, 28, 42, 56, 70]), ('wrong auction', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': False, 'auction': 'A', 'deposit_auction': 'B', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 3, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': False, 'refunded': 4}, [14, 28, 42, 56, 70]), ('wrong denomination', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': False, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'ALT', 'chargeback': 3, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': False, 'refunded': 4}, [14, 28, 42, 56, 70]), ('expired deposit', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': False, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 3, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': True, 'topup': 8, 'confirmed': False, 'refunded': 4}, [14, 28, 42, 56, 70]), ('topup confirmed', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': False, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 3, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': True, 'refunded': 4}, [14, 28, 42, 56, 70]), ('chargeback consumes balance', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': False, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 30, 'locked': 6, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': False, 'refunded': 4}, [14, 28, 42, 56, 70]), ('all locked', {'cleared': 20, 'pending': 15, 'restricted': 7, 'required': 25, 'waiver': False, 'auction': 'A', 'deposit_auction': 'A', 'currency': 'TOK', 'deposit_currency': 'TOK', 'chargeback': 3, 'locked': 30, 'owners': ['a', 'b'], 'owner': 'a', 'beneficiary': 'a', 'expired': False, 'topup': 8, 'confirmed': False, 'refunded': 4}, [0, 0, 0, 0, 0])]\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))['withdrawable-deposit'], 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-deposit-admission-withdrawable-deposit","generated_at":"2026-09-29T14:46:11.268867+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":"Collateral locked to awards is withdrawn as free deposit.","sha256":"457bd6ccad6405789cb7d23586df42f47c844a5b5aed3ed26915701f7840b48b","title":"Deposit admission: withdrawable deposit · 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":43.211,"exit_code":1,"observations":[{"actual":13,"check":"normal contract","expected":14,"passed":false},{"actual":13,"check":"cleared sufficient","expected":14,"passed":false},{"actual":13,"check":"deposit waived","expected":14,"passed":false},{"actual":13,"check":"wrong auction","expected":14,"passed":false},{"actual":13,"check":"wrong denomination","expected":14,"passed":false},{"actual":13,"check":"expired deposit","expected":14,"passed":false},{"actual":13,"check":"topup confirmed","expected":14,"passed":false},{"actual":13,"check":"chargeback consumes balance","expected":14,"passed":false},{"actual":13,"check":"all locked","expected":0,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"normal contract\", \"actual\": 13, \"expected\": 14, \"passed\": false}, {\"check\": \"cleared sufficient\", \"actual\": 13, \"expected\": 14, \"passed\": false}, {\"check\": \"deposit waived\", \"actual\": 13, \"expected\": 14, \"passed\": false}, {\"check\": \"wrong auction\", \"actual\": 13, \"expected\": 14, \"passed\": false}, {\"check\": \"wrong denomination\", \"actual\": 13, \"expected\": 14, \"passed\": false}, {\"check\": \"expired deposit\", \"actual\": 13, \"expected\": 14, \"passed\": false}, {\"check\": \"topup confirmed\", \"actual\": 13, \"expected\": 14, \"passed\": false}, {\"check\": \"chargeback consumes balance\", \"actual\": 13, \"expected\": 14, \"passed\": false}, {\"check\": \"all locked\", \"actual\": 13, \"expected\": 0, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":44.216,"exit_code":1,"observations":[{"actual":20,"check":"normal contract","expected":14,"passed":false},{"actual":20,"check":"cleared sufficient","expected":14,"passed":false},{"actual":20,"check":"deposit waived","expected":14,"passed":false},{"actual":20,"check":"wrong auction","expected":14,"passed":false},{"actual":20,"check":"wrong denomination","expected":14,"passed":false},{"actual":20,"check":"expired deposit","expected":14,"passed":false},{"actual":20,"check":"topup confirmed","expected":14,"passed":false},{"actual":20,"check":"chargeback consumes balance","expected":14,"passed":false},{"actual":20,"check":"all locked","expected":0,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"normal contract\", \"actual\": 20, \"expected\": 14, \"passed\": false}, {\"check\": \"cleared sufficient\", \"actual\": 20, \"expected\": 14, \"passed\": false}, {\"check\": \"deposit waived\", \"actual\": 20, \"expected\": 14, \"passed\": false}, {\"check\": \"wrong auction\", \"actual\": 20, \"expected\": 14, \"passed\": false}, {\"check\": \"wrong denomination\", \"actual\": 20, \"expected\": 14, \"passed\": false}, {\"check\": \"expired deposit\", \"actual\": 20, \"expected\": 14, \"passed\": false}, {\"check\": \"topup confirmed\", \"actual\": 20, \"expected\": 14, \"passed\": false}, {\"check\": \"chargeback consumes balance\", \"actual\": 20, \"expected\": 14, \"passed\": false}, {\"check\": \"all locked\", \"actual\": 20, \"expected\": 0, \"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."}}