{"abstract":"Standing and new demand double-credit one lot.","category":"Auction allocation rules","checks":10,"contract":"A stipulated ascending multiround auction records eligibility in activity points. Submitted lots contribute fixed points, withdrawn lots contribute none, a waiver preserves previous eligibility once, and frozen eligibility cannot grow. These rules are pedagogical and independent of real spectrum-auction regulations. Named decision standing-credit-dedup: Credit the union of active and standing lot identities.","contract_signature":"x","evaluation_group":"s3-auction-activity-eligibility","failed_approach":"The attempted repair uses sum(x[\"points\"][i] for i in set(x[\"active\"])&set(x[\"standing\"])); the explicit regression cases demonstrate that this still violates the stipulated auction rule.","family":"s3-auction-allocation-rules-activity-eligibility-standing-credit-dedup","id":"FA-56546","implementations":{"attempt":{"sha256":"a334bbf827b330b86e827c5c72b7c4e637952c3e3b6b434ba16345b939d9ea34","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = sum(x[\"points\"][i] for i in set(x[\"active\"])-set(x[\"withdrawn\"]))\n    v1 = sum(x[\"points\"][i] for i in set(x[\"active\"])&set(x[\"standing\"]))\n    v2 = x[\"use_waiver\"] and x[\"waivers\"]>0\n    v3 = x[\"waivers\"]-int(x[\"use_waiver\"] and x[\"waivers\"]>0)\n    v4 = min(x[\"previous\"],sum(x[\"points\"][i] for i in x[\"active\"]))\n    v5 = x[\"previous\"] if x[\"use_waiver\"] and x[\"waivers\"]>0 else min(x[\"previous\"],x[\"required\"])\n    v6 = x[\"history\"] if x[\"round\"]<=x[\"last_round\"] else x[\"history\"]+[x[\"previous\"]]\n    v7 = min(x[\"previous\"],x[\"stage_limits\"][min(x[\"stage\"],len(x[\"stage_limits\"])-1)])\n    v8 = min(x[\"qualification\"],x[\"previous\"]+x[\"transferred\"])\n    v9 = 0 if x[\"revoked\"] else min(x[\"previous\"],x[\"qualification\"])\n    return {'withdrawn-activity':v0,'standing-credit-dedup':v1,'waiver-availability':v2,'waiver-consumption':v3,'eligibility-monotonicity':v4,'waiver-preservation':v5,'round-advance':v6,'stage-ceiling':v7,'transfer-cap':v8,'revocation':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('standing overlaps activity', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['A'], 'previous': 8, 'waivers': 2, 'use_waiver': False, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [5, 10, 15, 20, 25]), ('waiver round / standing overlaps activity', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['A'], 'previous': 8, 'waivers': 2, 'use_waiver': True, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [5, 10, 15, 20, 25]), ('normal contract', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 8, 'waivers': 2, 'use_waiver': False, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [6, 12, 18, 24, 30]), ('waiver round', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 8, 'waivers': 2, 'use_waiver': True, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [6, 12, 18, 24, 30]), ('no waiver left', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 8, 'waivers': 0, 'use_waiver': True, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [6, 12, 18, 24, 30]), ('all withdrawn', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['A', 'B'], 'standing': ['C'], 'previous': 8, 'waivers': 2, 'use_waiver': False, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [6, 12, 18, 24, 30]), ('replayed round', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 8, 'waivers': 2, 'use_waiver': False, 'required': 5, 'round': 1, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [6, 12, 18, 24, 30]), ('stage entry', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 8, 'waivers': 2, 'use_waiver': False, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 0, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [6, 12, 18, 24, 30]), ('small qualification', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 8, 'waivers': 2, 'use_waiver': False, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 2, 'transferred': 2, 'revoked': False}, [6, 12, 18, 24, 30]), ('qualification revoked', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 8, 'waivers': 2, 'use_waiver': False, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': True}, [6, 12, 18, 24, 30])]\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))['standing-credit-dedup'], 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":"720a849c1d982ce5ada1c91e07ac6a5c4046df9823bd8476a1da6df65ad788ca","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = sum(x[\"points\"][i] for i in set(x[\"active\"])-set(x[\"withdrawn\"]))\n    v1 = sum(x[\"points\"][i] for i in x[\"active\"]+x[\"standing\"])\n    v2 = x[\"use_waiver\"] and x[\"waivers\"]>0\n    v3 = x[\"waivers\"]-int(x[\"use_waiver\"] and x[\"waivers\"]>0)\n    v4 = min(x[\"previous\"],sum(x[\"points\"][i] for i in x[\"active\"]))\n    v5 = x[\"previous\"] if x[\"use_waiver\"] and x[\"waivers\"]>0 else min(x[\"previous\"],x[\"required\"])\n    v6 = x[\"history\"] if x[\"round\"]<=x[\"last_round\"] else x[\"history\"]+[x[\"previous\"]]\n    v7 = min(x[\"previous\"],x[\"stage_limits\"][min(x[\"stage\"],len(x[\"stage_limits\"])-1)])\n    v8 = min(x[\"qualification\"],x[\"previous\"]+x[\"transferred\"])\n    v9 = 0 if x[\"revoked\"] else min(x[\"previous\"],x[\"qualification\"])\n    return {'withdrawn-activity':v0,'standing-credit-dedup':v1,'waiver-availability':v2,'waiver-consumption':v3,'eligibility-monotonicity':v4,'waiver-preservation':v5,'round-advance':v6,'stage-ceiling':v7,'transfer-cap':v8,'revocation':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('standing overlaps activity', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['A'], 'previous': 8, 'waivers': 2, 'use_waiver': False, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [5, 10, 15, 20, 25]), ('waiver round / standing overlaps activity', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['A'], 'previous': 8, 'waivers': 2, 'use_waiver': True, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [5, 10, 15, 20, 25]), ('normal contract', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 8, 'waivers': 2, 'use_waiver': False, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [6, 12, 18, 24, 30]), ('waiver round', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 8, 'waivers': 2, 'use_waiver': True, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [6, 12, 18, 24, 30]), ('no waiver left', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 8, 'waivers': 0, 'use_waiver': True, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [6, 12, 18, 24, 30]), ('all withdrawn', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['A', 'B'], 'standing': ['C'], 'previous': 8, 'waivers': 2, 'use_waiver': False, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [6, 12, 18, 24, 30]), ('replayed round', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 8, 'waivers': 2, 'use_waiver': False, 'required': 5, 'round': 1, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [6, 12, 18, 24, 30]), ('stage entry', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 8, 'waivers': 2, 'use_waiver': False, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 0, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': False}, [6, 12, 18, 24, 30]), ('small qualification', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 8, 'waivers': 2, 'use_waiver': False, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 2, 'transferred': 2, 'revoked': False}, [6, 12, 18, 24, 30]), ('qualification revoked', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 8, 'waivers': 2, 'use_waiver': False, 'required': 5, 'round': 2, 'last_round': 1, 'history': [8, 6, 5], 'stage': 2, 'stage_limits': [10, 7, 4], 'qualification': 9, 'transferred': 2, 'revoked': True}, [6, 12, 18, 24, 30])]\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))['standing-credit-dedup'], 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-activity-eligibility-standing-credit-dedup","generated_at":"2026-09-29T14:46:08.203170+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":"Standing and new demand double-credit one lot.","sha256":"c991a01c1932d07d14f7f907a98998243de8c34ba4af8a95b0ae502038d6f6cb","title":"Activity eligibility: standing credit dedup · 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":42.363,"exit_code":1,"observations":[{"actual":3,"check":"standing overlaps activity","expected":5,"passed":false},{"actual":3,"check":"waiver round / standing overlaps activity","expected":5,"passed":false},{"actual":0,"check":"normal contract","expected":6,"passed":false},{"actual":0,"check":"waiver round","expected":6,"passed":false},{"actual":0,"check":"no waiver left","expected":6,"passed":false},{"actual":0,"check":"all withdrawn","expected":6,"passed":false},{"actual":0,"check":"replayed round","expected":6,"passed":false},{"actual":0,"check":"stage entry","expected":6,"passed":false},{"actual":0,"check":"small qualification","expected":6,"passed":false},{"actual":0,"check":"qualification revoked","expected":6,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"standing overlaps activity\", \"actual\": 3, \"expected\": 5, \"passed\": false}, {\"check\": \"waiver round / standing overlaps activity\", \"actual\": 3, \"expected\": 5, \"passed\": false}, {\"check\": \"normal contract\", \"actual\": 0, \"expected\": 6, \"passed\": false}, {\"check\": \"waiver round\", \"actual\": 0, \"expected\": 6, \"passed\": false}, {\"check\": \"no waiver left\", \"actual\": 0, \"expected\": 6, \"passed\": false}, {\"check\": \"all withdrawn\", \"actual\": 0, \"expected\": 6, \"passed\": false}, {\"check\": \"replayed round\", \"actual\": 0, \"expected\": 6, \"passed\": false}, {\"check\": \"stage entry\", \"actual\": 0, \"expected\": 6, \"passed\": false}, {\"check\": \"small qualification\", \"actual\": 0, \"expected\": 6, \"passed\": false}, {\"check\": \"qualification revoked\", \"actual\": 0, \"expected\": 6, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.142,"exit_code":1,"observations":[{"actual":8,"check":"standing overlaps activity","expected":5,"passed":false},{"actual":8,"check":"waiver round / standing overlaps activity","expected":5,"passed":false},{"actual":6,"check":"normal contract","expected":6,"passed":true},{"actual":6,"check":"waiver round","expected":6,"passed":true},{"actual":6,"check":"no waiver left","expected":6,"passed":true},{"actual":6,"check":"all withdrawn","expected":6,"passed":true},{"actual":6,"check":"replayed round","expected":6,"passed":true},{"actual":6,"check":"stage entry","expected":6,"passed":true},{"actual":6,"check":"small qualification","expected":6,"passed":true},{"actual":6,"check":"qualification revoked","expected":6,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"standing overlaps activity\", \"actual\": 8, \"expected\": 5, \"passed\": false}, {\"check\": \"waiver round / standing overlaps activity\", \"actual\": 8, \"expected\": 5, \"passed\": false}, {\"check\": \"normal contract\", \"actual\": 6, \"expected\": 6, \"passed\": true}, {\"check\": \"waiver round\", \"actual\": 6, \"expected\": 6, \"passed\": true}, {\"check\": \"no waiver left\", \"actual\": 6, \"expected\": 6, \"passed\": true}, {\"check\": \"all withdrawn\", \"actual\": 6, \"expected\": 6, \"passed\": true}, {\"check\": \"replayed round\", \"actual\": 6, \"expected\": 6, \"passed\": true}, {\"check\": \"stage entry\", \"actual\": 6, \"expected\": 6, \"passed\": true}, {\"check\": \"small qualification\", \"actual\": 6, \"expected\": 6, \"passed\": true}, {\"check\": \"qualification revoked\", \"actual\": 6, \"expected\": 6, \"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."}}