{"abstract":"Result export ignores the approved multi-lot publication scope.","category":"Auction allocation rules","checks":10,"contract":"Auction result publication assembles accepted award records, provisional appeal markers and correction versions. An original award record and its correction share one award identifier. Readers request a publication edition; drafts and withdrawn results must not appear. Named decision lot-publication-scope: For lot publication scope, apply the stipulated decision [a for a,l in zip(x[\"ids\"],x[\"lot_ids\"]) if l in x[\"eligible_lots\"]].","evaluation_group":"s3-auction-result-publication","failed_approach":"The attempted repair uses [a for a,l in zip(x[\"ids\"],x[\"lot_ids\"]) if l==x[\"eligible_lots\"][0]] if x[\"eligible_lots\"] else []; the explicit regression cases demonstrate that this still violates the stipulated auction rule.","family":"s3-auction-allocation-rules-result-publication-lot-publication-scope","id":"FA-57536","implementations":{"attempt":{"sha256":"a9c2b2dd1d2d90496cc6c8159f18fdb3b4bd34c1e10f7b898bd7d13cfc2353c0","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = {a:max(v for b,v in zip(x[\"ids\"],x[\"versions\"]) if b==a) for a in x[\"ids\"]}\n    v1 = [a for a,d in zip(x[\"ids\"],x[\"draft\"]) if not d]\n    v2 = [a for a in x[\"ids\"] if a not in x[\"withdrawn\"]]\n    v3 = {a:(\"provisional\" if a in x[\"appealed\"] and a not in x[\"finalized\"] else \"final\") for a in x[\"ids\"]}\n    v4 = x[\"edition\"] in x[\"published_editions\"]\n    v5 = {a:x[\"quantities\"][max((i for i,b in enumerate(x[\"ids\"]) if b==a),key=lambda i:x[\"versions\"][i])] for a in x[\"ids\"]}\n    v6 = [a for a in dict.fromkeys(x[\"ids\"]) if max(v for b,v in zip(x[\"ids\"],x[\"versions\"]) if b==a)>x[\"notice_ack_version\"].get(a,0)]\n    v7 = x[\"owners\"] if x[\"disclose_owner\"] else [None]*len(x[\"owners\"])\n    v8 = [a for a,v in zip(x[\"ids\"],x[\"versions\"]) if v<=x[\"edition\"]]\n    v9 = [a for a,l in zip(x[\"ids\"],x[\"lot_ids\"]) if l==x[\"eligible_lots\"][0]] if x[\"eligible_lots\"] else []\n    return {'latest-award-revision':v0,'draft-result-filter':v1,'withdrawn-result-tombstone':v2,'appeal-finality-label':v3,'edition-existence':v4,'correction-quantity-replacement':v5,'correction-notice-edition':v6,'owner-redaction':v7,'edition-revision-cutoff':v8,'lot-publication-scope':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('normal contract', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('all final', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['a', 'b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('all lots eligible', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1', 'L2'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a']]), ('all final / all lots eligible', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['a', 'b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1', 'L2'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a']]), ('all published', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, False, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('no withdrawal', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': [], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('first edition', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 1, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('edition published', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1, 2], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('owner disclosure', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': True, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('no acknowledgments', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': [], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']])]\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))['lot-publication-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":"e38a78bac30dcdbd9786dfaf63cf1ba50bca91e402b0107701c3a477a780950d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = {a:max(v for b,v in zip(x[\"ids\"],x[\"versions\"]) if b==a) for a in x[\"ids\"]}\n    v1 = [a for a,d in zip(x[\"ids\"],x[\"draft\"]) if not d]\n    v2 = [a for a in x[\"ids\"] if a not in x[\"withdrawn\"]]\n    v3 = {a:(\"provisional\" if a in x[\"appealed\"] and a not in x[\"finalized\"] else \"final\") for a in x[\"ids\"]}\n    v4 = x[\"edition\"] in x[\"published_editions\"]\n    v5 = {a:x[\"quantities\"][max((i for i,b in enumerate(x[\"ids\"]) if b==a),key=lambda i:x[\"versions\"][i])] for a in x[\"ids\"]}\n    v6 = [a for a in dict.fromkeys(x[\"ids\"]) if max(v for b,v in zip(x[\"ids\"],x[\"versions\"]) if b==a)>x[\"notice_ack_version\"].get(a,0)]\n    v7 = x[\"owners\"] if x[\"disclose_owner\"] else [None]*len(x[\"owners\"])\n    v8 = [a for a,v in zip(x[\"ids\"],x[\"versions\"]) if v<=x[\"edition\"]]\n    v9 = x[\"ids\"]\n    return {'latest-award-revision':v0,'draft-result-filter':v1,'withdrawn-result-tombstone':v2,'appeal-finality-label':v3,'edition-existence':v4,'correction-quantity-replacement':v5,'correction-notice-edition':v6,'owner-redaction':v7,'edition-revision-cutoff':v8,'lot-publication-scope':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('normal contract', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('all final', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['a', 'b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('all lots eligible', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1', 'L2'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a']]), ('all final / all lots eligible', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['a', 'b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1', 'L2'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a']]), ('all published', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, False, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('no withdrawal', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': [], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('first edition', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 1, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('edition published', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1, 2], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('owner disclosure', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': True, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('no acknowledgments', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': [], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']])]\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))['lot-publication-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":"078e06e4982e39e30ea8384b063337d3427ce5c89a6b5f4f45721eddc35b537b","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = {a:max(v for b,v in zip(x[\"ids\"],x[\"versions\"]) if b==a) for a in x[\"ids\"]}\n    v1 = [a for a,d in zip(x[\"ids\"],x[\"draft\"]) if not d]\n    v2 = [a for a in x[\"ids\"] if a not in x[\"withdrawn\"]]\n    v3 = {a:(\"provisional\" if a in x[\"appealed\"] and a not in x[\"finalized\"] else \"final\") for a in x[\"ids\"]}\n    v4 = x[\"edition\"] in x[\"published_editions\"]\n    v5 = {a:x[\"quantities\"][max((i for i,b in enumerate(x[\"ids\"]) if b==a),key=lambda i:x[\"versions\"][i])] for a in x[\"ids\"]}\n    v6 = [a for a in dict.fromkeys(x[\"ids\"]) if max(v for b,v in zip(x[\"ids\"],x[\"versions\"]) if b==a)>x[\"notice_ack_version\"].get(a,0)]\n    v7 = x[\"owners\"] if x[\"disclose_owner\"] else [None]*len(x[\"owners\"])\n    v8 = [a for a,v in zip(x[\"ids\"],x[\"versions\"]) if v<=x[\"edition\"]]\n    v9 = [a for a,l in zip(x[\"ids\"],x[\"lot_ids\"]) if l in x[\"eligible_lots\"]]\n    return {'latest-award-revision':v0,'draft-result-filter':v1,'withdrawn-result-tombstone':v2,'appeal-finality-label':v3,'edition-existence':v4,'correction-quantity-replacement':v5,'correction-notice-edition':v6,'owner-redaction':v7,'edition-revision-cutoff':v8,'lot-publication-scope':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('normal contract', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('all final', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['a', 'b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('all lots eligible', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1', 'L2'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a']]), ('all final / all lots eligible', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['a', 'b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1', 'L2'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a'], ['a', 'b', 'a']]), ('all published', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, False, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('no withdrawal', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': [], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('first edition', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 1, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('edition published', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1, 2], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('owner disclosure', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': ['a'], 'disclose_owner': True, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']]), ('no acknowledgments', {'ids': ['a', 'b', 'a'], 'versions': [1, 1, 2], 'quantities': [3, 4, 2], 'draft': [False, True, False], 'withdrawn': ['b'], 'appealed': ['a'], 'finalized': ['b'], 'edition': 2, 'published_editions': [1], 'correction_of': {'a': 'a'}, 'announcements': ['a', 'b'], 'acknowledged': [], 'disclose_owner': False, 'owners': ['x', 'y', 'x'], 'lot_ids': ['L1', 'L2', 'L1'], 'eligible_lots': ['L1'], 'notice_ack_version': {'a': 1, 'b': 1}}, [['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a'], ['a', 'a']])]\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))['lot-publication-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-result-publication-lot-publication-scope","generated_at":"2026-09-29T14:46:17.816268+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 lot publication scope, apply the stipulated decision [a for a,l in zip(x[\"ids\"],x[\"lot_ids\"]) if l in x[\"eligible_lots\"]].","root_cause":"Result export ignores the approved multi-lot publication scope.","sha256":"d189a578dbf3ccc3c9bc3eaffe3fa48b58c8dcba43afe5cd7f0947701452154c","title":"Result publication: lot publication scope · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":48.239,"exit_code":1,"observations":[{"actual":["a","a"],"check":"normal contract","expected":["a","a"],"passed":true},{"actual":["a","a"],"check":"all final","expected":["a","a"],"passed":true},{"actual":["a","a"],"check":"all lots eligible","expected":["a","b","a"],"passed":false},{"actual":["a","a"],"check":"all final / all lots eligible","expected":["a","b","a"],"passed":false},{"actual":["a","a"],"check":"all published","expected":["a","a"],"passed":true},{"actual":["a","a"],"check":"no withdrawal","expected":["a","a"],"passed":true},{"actual":["a","a"],"check":"first edition","expected":["a","a"],"passed":true},{"actual":["a","a"],"check":"edition published","expected":["a","a"],"passed":true},{"actual":["a","a"],"check":"owner disclosure","expected":["a","a"],"passed":true},{"actual":["a","a"],"check":"no acknowledgments","expected":["a","a"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"normal contract\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}, {\"check\": \"all final\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}, {\"check\": \"all lots eligible\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"b\", \"a\"], \"passed\": false}, {\"check\": \"all final / all lots eligible\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"b\", \"a\"], \"passed\": false}, {\"check\": \"all published\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}, {\"check\": \"no withdrawal\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}, {\"check\": \"first edition\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}, {\"check\": \"edition published\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}, {\"check\": \"owner disclosure\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}, {\"check\": \"no acknowledgments\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":46.459,"exit_code":1,"observations":[{"actual":["a","b","a"],"check":"normal contract","expected":["a","a"],"passed":false},{"actual":["a","b","a"],"check":"all final","expected":["a","a"],"passed":false},{"actual":["a","b","a"],"check":"all lots eligible","expected":["a","b","a"],"passed":true},{"actual":["a","b","a"],"check":"all final / all lots eligible","expected":["a","b","a"],"passed":true},{"actual":["a","b","a"],"check":"all published","expected":["a","a"],"passed":false},{"actual":["a","b","a"],"check":"no withdrawal","expected":["a","a"],"passed":false},{"actual":["a","b","a"],"check":"first edition","expected":["a","a"],"passed":false},{"actual":["a","b","a"],"check":"edition published","expected":["a","a"],"passed":false},{"actual":["a","b","a"],"check":"owner disclosure","expected":["a","a"],"passed":false},{"actual":["a","b","a"],"check":"no acknowledgments","expected":["a","a"],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"normal contract\", \"actual\": [\"a\", \"b\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": false}, {\"check\": \"all final\", \"actual\": [\"a\", \"b\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": false}, {\"check\": \"all lots eligible\", \"actual\": [\"a\", \"b\", \"a\"], \"expected\": [\"a\", \"b\", \"a\"], \"passed\": true}, {\"check\": \"all final / all lots eligible\", \"actual\": [\"a\", \"b\", \"a\"], \"expected\": [\"a\", \"b\", \"a\"], \"passed\": true}, {\"check\": \"all published\", \"actual\": [\"a\", \"b\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": false}, {\"check\": \"no withdrawal\", \"actual\": [\"a\", \"b\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": false}, {\"check\": \"first edition\", \"actual\": [\"a\", \"b\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": false}, {\"check\": \"edition published\", \"actual\": [\"a\", \"b\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": false}, {\"check\": \"owner disclosure\", \"actual\": [\"a\", \"b\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": false}, {\"check\": \"no acknowledgments\", \"actual\": [\"a\", \"b\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":43.915,"exit_code":0,"observations":[{"actual":["a","a"],"check":"normal contract","expected":["a","a"],"passed":true},{"actual":["a","a"],"check":"all final","expected":["a","a"],"passed":true},{"actual":["a","b","a"],"check":"all lots eligible","expected":["a","b","a"],"passed":true},{"actual":["a","b","a"],"check":"all final / all lots eligible","expected":["a","b","a"],"passed":true},{"actual":["a","a"],"check":"all published","expected":["a","a"],"passed":true},{"actual":["a","a"],"check":"no withdrawal","expected":["a","a"],"passed":true},{"actual":["a","a"],"check":"first edition","expected":["a","a"],"passed":true},{"actual":["a","a"],"check":"edition published","expected":["a","a"],"passed":true},{"actual":["a","a"],"check":"owner disclosure","expected":["a","a"],"passed":true},{"actual":["a","a"],"check":"no acknowledgments","expected":["a","a"],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"normal contract\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}, {\"check\": \"all final\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}, {\"check\": \"all lots eligible\", \"actual\": [\"a\", \"b\", \"a\"], \"expected\": [\"a\", \"b\", \"a\"], \"passed\": true}, {\"check\": \"all final / all lots eligible\", \"actual\": [\"a\", \"b\", \"a\"], \"expected\": [\"a\", \"b\", \"a\"], \"passed\": true}, {\"check\": \"all published\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}, {\"check\": \"no withdrawal\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}, {\"check\": \"first edition\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}, {\"check\": \"edition published\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}, {\"check\": \"owner disclosure\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}, {\"check\": \"no acknowledgments\", \"actual\": [\"a\", \"a\"], \"expected\": [\"a\", \"a\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}