{"abstract":"Amendment changes who owes obligations already reserved by the order.","category":"Auction allocation rules","checks":12,"contract":"A single auction order amendment tracks filled units, original queue stamp and an incoming replacement. Price change or size increase loses queue priority; reducing total size cannot erase existing fills. A cancel acknowledgment terminates remaining quantity. Integer stamps and quantities are nonnegative. Named decision owner-immutability: Require the same bidder identity for replacement.","contract_signature":"x","evaluation_group":"s3-auction-amendment-priority","failed_approach":"The attempted repair uses x[\"old_owner\"]==x[\"new_owner\"] or x[\"held\"]==0; the explicit regression cases demonstrate that this still violates the stipulated auction rule.","family":"s3-auction-allocation-rules-amendment-priority-owner-immutability","id":"FA-56426","implementations":{"attempt":{"sha256":"8fd3d3a91fdfc4d57c139ee1c7b4e1822c150359ee2bea518dafc34b97f2a832","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = x[\"now\"] if x[\"new_total\"]>x[\"total\"] else x[\"stamp\"]\n    v1 = x[\"now\"] if x[\"new_price\"]!=x[\"old_price\"] else x[\"stamp\"]\n    v2 = max(x[\"filled\"],x[\"new_total\"])\n    v3 = max(0,x[\"new_total\"]-x[\"filled\"])\n    v4 = 0 if x[\"cancel\"] and x[\"ack\"] else max(0,x[\"total\"]-x[\"filled\"])\n    v5 = x[\"expected\"]==x[\"revision\"]\n    v6 = x[\"old_lot\"]==x[\"new_lot\"]\n    v7 = x[\"old_owner\"]==x[\"new_owner\"] or x[\"held\"]==0\n    v8 = not x[\"frozen\"] or (x[\"new_price\"]==x[\"old_price\"] and x[\"new_total\"]<=x[\"total\"])\n    v9 = x[\"revision\"] if x[\"request_id\"]==x[\"last_id\"] else x[\"revision\"]+1\n    return {'increase-priority':v0,'price-priority':v1,'filled-floor':v2,'remaining-recalculation':v3,'cancel-ack-gate':v4,'revision-compare':v5,'lot-immutability':v6,'owner-immutability':v7,'freeze-restriction':v8,'request-replay':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('wrong immutable fields', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'B', 'old_owner': 'a', 'new_owner': 'b', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [False, False, False, False, False]), ('lower price / wrong immutable fields', {'old_price': 10, 'new_price': 8, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'B', 'old_owner': 'a', 'new_owner': 'b', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [False, False, False, False, False]), ('no collateral held / wrong immutable fields', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'B', 'old_owner': 'a', 'new_owner': 'b', 'frozen': False, 'held': 0, 'request_id': 'r2', 'last_id': 'r1'}, [False, False, False, False, False]), ('normal contract', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('lower price', {'old_price': 10, 'new_price': 8, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('unrelated acknowledgment', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': True, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('future revision', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 3, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('no collateral held', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 0, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('price replacement', {'old_price': 10, 'new_price': 12, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('size increase', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 12, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('below executed size', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 2, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('acknowledged cancel', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': True, 'ack': True, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True])]\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))['owner-immutability'], 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":"5316c4478e071634526e25916911c053a13efc571410763e14c1a012a28cbfba","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = x[\"now\"] if x[\"new_total\"]>x[\"total\"] else x[\"stamp\"]\n    v1 = x[\"now\"] if x[\"new_price\"]!=x[\"old_price\"] else x[\"stamp\"]\n    v2 = max(x[\"filled\"],x[\"new_total\"])\n    v3 = max(0,x[\"new_total\"]-x[\"filled\"])\n    v4 = 0 if x[\"cancel\"] and x[\"ack\"] else max(0,x[\"total\"]-x[\"filled\"])\n    v5 = x[\"expected\"]==x[\"revision\"]\n    v6 = x[\"old_lot\"]==x[\"new_lot\"]\n    v7 = True\n    v8 = not x[\"frozen\"] or (x[\"new_price\"]==x[\"old_price\"] and x[\"new_total\"]<=x[\"total\"])\n    v9 = x[\"revision\"] if x[\"request_id\"]==x[\"last_id\"] else x[\"revision\"]+1\n    return {'increase-priority':v0,'price-priority':v1,'filled-floor':v2,'remaining-recalculation':v3,'cancel-ack-gate':v4,'revision-compare':v5,'lot-immutability':v6,'owner-immutability':v7,'freeze-restriction':v8,'request-replay':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('wrong immutable fields', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'B', 'old_owner': 'a', 'new_owner': 'b', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [False, False, False, False, False]), ('lower price / wrong immutable fields', {'old_price': 10, 'new_price': 8, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'B', 'old_owner': 'a', 'new_owner': 'b', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [False, False, False, False, False]), ('no collateral held / wrong immutable fields', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'B', 'old_owner': 'a', 'new_owner': 'b', 'frozen': False, 'held': 0, 'request_id': 'r2', 'last_id': 'r1'}, [False, False, False, False, False]), ('normal contract', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('lower price', {'old_price': 10, 'new_price': 8, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('unrelated acknowledgment', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': True, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('future revision', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 3, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('no collateral held', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 0, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('price replacement', {'old_price': 10, 'new_price': 12, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('size increase', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 12, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('below executed size', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 2, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': False, 'ack': False, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True]), ('acknowledged cancel', {'old_price': 10, 'new_price': 10, 'total': 8, 'new_total': 6, 'filled': 3, 'stamp': 1, 'now': 8, 'cancel': True, 'ack': True, 'revision': 2, 'expected': 2, 'old_lot': 'A', 'new_lot': 'A', 'old_owner': 'a', 'new_owner': 'a', 'frozen': False, 'held': 8, 'request_id': 'r2', 'last_id': 'r1'}, [True, True, True, True, True])]\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))['owner-immutability'], 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-amendment-priority-owner-immutability","generated_at":"2026-09-29T14:46:06.964312+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":"Amendment changes who owes obligations already reserved by the order.","sha256":"e31c351dbd12de32003460b7a42ccb5980fd80eb706db35ec3e7206cd5263466","title":"Amendment priority: owner immutability · 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":45.578,"exit_code":1,"observations":[{"actual":false,"check":"wrong immutable fields","expected":false,"passed":true},{"actual":false,"check":"lower price / wrong immutable fields","expected":false,"passed":true},{"actual":true,"check":"no collateral held / wrong immutable fields","expected":false,"passed":false},{"actual":true,"check":"normal contract","expected":true,"passed":true},{"actual":true,"check":"lower price","expected":true,"passed":true},{"actual":true,"check":"unrelated acknowledgment","expected":true,"passed":true},{"actual":true,"check":"future revision","expected":true,"passed":true},{"actual":true,"check":"no collateral held","expected":true,"passed":true},{"actual":true,"check":"price replacement","expected":true,"passed":true},{"actual":true,"check":"size increase","expected":true,"passed":true},{"actual":true,"check":"below executed size","expected":true,"passed":true},{"actual":true,"check":"acknowledged cancel","expected":true,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"wrong immutable fields\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"lower price / wrong immutable fields\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"no collateral held / wrong immutable fields\", \"actual\": true, \"expected\": false, \"passed\": false}, {\"check\": \"normal contract\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"lower price\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"unrelated acknowledgment\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"future revision\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"no collateral held\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"price replacement\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"size increase\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"below executed size\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"acknowledged cancel\", \"actual\": true, \"expected\": true, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.323,"exit_code":1,"observations":[{"actual":true,"check":"wrong immutable fields","expected":false,"passed":false},{"actual":true,"check":"lower price / wrong immutable fields","expected":false,"passed":false},{"actual":true,"check":"no collateral held / wrong immutable fields","expected":false,"passed":false},{"actual":true,"check":"normal contract","expected":true,"passed":true},{"actual":true,"check":"lower price","expected":true,"passed":true},{"actual":true,"check":"unrelated acknowledgment","expected":true,"passed":true},{"actual":true,"check":"future revision","expected":true,"passed":true},{"actual":true,"check":"no collateral held","expected":true,"passed":true},{"actual":true,"check":"price replacement","expected":true,"passed":true},{"actual":true,"check":"size increase","expected":true,"passed":true},{"actual":true,"check":"below executed size","expected":true,"passed":true},{"actual":true,"check":"acknowledged cancel","expected":true,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"wrong immutable fields\", \"actual\": true, \"expected\": false, \"passed\": false}, {\"check\": \"lower price / wrong immutable fields\", \"actual\": true, \"expected\": false, \"passed\": false}, {\"check\": \"no collateral held / wrong immutable fields\", \"actual\": true, \"expected\": false, \"passed\": false}, {\"check\": \"normal contract\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"lower price\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"unrelated acknowledgment\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"future revision\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"no collateral held\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"price replacement\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"size increase\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"below executed size\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"acknowledged cancel\", \"actual\": true, \"expected\": true, \"passed\": true}], \"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."}}