{"abstract":"Assignment charges prepaid units or applies all prepayment to only the transferred tranche.","category":"Auction allocation rules","checks":10,"contract":"A winning bidder assigns an award subject to buyer, seller and assignee consents. Assignment transfers only undelivered units and the matching unpaid obligation. Partial assignments preserve original provenance and do not release an original guarantee without novation. Named decision assigned-unpaid-units: For assigned unpaid units, apply the stipulated decision min(x[\"assign\"],max(0,x[\"award\"]-x[\"paid_units\"])).","evaluation_group":"s3-auction-award-assignment","failed_approach":"The attempted repair uses max(0,x[\"assign\"]-x[\"paid_units\"]); the explicit regression cases demonstrate that this still violates the stipulated auction rule.","family":"s3-auction-allocation-rules-award-assignment-assigned-unpaid-units","id":"FA-57806","implementations":{"attempt":{"sha256":"2fe0d6bc7fa43b34f76fc42334026c2bb38979185e0ee4a67825f92794f117f3","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = x[\"seller_consents\"] and x[\"buyer_consents\"] and x[\"assignee_accepts\"]\n    v1 = min(x[\"assign\"],max(0,x[\"award\"]-x[\"delivered\"]))\n    v2 = max(0,x[\"award\"]-x[\"delivered\"]-x[\"assign\"])\n    v3 = max(0,x[\"assign\"]-x[\"paid_units\"])\n    v4 = 0 if x[\"novation\"] and x[\"completed\"] else x[\"guarantee\"]\n    v5 = x[\"assignee\"] in x[\"approved_assignees\"] and x[\"assignee\"] not in x[\"banned\"]\n    v6 = 0 if x[\"assignee\"]==x[\"original\"] else x[\"assign\"]\n    v7 = [x[\"new_id\"],x[\"source_id\"],x[\"original\"],x[\"assignee\"]]\n    v8 = x[\"new_id\"]!=x[\"source_id\"]\n    v9 = x[\"escrow\"]>=x[\"required_escrow\"]+x[\"assignment_fee\"]\n    return {'three-party-consent':v0,'undelivered-assignment-cap':v1,'remaining-original-obligation':v2,'assigned-unpaid-units':v3,'guarantee-novation':v4,'assignee-admission':v5,'self-assignment-noop':v6,'assignment-provenance':v7,'distinct-assignment-id':v8,'escrow-and-assignment-fee':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('overassignment', {'award': 8, 'delivered': 3, 'assign': 7, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [6, 12, 18, 24, 30]), ('fully prepaid', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 8, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [0, 0, 0, 0, 0]), ('normal contract', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('approved banned assignee', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['b'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('unapproved unbanned assignee', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': [], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('fee exceeds residual escrow', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 9, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('all consents', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': True, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('seller refuses', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': False, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('buyer refuses', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': False, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('all delivered', {'award': 8, 'delivered': 8, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20])]\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))['assigned-unpaid-units'], 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":"92ec83ace395a082b75c38928843a03df0ac0b0de1bdc6b7196810f846e050ff","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = x[\"seller_consents\"] and x[\"buyer_consents\"] and x[\"assignee_accepts\"]\n    v1 = min(x[\"assign\"],max(0,x[\"award\"]-x[\"delivered\"]))\n    v2 = max(0,x[\"award\"]-x[\"delivered\"]-x[\"assign\"])\n    v3 = x[\"assign\"]\n    v4 = 0 if x[\"novation\"] and x[\"completed\"] else x[\"guarantee\"]\n    v5 = x[\"assignee\"] in x[\"approved_assignees\"] and x[\"assignee\"] not in x[\"banned\"]\n    v6 = 0 if x[\"assignee\"]==x[\"original\"] else x[\"assign\"]\n    v7 = [x[\"new_id\"],x[\"source_id\"],x[\"original\"],x[\"assignee\"]]\n    v8 = x[\"new_id\"]!=x[\"source_id\"]\n    v9 = x[\"escrow\"]>=x[\"required_escrow\"]+x[\"assignment_fee\"]\n    return {'three-party-consent':v0,'undelivered-assignment-cap':v1,'remaining-original-obligation':v2,'assigned-unpaid-units':v3,'guarantee-novation':v4,'assignee-admission':v5,'self-assignment-noop':v6,'assignment-provenance':v7,'distinct-assignment-id':v8,'escrow-and-assignment-fee':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('overassignment', {'award': 8, 'delivered': 3, 'assign': 7, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [6, 12, 18, 24, 30]), ('fully prepaid', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 8, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [0, 0, 0, 0, 0]), ('normal contract', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('approved banned assignee', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['b'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('unapproved unbanned assignee', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': [], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('fee exceeds residual escrow', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 9, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('all consents', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': True, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('seller refuses', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': False, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('buyer refuses', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': False, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('all delivered', {'award': 8, 'delivered': 8, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20])]\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))['assigned-unpaid-units'], 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":"1c8f8f17680c2c7e1d79b081d061f65a339719536d980d9eeef707c97012c850","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    v0 = x[\"seller_consents\"] and x[\"buyer_consents\"] and x[\"assignee_accepts\"]\n    v1 = min(x[\"assign\"],max(0,x[\"award\"]-x[\"delivered\"]))\n    v2 = max(0,x[\"award\"]-x[\"delivered\"]-x[\"assign\"])\n    v3 = min(x[\"assign\"],max(0,x[\"award\"]-x[\"paid_units\"]))\n    v4 = 0 if x[\"novation\"] and x[\"completed\"] else x[\"guarantee\"]\n    v5 = x[\"assignee\"] in x[\"approved_assignees\"] and x[\"assignee\"] not in x[\"banned\"]\n    v6 = 0 if x[\"assignee\"]==x[\"original\"] else x[\"assign\"]\n    v7 = [x[\"new_id\"],x[\"source_id\"],x[\"original\"],x[\"assignee\"]]\n    v8 = x[\"new_id\"]!=x[\"source_id\"]\n    v9 = x[\"escrow\"]>=x[\"required_escrow\"]+x[\"assignment_fee\"]\n    return {'three-party-consent':v0,'undelivered-assignment-cap':v1,'remaining-original-obligation':v2,'assigned-unpaid-units':v3,'guarantee-novation':v4,'assignee-admission':v5,'self-assignment-noop':v6,'assignment-provenance':v7,'distinct-assignment-id':v8,'escrow-and-assignment-fee':v9}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [('overassignment', {'award': 8, 'delivered': 3, 'assign': 7, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [6, 12, 18, 24, 30]), ('fully prepaid', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 8, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [0, 0, 0, 0, 0]), ('normal contract', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('approved banned assignee', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['b'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('unapproved unbanned assignee', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': [], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('fee exceeds residual escrow', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 9, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('all consents', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': True, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('seller refuses', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': False, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('buyer refuses', {'award': 8, 'delivered': 3, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': False, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20]), ('all delivered', {'award': 8, 'delivered': 8, 'assign': 4, 'original': 'a', 'assignee': 'b', 'seller_consents': True, 'buyer_consents': True, 'assignee_accepts': False, 'paid_units': 2, 'guarantee': 10, 'novation': False, 'approved_assignees': ['b'], 'banned': ['c'], 'assignments': [['b', 2], ['c', 1]], 'source_id': 'w1', 'new_id': 'w2', 'completed': False, 'escrow': 12, 'required_escrow': 8, 'assignment_fee': 2}, [4, 8, 12, 16, 20])]\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))['assigned-unpaid-units'], 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-award-assignment-assigned-unpaid-units","generated_at":"2026-09-29T14:46:20.641893+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 assigned unpaid units, apply the stipulated decision min(x[\"assign\"],max(0,x[\"award\"]-x[\"paid_units\"])).","root_cause":"Assignment charges prepaid units or applies all prepayment to only the transferred tranche.","sha256":"8417f21074bed6067b613b81bf98f72082993bf6824ff423280d6004b3035382","title":"Award assignment: assigned unpaid units · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":41.665,"exit_code":1,"observations":[{"actual":5,"check":"overassignment","expected":6,"passed":false},{"actual":0,"check":"fully prepaid","expected":0,"passed":true},{"actual":2,"check":"normal contract","expected":4,"passed":false},{"actual":2,"check":"approved banned assignee","expected":4,"passed":false},{"actual":2,"check":"unapproved unbanned assignee","expected":4,"passed":false},{"actual":2,"check":"fee exceeds residual escrow","expected":4,"passed":false},{"actual":2,"check":"all consents","expected":4,"passed":false},{"actual":2,"check":"seller refuses","expected":4,"passed":false},{"actual":2,"check":"buyer refuses","expected":4,"passed":false},{"actual":2,"check":"all delivered","expected":4,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"overassignment\", \"actual\": 5, \"expected\": 6, \"passed\": false}, {\"check\": \"fully prepaid\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"normal contract\", \"actual\": 2, \"expected\": 4, \"passed\": false}, {\"check\": \"approved banned assignee\", \"actual\": 2, \"expected\": 4, \"passed\": false}, {\"check\": \"unapproved unbanned assignee\", \"actual\": 2, \"expected\": 4, \"passed\": false}, {\"check\": \"fee exceeds residual escrow\", \"actual\": 2, \"expected\": 4, \"passed\": false}, {\"check\": \"all consents\", \"actual\": 2, \"expected\": 4, \"passed\": false}, {\"check\": \"seller refuses\", \"actual\": 2, \"expected\": 4, \"passed\": false}, {\"check\": \"buyer refuses\", \"actual\": 2, \"expected\": 4, \"passed\": false}, {\"check\": \"all delivered\", \"actual\": 2, \"expected\": 4, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.209,"exit_code":1,"observations":[{"actual":7,"check":"overassignment","expected":6,"passed":false},{"actual":4,"check":"fully prepaid","expected":0,"passed":false},{"actual":4,"check":"normal contract","expected":4,"passed":true},{"actual":4,"check":"approved banned assignee","expected":4,"passed":true},{"actual":4,"check":"unapproved unbanned assignee","expected":4,"passed":true},{"actual":4,"check":"fee exceeds residual escrow","expected":4,"passed":true},{"actual":4,"check":"all consents","expected":4,"passed":true},{"actual":4,"check":"seller refuses","expected":4,"passed":true},{"actual":4,"check":"buyer refuses","expected":4,"passed":true},{"actual":4,"check":"all delivered","expected":4,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"overassignment\", \"actual\": 7, \"expected\": 6, \"passed\": false}, {\"check\": \"fully prepaid\", \"actual\": 4, \"expected\": 0, \"passed\": false}, {\"check\": \"normal contract\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"approved banned assignee\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"unapproved unbanned assignee\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"fee exceeds residual escrow\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"all consents\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"seller refuses\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"buyer refuses\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"all delivered\", \"actual\": 4, \"expected\": 4, \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":44.699,"exit_code":0,"observations":[{"actual":6,"check":"overassignment","expected":6,"passed":true},{"actual":0,"check":"fully prepaid","expected":0,"passed":true},{"actual":4,"check":"normal contract","expected":4,"passed":true},{"actual":4,"check":"approved banned assignee","expected":4,"passed":true},{"actual":4,"check":"unapproved unbanned assignee","expected":4,"passed":true},{"actual":4,"check":"fee exceeds residual escrow","expected":4,"passed":true},{"actual":4,"check":"all consents","expected":4,"passed":true},{"actual":4,"check":"seller refuses","expected":4,"passed":true},{"actual":4,"check":"buyer refuses","expected":4,"passed":true},{"actual":4,"check":"all delivered","expected":4,"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"overassignment\", \"actual\": 6, \"expected\": 6, \"passed\": true}, {\"check\": \"fully prepaid\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"normal contract\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"approved banned assignee\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"unapproved unbanned assignee\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"fee exceeds residual escrow\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"all consents\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"seller refuses\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"buyer refuses\", \"actual\": 4, \"expected\": 4, \"passed\": true}, {\"check\": \"all delivered\", \"actual\": 4, \"expected\": 4, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}