{"abstract":"A bidder self-view includes other participants offers.","category":"Auction allocation rules","checks":9,"contract":"Toy auction disclosure views distinguish bidder self-view, public preclose statistics, anonymized postclose results, and auditor-only linkage. List records have fields [bidder, quantity, value]; suppression thresholds count distinct bidders, not submitted records. Named decision self-view-scope: For self view scope, apply the stipulated decision [r for r in x[\"records\"] if r[0]==x[\"viewer\"]].","evaluation_group":"s3-auction-bid-disclosure","failed_approach":"The attempted repair uses [r for r in x[\"records\"] if r[0] in x[\"consenting\"]]; the explicit regression cases demonstrate that this still violates the stipulated auction rule.","family":"s3-auction-allocation-rules-bid-disclosure-self-view-scope","id":"FA-57291","implementations":{"attempt":{"sha256":"0a57e000b1421c6c8f7107ebd3e0eb0f1758266605304e8b04902d0511a6152d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = [r for r in x[\"records\"] if r[0] in x[\"consenting\"]]\n    v1 = [r[2] for r in x[\"records\"]] if x[\"closed\"] else []\n    v2 = len({r[0] for r in x[\"records\"]})>=x[\"threshold\"]\n    v3 = [[x[\"aliases\"].get(r[0],\"anonymous\"),r[1]] for r in x[\"records\"]]\n    v4 = x[\"aliases\"] if x[\"auditor\"] else {}\n    v5 = [r[0] for r in x[\"records\"] if r[0] in x[\"consenting\"] and r[0] not in x[\"revoked\"]]\n    v6 = sum(r[1] for r in x[\"records\"] if r[0] not in x[\"withdrawn\"])\n    v7 = [{k:r[i] for k,i in ((\"quantity\",1),(\"value\",2)) if k in x[\"published_fields\"]} for r in x[\"records\"]]\n    v8 = x[\"winner\"] if x[\"closed\"] and not x[\"embargo\"] else None\n    v9 = x[\"records\"] if x[\"appeal_open\"] or x[\"auditor\"] else []\n    return {'self-view-scope':v0,'preclose-value-embargo':v1,'distinct-bidder-suppression':v2,'alias-result-view':v3,'auditor-linkage':v4,'consent-qualified-disclosure':v5,'withdrawn-demand-statistic':v6,'field-projection':v7,'embargo-final-result':v8,'appeal-audit-retention':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('normal contract', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('closed', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': True, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('outsider view', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'z', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[], [], [], [], []]), ('all consent', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a', 'b'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('auditor view', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': True, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('threshold met', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 2, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('embargo active', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': True, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('no appeal', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': False, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('all revoked', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a', 'b']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 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))['self-view-scope'], 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":"da17b21dfd4a6f4cb28aa0e64fd2c458736bb9b767b0aef1510aa5486ae79f55","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = x[\"records\"]\n    v1 = [r[2] for r in x[\"records\"]] if x[\"closed\"] else []\n    v2 = len({r[0] for r in x[\"records\"]})>=x[\"threshold\"]\n    v3 = [[x[\"aliases\"].get(r[0],\"anonymous\"),r[1]] for r in x[\"records\"]]\n    v4 = x[\"aliases\"] if x[\"auditor\"] else {}\n    v5 = [r[0] for r in x[\"records\"] if r[0] in x[\"consenting\"] and r[0] not in x[\"revoked\"]]\n    v6 = sum(r[1] for r in x[\"records\"] if r[0] not in x[\"withdrawn\"])\n    v7 = [{k:r[i] for k,i in ((\"quantity\",1),(\"value\",2)) if k in x[\"published_fields\"]} for r in x[\"records\"]]\n    v8 = x[\"winner\"] if x[\"closed\"] and not x[\"embargo\"] else None\n    v9 = x[\"records\"] if x[\"appeal_open\"] or x[\"auditor\"] else []\n    return {'self-view-scope':v0,'preclose-value-embargo':v1,'distinct-bidder-suppression':v2,'alias-result-view':v3,'auditor-linkage':v4,'consent-qualified-disclosure':v5,'withdrawn-demand-statistic':v6,'field-projection':v7,'embargo-final-result':v8,'appeal-audit-retention':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('normal contract', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('closed', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': True, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('outsider view', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'z', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[], [], [], [], []]), ('all consent', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a', 'b'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('auditor view', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': True, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('threshold met', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 2, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('embargo active', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': True, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('no appeal', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': False, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('all revoked', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a', 'b']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 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))['self-view-scope'], 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"},"fixed":{"sha256":"79c07957a69d9ab01baab7f0f4d6cb7bb79a50b52069f53c4f8b606a43286e6a","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = [r for r in x[\"records\"] if r[0]==x[\"viewer\"]]\n    v1 = [r[2] for r in x[\"records\"]] if x[\"closed\"] else []\n    v2 = len({r[0] for r in x[\"records\"]})>=x[\"threshold\"]\n    v3 = [[x[\"aliases\"].get(r[0],\"anonymous\"),r[1]] for r in x[\"records\"]]\n    v4 = x[\"aliases\"] if x[\"auditor\"] else {}\n    v5 = [r[0] for r in x[\"records\"] if r[0] in x[\"consenting\"] and r[0] not in x[\"revoked\"]]\n    v6 = sum(r[1] for r in x[\"records\"] if r[0] not in x[\"withdrawn\"])\n    v7 = [{k:r[i] for k,i in ((\"quantity\",1),(\"value\",2)) if k in x[\"published_fields\"]} for r in x[\"records\"]]\n    v8 = x[\"winner\"] if x[\"closed\"] and not x[\"embargo\"] else None\n    v9 = x[\"records\"] if x[\"appeal_open\"] or x[\"auditor\"] else []\n    return {'self-view-scope':v0,'preclose-value-embargo':v1,'distinct-bidder-suppression':v2,'alias-result-view':v3,'auditor-linkage':v4,'consent-qualified-disclosure':v5,'withdrawn-demand-statistic':v6,'field-projection':v7,'embargo-final-result':v8,'appeal-audit-retention':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('normal contract', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('closed', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': True, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('outsider view', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'z', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[], [], [], [], []]), ('all consent', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a', 'b'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('auditor view', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': True, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('threshold met', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 2, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('embargo active', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': True, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('no appeal', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': False, 'winner': 'b', 'revoked': ['a']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 30]]]), ('all revoked', {'records': [['a', 2, 7], ['b', 3, 9], ['a', 1, 6]], 'viewer': 'a', 'closed': False, 'auditor': False, 'consenting': ['a'], 'threshold': 3, 'aliases': {'a': 'X', 'b': 'Y'}, 'withdrawn': ['b'], 'embargo': False, 'published_fields': ['quantity'], 'appeal_open': True, 'winner': 'b', 'revoked': ['a', 'b']}, [[['a', 2, 7], ['a', 1, 6]], [['a', 4, 14], ['a', 2, 12]], [['a', 6, 21], ['a', 3, 18]], [['a', 8, 28], ['a', 4, 24]], [['a', 10, 35], ['a', 5, 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))['self-view-scope'], 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-bid-disclosure-self-view-scope","generated_at":"2026-09-29T14:46:15.311612+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Offline administrative auction model for software failure analysis.","repair":"For self view scope, apply the stipulated decision [r for r in x[\"records\"] if r[0]==x[\"viewer\"]].","root_cause":"A bidder self-view includes other participants offers.","sha256":"39624be89f6f66e980b23d3f15cbaaf06bb6077c197dd7a58dbc345dc3e3498a","title":"Bid disclosure: self view scope · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":48.04,"exit_code":1,"observations":[{"actual":[["a",2,7],["a",1,6]],"check":"normal contract","expected":[["a",2,7],["a",1,6]],"passed":true},{"actual":[["a",2,7],["a",1,6]],"check":"closed","expected":[["a",2,7],["a",1,6]],"passed":true},{"actual":[["a",2,7],["a",1,6]],"check":"outsider view","expected":[],"passed":false},{"actual":[["a",2,7],["b",3,9],["a",1,6]],"check":"all consent","expected":[["a",2,7],["a",1,6]],"passed":false},{"actual":[["a",2,7],["a",1,6]],"check":"auditor view","expected":[["a",2,7],["a",1,6]],"passed":true},{"actual":[["a",2,7],["a",1,6]],"check":"threshold met","expected":[["a",2,7],["a",1,6]],"passed":true},{"actual":[["a",2,7],["a",1,6]],"check":"embargo active","expected":[["a",2,7],["a",1,6]],"passed":true},{"actual":[["a",2,7],["a",1,6]],"check":"no appeal","expected":[["a",2,7],["a",1,6]],"passed":true},{"actual":[["a",2,7],["a",1,6]],"check":"all revoked","expected":[["a",2,7],["a",1,6]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"normal contract\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": true}, {\"check\": \"closed\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": true}, {\"check\": \"outsider view\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [], \"passed\": false}, {\"check\": \"all consent\", \"actual\": [[\"a\", 2, 7], [\"b\", 3, 9], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": false}, {\"check\": \"auditor view\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": true}, {\"check\": \"threshold met\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": true}, {\"check\": \"embargo active\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": true}, {\"check\": \"no appeal\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": true}, {\"check\": \"all revoked\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":45.535,"exit_code":1,"observations":[{"actual":[["a",2,7],["b",3,9],["a",1,6]],"check":"normal contract","expected":[["a",2,7],["a",1,6]],"passed":false},{"actual":[["a",2,7],["b",3,9],["a",1,6]],"check":"closed","expected":[["a",2,7],["a",1,6]],"passed":false},{"actual":[["a",2,7],["b",3,9],["a",1,6]],"check":"outsider view","expected":[],"passed":false},{"actual":[["a",2,7],["b",3,9],["a",1,6]],"check":"all consent","expected":[["a",2,7],["a",1,6]],"passed":false},{"actual":[["a",2,7],["b",3,9],["a",1,6]],"check":"auditor view","expected":[["a",2,7],["a",1,6]],"passed":false},{"actual":[["a",2,7],["b",3,9],["a",1,6]],"check":"threshold met","expected":[["a",2,7],["a",1,6]],"passed":false},{"actual":[["a",2,7],["b",3,9],["a",1,6]],"check":"embargo active","expected":[["a",2,7],["a",1,6]],"passed":false},{"actual":[["a",2,7],["b",3,9],["a",1,6]],"check":"no appeal","expected":[["a",2,7],["a",1,6]],"passed":false},{"actual":[["a",2,7],["b",3,9],["a",1,6]],"check":"all revoked","expected":[["a",2,7],["a",1,6]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"normal contract\", \"actual\": [[\"a\", 2, 7], [\"b\", 3, 9], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": false}, {\"check\": \"closed\", \"actual\": [[\"a\", 2, 7], [\"b\", 3, 9], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": false}, {\"check\": \"outsider view\", \"actual\": [[\"a\", 2, 7], [\"b\", 3, 9], [\"a\", 1, 6]], \"expected\": [], \"passed\": false}, {\"check\": \"all consent\", \"actual\": [[\"a\", 2, 7], [\"b\", 3, 9], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": false}, {\"check\": \"auditor view\", \"actual\": [[\"a\", 2, 7], [\"b\", 3, 9], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": false}, {\"check\": \"threshold met\", \"actual\": [[\"a\", 2, 7], [\"b\", 3, 9], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": false}, {\"check\": \"embargo active\", \"actual\": [[\"a\", 2, 7], [\"b\", 3, 9], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": false}, {\"check\": \"no appeal\", \"actual\": [[\"a\", 2, 7], [\"b\", 3, 9], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": false}, {\"check\": \"all revoked\", \"actual\": [[\"a\", 2, 7], [\"b\", 3, 9], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":45.337,"exit_code":0,"observations":[{"actual":[["a",2,7],["a",1,6]],"check":"normal contract","expected":[["a",2,7],["a",1,6]],"passed":true},{"actual":[["a",2,7],["a",1,6]],"check":"closed","expected":[["a",2,7],["a",1,6]],"passed":true},{"actual":[],"check":"outsider view","expected":[],"passed":true},{"actual":[["a",2,7],["a",1,6]],"check":"all consent","expected":[["a",2,7],["a",1,6]],"passed":true},{"actual":[["a",2,7],["a",1,6]],"check":"auditor view","expected":[["a",2,7],["a",1,6]],"passed":true},{"actual":[["a",2,7],["a",1,6]],"check":"threshold met","expected":[["a",2,7],["a",1,6]],"passed":true},{"actual":[["a",2,7],["a",1,6]],"check":"embargo active","expected":[["a",2,7],["a",1,6]],"passed":true},{"actual":[["a",2,7],["a",1,6]],"check":"no appeal","expected":[["a",2,7],["a",1,6]],"passed":true},{"actual":[["a",2,7],["a",1,6]],"check":"all revoked","expected":[["a",2,7],["a",1,6]],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"normal contract\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": true}, {\"check\": \"closed\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": true}, {\"check\": \"outsider view\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"all consent\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": true}, {\"check\": \"auditor view\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": true}, {\"check\": \"threshold met\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": true}, {\"check\": \"embargo active\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": true}, {\"check\": \"no appeal\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": true}, {\"check\": \"all revoked\", \"actual\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"expected\": [[\"a\", 2, 7], [\"a\", 1, 6]], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}