FA-56681 / Auction allocation rules / Open access
Proxy instructions: proxy collateral size · case 01
Proxy quantity ignores either remaining authorization or collateral.
ROOT CAUSE
Proxy quantity ignores either remaining authorization or collateral.
VERIFIED REPAIR
For proxy collateral size, apply the stipulated decision min(max(0,x["quantity"]-x["filled"]),x["credit"]//max(1,x["unit_hold"])).
Unsuccessful approach: The attempted repair uses max(0,x["quantity"]-x["filled"]); the explicit regression cases demonstrate that this still violates the stipulated auction rule.
Case contract
A bidder authorizes a bounded proxy to submit offers for a specific lot. A proxy instruction specifies a price ceiling, per-step increment, remaining quantity, owner consent and a one-use trigger token. Outputs are actionable submissions, not an optimal bidding strategy. Named decision proxy-collateral-size: For proxy collateral size, apply the stipulated decision min(max(0,x["quantity"]-x["filled"]),x["credit"]//max(1,x["unit_hold"])).
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 = min(x["ceiling"],x["current"]+x["increment"])
v1 = x["current"]<x["ceiling"] and x["increment"]>0
v2 = max(0,x["quantity"]-x["filled"])
v3 = x["enabled"] and not x["owner_present"]
v4 = [] if x["token"]==x["last_token"] else [x["lot"]]
v5 = x["lot"] in x["authorized_lots"]
v6 = x["enabled"] and not x["suspended"]
v7 = x["manual_price"] if x["manual_active"] else x["current"]
v8 = x["credit"]//max(1,x["unit_hold"])
v9 = [t for t in x["triggers"] if t in x["allowed"]] if x["auction_open"] else []
return {'bounded-next-offer':v0,'ceiling-exhaustion':v1,'remaining-proxy-size':v2,'manual-control-handoff':v3,'one-trigger-submission':v4,'lot-mandate':v5,'suspension-resume':v6,'manual-price-precedence':v7,'proxy-collateral-size':v8,'closed-auction-trigger':v9}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [('normal contract', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('ceiling reached', {'current': 16, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('no credit', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 0, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [0, 0, 0, 0, 0]), ('ceiling reached / no credit', {'current': 16, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 0, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [0, 0, 0, 0, 0]), ('step exceeds ceiling', {'current': 15, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('disabled instruction', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': False, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('owner controls bid', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': True, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('token replay', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't1', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('wrong lot', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'B', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('suspended', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': True, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('manual override absent', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': False, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('fully filled', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 5, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [0, 0, 0, 0, 0]), ('ceiling reached / fully filled', {'current': 16, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 5, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [0, 0, 0, 0, 0])]
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))['proxy-collateral-size'], 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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| normal contract | 12 | 3 | Failed |
| ceiling reached | 12 | 3 | Failed |
| no credit | 0 | 0 | Passed |
| ceiling reached / no credit | 0 | 0 | Passed |
| step exceeds ceiling | 12 | 3 | Failed |
| disabled instruction | 12 | 3 | Failed |
| owner controls bid | 12 | 3 | Failed |
| token replay | 12 | 3 | Failed |
| wrong lot | 12 | 3 | Failed |
| suspended | 12 | 3 | Failed |
| manual override absent | 12 | 3 | Failed |
| fully filled | 12 | 0 | Failed |
| ceiling reached / fully filled | 12 | 0 | Failed |
SHA-256 / 4ca364cdc5e0965ab215dd1280cfc8ea46c1262b96592fe611e33843d127d2c0
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(x):
v0 = min(x["ceiling"],x["current"]+x["increment"])
v1 = x["current"]<x["ceiling"] and x["increment"]>0
v2 = max(0,x["quantity"]-x["filled"])
v3 = x["enabled"] and not x["owner_present"]
v4 = [] if x["token"]==x["last_token"] else [x["lot"]]
v5 = x["lot"] in x["authorized_lots"]
v6 = x["enabled"] and not x["suspended"]
v7 = x["manual_price"] if x["manual_active"] else x["current"]
v8 = max(0,x["quantity"]-x["filled"])
v9 = [t for t in x["triggers"] if t in x["allowed"]] if x["auction_open"] else []
return {'bounded-next-offer':v0,'ceiling-exhaustion':v1,'remaining-proxy-size':v2,'manual-control-handoff':v3,'one-trigger-submission':v4,'lot-mandate':v5,'suspension-resume':v6,'manual-price-precedence':v7,'proxy-collateral-size':v8,'closed-auction-trigger':v9}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [('normal contract', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('ceiling reached', {'current': 16, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('no credit', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 0, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [0, 0, 0, 0, 0]), ('ceiling reached / no credit', {'current': 16, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 0, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [0, 0, 0, 0, 0]), ('step exceeds ceiling', {'current': 15, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('disabled instruction', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': False, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('owner controls bid', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': True, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('token replay', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't1', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('wrong lot', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'B', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('suspended', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': True, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('manual override absent', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': False, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('fully filled', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 5, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [0, 0, 0, 0, 0]), ('ceiling reached / fully filled', {'current': 16, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 5, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [0, 0, 0, 0, 0])]
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))['proxy-collateral-size'], 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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| normal contract | 3 | 3 | Passed |
| ceiling reached | 3 | 3 | Passed |
| no credit | 3 | 0 | Failed |
| ceiling reached / no credit | 3 | 0 | Failed |
| step exceeds ceiling | 3 | 3 | Passed |
| disabled instruction | 3 | 3 | Passed |
| owner controls bid | 3 | 3 | Passed |
| token replay | 3 | 3 | Passed |
| wrong lot | 3 | 3 | Passed |
| suspended | 3 | 3 | Passed |
| manual override absent | 3 | 3 | Passed |
| fully filled | 0 | 0 | Passed |
| ceiling reached / fully filled | 0 | 0 | Passed |
SHA-256 / db59eddf64b6cb8c7a2cc9729a7c36e7cbea186ddb5767f79998d6d717d62c45
3 / The verified repair
Exit 0"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(x):
v0 = min(x["ceiling"],x["current"]+x["increment"])
v1 = x["current"]<x["ceiling"] and x["increment"]>0
v2 = max(0,x["quantity"]-x["filled"])
v3 = x["enabled"] and not x["owner_present"]
v4 = [] if x["token"]==x["last_token"] else [x["lot"]]
v5 = x["lot"] in x["authorized_lots"]
v6 = x["enabled"] and not x["suspended"]
v7 = x["manual_price"] if x["manual_active"] else x["current"]
v8 = min(max(0,x["quantity"]-x["filled"]),x["credit"]//max(1,x["unit_hold"]))
v9 = [t for t in x["triggers"] if t in x["allowed"]] if x["auction_open"] else []
return {'bounded-next-offer':v0,'ceiling-exhaustion':v1,'remaining-proxy-size':v2,'manual-control-handoff':v3,'one-trigger-submission':v4,'lot-mandate':v5,'suspension-resume':v6,'manual-price-precedence':v7,'proxy-collateral-size':v8,'closed-auction-trigger':v9}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = [('normal contract', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('ceiling reached', {'current': 16, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('no credit', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 0, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [0, 0, 0, 0, 0]), ('ceiling reached / no credit', {'current': 16, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 0, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [0, 0, 0, 0, 0]), ('step exceeds ceiling', {'current': 15, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('disabled instruction', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': False, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('owner controls bid', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': True, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('token replay', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't1', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('wrong lot', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'B', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('suspended', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': True, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('manual override absent', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 2, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': False, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [3, 6, 9, 12, 12]), ('fully filled', {'current': 10, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 5, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [0, 0, 0, 0, 0]), ('ceiling reached / fully filled', {'current': 16, 'ceiling': 16, 'increment': 3, 'quantity': 5, 'filled': 5, 'enabled': True, 'owner_present': False, 'token': 't2', 'last_token': 't1', 'lot': 'A', 'authorized_lots': ['A'], 'suspended': False, 'manual_price': 12, 'manual_active': True, 'credit': 100, 'unit_hold': 8, 'triggers': ['outbid', 'outbid', 'price'], 'allowed': ['outbid'], 'auction_open': True}, [0, 0, 0, 0, 0])]
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))['proxy-collateral-size'], 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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| normal contract | 3 | 3 | Passed |
| ceiling reached | 3 | 3 | Passed |
| no credit | 0 | 0 | Passed |
| ceiling reached / no credit | 0 | 0 | Passed |
| step exceeds ceiling | 3 | 3 | Passed |
| disabled instruction | 3 | 3 | Passed |
| owner controls bid | 3 | 3 | Passed |
| token replay | 3 | 3 | Passed |
| wrong lot | 3 | 3 | Passed |
| suspended | 3 | 3 | Passed |
| manual override absent | 3 | 3 | Passed |
| fully filled | 0 | 0 | Passed |
| ceiling reached / fully filled | 0 | 0 | Passed |
SHA-256 / e9c292f7a3399b4b2ff5e2a0248e882badceaad8e212b5e54b77e25f4bd952c0
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:09.500045+00:00.
Case digest / f2afb59a2f6a0a8a34725836776c5bf2fab983aa194e9d633929a996f9346ce3