{"abstract":"Notice at the contractual cutoff is wrongly penalized.","category":"Auction allocation rules","checks":10,"contract":"A toy auction withdrawal policy distinguishes voluntary withdrawal before award, excused withdrawal, replacement proceeds, paid deposits and caps on liquidated liability. Nonnegative integer credits are used; no legal or financial interpretation is intended. Named decision notice-penalty: For notice penalty, apply the stipulated decision 0 if x[\"notice\"]<=x[\"cutoff\"] else x[\"deposit\"].","evaluation_group":"s3-auction-withdrawal-liability","failed_approach":"The attempted repair uses 0 if x[\"notice\"]>=x[\"cutoff\"] else x[\"deposit\"]; the explicit regression cases demonstrate that this still violates the stipulated auction rule.","family":"s3-auction-allocation-rules-withdrawal-liability-notice-penalty","id":"FA-56756","implementations":{"attempt":{"sha256":"b5d4ffaeec08fde041716c85a3c94cc9bca3aefeddc75625b2ad4afab25caba6","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = max(0,x[\"bid\"]-x[\"resale\"])\n    v1 = 0 if x[\"excused\"] else x[\"fee\"]\n    v2 = max(0,x[\"bid\"]-x[\"resale\"]) if x[\"awarded\"] else 0\n    v3 = 0 if x[\"notice\"]>=x[\"cutoff\"] else x[\"deposit\"]\n    v4 = max(0,x[\"bid\"]-x[\"resale\"]-x[\"deposit\"])\n    v5 = max(0,min(x[\"cap\"],max(0,x[\"bid\"]-x[\"resale\"])+x[\"fee\"])-x[\"already_paid\"])\n    v6 = x[\"bond\"] if x[\"forfeit\"] and not x[\"released\"] else 0\n    v7 = max(0,x[\"awarded_units\"]-x[\"returned_units\"])\n    v8 = min(x[\"withdrawn_units\"],max(0,x[\"awarded_units\"]-x[\"returned_units\"]))\n    v9 = [b for b in dict.fromkeys(b for op,b in x[\"events\"]) if [op for op,c in x[\"events\"] if c==b][-1]==\"withdraw\"]\n    return {'resale-shortfall':v0,'excused-fee-waiver':v1,'award-liability-gate':v2,'notice-penalty':v3,'deposit-offset':v4,'paid-liability-credit':v5,'released-bond-exclusion':v6,'unreturned-award-units':v7,'withdrawal-unit-cap':v8,'reinstatement-after-withdrawal':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('exact notice cutoff', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 4, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [0, 0, 0, 0, 0]), ('notice order retained / exact notice cutoff', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 4, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['b', 'a', 'b'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [0, 0, 0, 0, 0]), ('normal contract', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('notice order retained', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['b', 'a', 'b'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('resale surplus', {'bid': 30, 'resale': 40, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('excused default', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': True, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('before award', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': False, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('timely notice', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 3, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [0, 0, 0, 0, 0]), ('liability already paid', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 40, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('bond released', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': True, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', '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))['notice-penalty'], 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":"521c34930c2af7543fd1357f0b3bfdb36fe67dc509993f02eb8f1757752b2c3b","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = max(0,x[\"bid\"]-x[\"resale\"])\n    v1 = 0 if x[\"excused\"] else x[\"fee\"]\n    v2 = max(0,x[\"bid\"]-x[\"resale\"]) if x[\"awarded\"] else 0\n    v3 = 0 if x[\"notice\"]<x[\"cutoff\"] else x[\"deposit\"]\n    v4 = max(0,x[\"bid\"]-x[\"resale\"]-x[\"deposit\"])\n    v5 = max(0,min(x[\"cap\"],max(0,x[\"bid\"]-x[\"resale\"])+x[\"fee\"])-x[\"already_paid\"])\n    v6 = x[\"bond\"] if x[\"forfeit\"] and not x[\"released\"] else 0\n    v7 = max(0,x[\"awarded_units\"]-x[\"returned_units\"])\n    v8 = min(x[\"withdrawn_units\"],max(0,x[\"awarded_units\"]-x[\"returned_units\"]))\n    v9 = [b for b in dict.fromkeys(b for op,b in x[\"events\"]) if [op for op,c in x[\"events\"] if c==b][-1]==\"withdraw\"]\n    return {'resale-shortfall':v0,'excused-fee-waiver':v1,'award-liability-gate':v2,'notice-penalty':v3,'deposit-offset':v4,'paid-liability-credit':v5,'released-bond-exclusion':v6,'unreturned-award-units':v7,'withdrawal-unit-cap':v8,'reinstatement-after-withdrawal':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('exact notice cutoff', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 4, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [0, 0, 0, 0, 0]), ('notice order retained / exact notice cutoff', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 4, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['b', 'a', 'b'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [0, 0, 0, 0, 0]), ('normal contract', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('notice order retained', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['b', 'a', 'b'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('resale surplus', {'bid': 30, 'resale': 40, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('excused default', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': True, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('before award', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': False, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('timely notice', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 3, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [0, 0, 0, 0, 0]), ('liability already paid', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 40, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('bond released', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': True, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', '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))['notice-penalty'], 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":"edd915fc08faae1602efa0a4cc8e17d533d4f0b8ae6904b78f93360561274601","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = max(0,x[\"bid\"]-x[\"resale\"])\n    v1 = 0 if x[\"excused\"] else x[\"fee\"]\n    v2 = max(0,x[\"bid\"]-x[\"resale\"]) if x[\"awarded\"] else 0\n    v3 = 0 if x[\"notice\"]<=x[\"cutoff\"] else x[\"deposit\"]\n    v4 = max(0,x[\"bid\"]-x[\"resale\"]-x[\"deposit\"])\n    v5 = max(0,min(x[\"cap\"],max(0,x[\"bid\"]-x[\"resale\"])+x[\"fee\"])-x[\"already_paid\"])\n    v6 = x[\"bond\"] if x[\"forfeit\"] and not x[\"released\"] else 0\n    v7 = max(0,x[\"awarded_units\"]-x[\"returned_units\"])\n    v8 = min(x[\"withdrawn_units\"],max(0,x[\"awarded_units\"]-x[\"returned_units\"]))\n    v9 = [b for b in dict.fromkeys(b for op,b in x[\"events\"]) if [op for op,c in x[\"events\"] if c==b][-1]==\"withdraw\"]\n    return {'resale-shortfall':v0,'excused-fee-waiver':v1,'award-liability-gate':v2,'notice-penalty':v3,'deposit-offset':v4,'paid-liability-credit':v5,'released-bond-exclusion':v6,'unreturned-award-units':v7,'withdrawal-unit-cap':v8,'reinstatement-after-withdrawal':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('exact notice cutoff', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 4, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [0, 0, 0, 0, 0]), ('notice order retained / exact notice cutoff', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 4, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['b', 'a', 'b'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [0, 0, 0, 0, 0]), ('normal contract', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('notice order retained', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['b', 'a', 'b'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('resale surplus', {'bid': 30, 'resale': 40, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('excused default', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': True, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('before award', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': False, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('timely notice', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 3, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [0, 0, 0, 0, 0]), ('liability already paid', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 40, 'cap': 20, 'released': False, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', 'b']]}, [8, 16, 24, 32, 40]), ('bond released', {'bid': 30, 'resale': 18, 'deposit': 8, 'fee': 3, 'excused': False, 'awarded': True, 'notice': 5, 'cutoff': 4, 'already_paid': 2, 'cap': 20, 'released': True, 'withdrawn_units': 2, 'awarded_units': 5, 'returned_units': 1, 'bond': 6, 'forfeit': True, 'withdrawals': ['a', 'b', 'a'], 'events': [['withdraw', 'a'], ['reinstate', 'a'], ['withdraw', '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))['notice-penalty'], 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-withdrawal-liability-notice-penalty","generated_at":"2026-09-29T14:46:10.226335+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":"For notice penalty, apply the stipulated decision 0 if x[\"notice\"]<=x[\"cutoff\"] else x[\"deposit\"].","root_cause":"Notice at the contractual cutoff is wrongly penalized.","sha256":"70dcbb5061f9376c2add50ac43765f407078b977addb6b96829e490efc767b3e","title":"Withdrawal liability: notice penalty · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":41.168,"exit_code":1,"observations":[{"actual":0,"check":"exact notice cutoff","expected":0,"passed":true},{"actual":0,"check":"notice order retained / exact notice cutoff","expected":0,"passed":true},{"actual":0,"check":"normal contract","expected":8,"passed":false},{"actual":0,"check":"notice order retained","expected":8,"passed":false},{"actual":0,"check":"resale surplus","expected":8,"passed":false},{"actual":0,"check":"excused default","expected":8,"passed":false},{"actual":0,"check":"before award","expected":8,"passed":false},{"actual":8,"check":"timely notice","expected":0,"passed":false},{"actual":0,"check":"liability already paid","expected":8,"passed":false},{"actual":0,"check":"bond released","expected":8,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"exact notice cutoff\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"notice order retained / exact notice cutoff\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"normal contract\", \"actual\": 0, \"expected\": 8, \"passed\": false}, {\"check\": \"notice order retained\", \"actual\": 0, \"expected\": 8, \"passed\": false}, {\"check\": \"resale surplus\", \"actual\": 0, \"expected\": 8, \"passed\": false}, {\"check\": \"excused default\", \"actual\": 0, \"expected\": 8, \"passed\": false}, {\"check\": \"before award\", \"actual\": 0, \"expected\": 8, \"passed\": false}, {\"check\": \"timely notice\", \"actual\": 8, \"expected\": 0, \"passed\": false}, {\"check\": \"liability already paid\", \"actual\": 0, \"expected\": 8, \"passed\": false}, {\"check\": \"bond released\", \"actual\": 0, \"expected\": 8, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.47,"exit_code":1,"observations":[{"actual":8,"check":"exact notice cutoff","expected":0,"passed":false},{"actual":8,"check":"notice order retained / exact notice cutoff","expected":0,"passed":false},{"actual":8,"check":"normal contract","expected":8,"passed":true},{"actual":8,"check":"notice order retained","expected":8,"passed":true},{"actual":8,"check":"resale surplus","expected":8,"passed":true},{"actual":8,"check":"excused default","expected":8,"passed":true},{"actual":8,"check":"before award","expected":8,"passed":true},{"actual":0,"check":"timely notice","expected":0,"passed":true},{"actual":8,"check":"liability already paid","expected":8,"passed":true},{"actual":8,"check":"bond released","expected":8,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"exact notice cutoff\", \"actual\": 8, \"expected\": 0, \"passed\": false}, {\"check\": \"notice order retained / exact notice cutoff\", \"actual\": 8, \"expected\": 0, \"passed\": false}, {\"check\": \"normal contract\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"notice order retained\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"resale surplus\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"excused default\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"before award\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"timely notice\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"liability already paid\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"bond released\", \"actual\": 8, \"expected\": 8, \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":39.647,"exit_code":0,"observations":[{"actual":0,"check":"exact notice cutoff","expected":0,"passed":true},{"actual":0,"check":"notice order retained / exact notice cutoff","expected":0,"passed":true},{"actual":8,"check":"normal contract","expected":8,"passed":true},{"actual":8,"check":"notice order retained","expected":8,"passed":true},{"actual":8,"check":"resale surplus","expected":8,"passed":true},{"actual":8,"check":"excused default","expected":8,"passed":true},{"actual":8,"check":"before award","expected":8,"passed":true},{"actual":0,"check":"timely notice","expected":0,"passed":true},{"actual":8,"check":"liability already paid","expected":8,"passed":true},{"actual":8,"check":"bond released","expected":8,"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"exact notice cutoff\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"notice order retained / exact notice cutoff\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"normal contract\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"notice order retained\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"resale surplus\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"excused default\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"before award\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"timely notice\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"liability already paid\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"bond released\", \"actual\": 8, \"expected\": 8, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}