FAILURE MAP
← Case archive

FA-56666 / Auction allocation rules / Open access

Proxy instructions: lot mandate · case 01

Proxy acts on a lot outside its instruction mandate.

Verified by executionVariant 1 · 10 checks per implementationDownload source bundle ↓JSON ↗

ROOT CAUSE

Proxy acts on a lot outside its instruction mandate.

VERIFIED REPAIR

For lot mandate, apply the stipulated decision x["lot"] in x["authorized_lots"].

Unsuccessful approach: The attempted repair uses bool(x["authorized_lots"]); 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 lot-mandate: For lot mandate, apply the stipulated decision x["lot"] in x["authorized_lots"].

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 = True
    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 = [('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}, [False, False, False, False, False]), ('ceiling reached / wrong lot', {'current': 16, '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}, [False, False, False, False, False]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True])]
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))['lot-mandate'], 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 fixtureActualExpectedOutcome
wrong lotTrueFalseFailed
ceiling reached / wrong lotTrueFalseFailed
normal contractTrueTruePassed
ceiling reachedTrueTruePassed
step exceeds ceilingTrueTruePassed
disabled instructionTrueTruePassed
owner controls bidTrueTruePassed
token replayTrueTruePassed
suspendedTrueTruePassed
manual override absentTrueTruePassed

SHA-256 / 3573b21bf8f38115d44a400f3970df20e820bf84ac408c5de46531d41282850d

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 = bool(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 = [('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}, [False, False, False, False, False]), ('ceiling reached / wrong lot', {'current': 16, '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}, [False, False, False, False, False]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True])]
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))['lot-mandate'], 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 fixtureActualExpectedOutcome
wrong lotTrueFalseFailed
ceiling reached / wrong lotTrueFalseFailed
normal contractTrueTruePassed
ceiling reachedTrueTruePassed
step exceeds ceilingTrueTruePassed
disabled instructionTrueTruePassed
owner controls bidTrueTruePassed
token replayTrueTruePassed
suspendedTrueTruePassed
manual override absentTrueTruePassed

SHA-256 / 055716210e8742e8280956c56e164bda7ece58361a2aa50bb018b9eacb77e1b7

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 = [('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}, [False, False, False, False, False]), ('ceiling reached / wrong lot', {'current': 16, '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}, [False, False, False, False, False]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True]), ('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}, [True, True, True, True, True])]
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))['lot-mandate'], 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 fixtureActualExpectedOutcome
wrong lotFalseFalsePassed
ceiling reached / wrong lotFalseFalsePassed
normal contractTrueTruePassed
ceiling reachedTrueTruePassed
step exceeds ceilingTrueTruePassed
disabled instructionTrueTruePassed
owner controls bidTrueTruePassed
token replayTrueTruePassed
suspendedTrueTruePassed
manual override absentTrueTruePassed

SHA-256 / c0bae479852d22d5a8f62f8bb4e2114d55717a1f137f5a75426c78c3c70a050a

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.258840+00:00.

Case digest / 949af34b9794471fa1139b6103bc623752e96223019c06196408e9103529540f