{"abstract":"A new round restores eligibility that earlier inactivity removed.","category":"Auction allocation rules","checks":11,"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 eligibility-monotonicity: Cap recalculated activity eligibility at its previous level.","contract_signature":"x","evaluation_group":"s3-auction-activity-eligibility","failed_approach":"The attempted repair uses x[\"previous\"]; the explicit regression cases demonstrate that this still violates the stipulated auction rule.","family":"s3-auction-allocation-rules-activity-eligibility-eligibility-monotonicity","id":"FA-56561","implementations":{"attempt":{"sha256":"0b4481780e9d86684eccdc16b578860aa47dc245e2cd22d52cc1093abc3ee670","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 = x[\"previous\"]\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 = [('late stage', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 3, '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}, [3, 6, 9, 12, 15]), ('waiver round / late stage', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 3, '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}, [3, 6, 9, 12, 15]), ('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}, [5, 10, 15, 20, 25]), ('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}, [5, 10, 15, 20, 25]), ('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}, [5, 10, 15, 20, 25]), ('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}, [5, 10, 15, 20, 25]), ('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]), ('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}, [5, 10, 15, 20, 25]), ('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}, [5, 10, 15, 20, 25]), ('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}, [5, 10, 15, 20, 25]), ('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}, [5, 10, 15, 20, 25])]\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))['eligibility-monotonicity'], 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":"5632487e9890a03880c15f20c45dd9ca88bbfed7286d0f9f6c7eb9a1ae09b185","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 = 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 = [('late stage', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 3, '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}, [3, 6, 9, 12, 15]), ('waiver round / late stage', {'points': {'A': 3, 'B': 2, 'C': 1}, 'active': ['A', 'B'], 'withdrawn': ['B'], 'standing': ['C'], 'previous': 3, '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}, [3, 6, 9, 12, 15]), ('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}, [5, 10, 15, 20, 25]), ('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}, [5, 10, 15, 20, 25]), ('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}, [5, 10, 15, 20, 25]), ('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}, [5, 10, 15, 20, 25]), ('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]), ('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}, [5, 10, 15, 20, 25]), ('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}, [5, 10, 15, 20, 25]), ('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}, [5, 10, 15, 20, 25]), ('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}, [5, 10, 15, 20, 25])]\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))['eligibility-monotonicity'], 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-eligibility-monotonicity","generated_at":"2026-09-29T14:46:08.269707+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":"A new round restores eligibility that earlier inactivity removed.","sha256":"5f72657c9eab91724ae5f955eefabc2887f62bf04e664d648503f683dd50c823","title":"Activity eligibility: eligibility monotonicity · 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.676,"exit_code":1,"observations":[{"actual":3,"check":"late stage","expected":3,"passed":true},{"actual":3,"check":"waiver round / late stage","expected":3,"passed":true},{"actual":8,"check":"normal contract","expected":5,"passed":false},{"actual":8,"check":"waiver round","expected":5,"passed":false},{"actual":8,"check":"no waiver left","expected":5,"passed":false},{"actual":8,"check":"all withdrawn","expected":5,"passed":false},{"actual":8,"check":"standing overlaps activity","expected":5,"passed":false},{"actual":8,"check":"replayed round","expected":5,"passed":false},{"actual":8,"check":"stage entry","expected":5,"passed":false},{"actual":8,"check":"small qualification","expected":5,"passed":false},{"actual":8,"check":"qualification revoked","expected":5,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"late stage\", \"actual\": 3, \"expected\": 3, \"passed\": true}, {\"check\": \"waiver round / late stage\", \"actual\": 3, \"expected\": 3, \"passed\": true}, {\"check\": \"normal contract\", \"actual\": 8, \"expected\": 5, \"passed\": false}, {\"check\": \"waiver round\", \"actual\": 8, \"expected\": 5, \"passed\": false}, {\"check\": \"no waiver left\", \"actual\": 8, \"expected\": 5, \"passed\": false}, {\"check\": \"all withdrawn\", \"actual\": 8, \"expected\": 5, \"passed\": false}, {\"check\": \"standing overlaps activity\", \"actual\": 8, \"expected\": 5, \"passed\": false}, {\"check\": \"replayed round\", \"actual\": 8, \"expected\": 5, \"passed\": false}, {\"check\": \"stage entry\", \"actual\": 8, \"expected\": 5, \"passed\": false}, {\"check\": \"small qualification\", \"actual\": 8, \"expected\": 5, \"passed\": false}, {\"check\": \"qualification revoked\", \"actual\": 8, \"expected\": 5, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":40.669,"exit_code":1,"observations":[{"actual":5,"check":"late stage","expected":3,"passed":false},{"actual":5,"check":"waiver round / late stage","expected":3,"passed":false},{"actual":5,"check":"normal contract","expected":5,"passed":true},{"actual":5,"check":"waiver round","expected":5,"passed":true},{"actual":5,"check":"no waiver left","expected":5,"passed":true},{"actual":5,"check":"all withdrawn","expected":5,"passed":true},{"actual":5,"check":"standing overlaps activity","expected":5,"passed":true},{"actual":5,"check":"replayed round","expected":5,"passed":true},{"actual":5,"check":"stage entry","expected":5,"passed":true},{"actual":5,"check":"small qualification","expected":5,"passed":true},{"actual":5,"check":"qualification revoked","expected":5,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"late stage\", \"actual\": 5, \"expected\": 3, \"passed\": false}, {\"check\": \"waiver round / late stage\", \"actual\": 5, \"expected\": 3, \"passed\": false}, {\"check\": \"normal contract\", \"actual\": 5, \"expected\": 5, \"passed\": true}, {\"check\": \"waiver round\", \"actual\": 5, \"expected\": 5, \"passed\": true}, {\"check\": \"no waiver left\", \"actual\": 5, \"expected\": 5, \"passed\": true}, {\"check\": \"all withdrawn\", \"actual\": 5, \"expected\": 5, \"passed\": true}, {\"check\": \"standing overlaps activity\", \"actual\": 5, \"expected\": 5, \"passed\": true}, {\"check\": \"replayed round\", \"actual\": 5, \"expected\": 5, \"passed\": true}, {\"check\": \"stage entry\", \"actual\": 5, \"expected\": 5, \"passed\": true}, {\"check\": \"small qualification\", \"actual\": 5, \"expected\": 5, \"passed\": true}, {\"check\": \"qualification revoked\", \"actual\": 5, \"expected\": 5, \"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."}}