{"abstract":"A few cents of transfer freight disappear from inventory on every transfer.","category":"Inventory cost layering","checks":8,"contract":"Layers are [qty, total value]. A transfer of qty draws FIFO from src; a partial draw takes floor(t*value/qty) and leaves the residue in src; a layer is removed when its quantity reaches zero. Freight is split across the drawn pieces by quantity (floor), residual cents to the first piece, and each piece is appended to dst in draw order as the newest layers. qty<=0 or qty above src stock returns {\"error\"}. Return {src, dst}.","contract_signature":"x","evaluation_group":"w2-inventory-cost-layering-warehouse-transfer-layers","failed_approach":"Assigning the residual to the last piece contradicts the stipulated first-piece rule.","family":"w2-inventory-cost-layering-warehouse-transfer-layers-freight-residual-cents","id":"FA-60201","implementations":{"attempt":{"sha256":"d6f0416206960f13103e25ef45b7075ebf8a39bb41141dbc9c8e3abeb49bbb55","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    src = [list(l) for l in x['src']]\n    dst = [list(l) for l in x['dst']]\n    q = x['qty']\n    if q <= 0 or q > sum(l[0] for l in src):\n        return {'error': 'invalid quantity'}\n    pieces = []\n    while q > 0:\n        lq, lv = src[0]\n        t = min(q, lq)\n        val = lv if t == lq else t * lv // lq\n        pieces.append([t, val])\n        src[0] = [lq - t, lv - val]\n        if src[0][0] == 0:\n            src.pop(0)\n        q -= t\n    fr = x['freight']\n    tq = x['qty']\n    shares = [fr * p[0] // tq for p in pieces]\n    shares[-1] += fr - sum(shares)\n    for p, s in zip(pieces, shares):\n        dst.append([p[0], p[1] + s])\n    return {'src': src, 'dst': dst}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['span layers', {'src': [[3, 100], [5, 260]], 'dst': [[2, 90]], 'qty': 6, 'freight': 101}, {'src': [[2, 104]], 'dst': [[2, 90], [3, 151], [3, 206]]}], ['partial residue', {'src': [[3, 101], [4, 77]], 'dst': [], 'qty': 2, 'freight': 11}, {'src': [[1, 34], [4, 77]], 'dst': [[2, 78]]}], ['odd layer value', {'src': [[4, 99], [1, 5]], 'dst': [], 'qty': 3, 'freight': 1}, {'src': [[1, 25], [1, 5]], 'dst': [[3, 75]]}], ['free goods layer', {'src': [[5, 0], [2, 40]], 'dst': [[1, 10]], 'qty': 2, 'freight': 8}, {'src': [[3, 0], [2, 40]], 'dst': [[1, 10], [2, 8]]}], ['uneven freight', {'src': [[1, 50], [1, 60], [5, 300]], 'dst': [], 'qty': 5, 'freight': 14}, {'src': [[2, 120]], 'dst': [[1, 54], [1, 62], [3, 188]]}], ['insufficient', {'src': [[2, 20]], 'dst': [], 'qty': 4, 'freight': 5}, {'error': 'invalid quantity'}], ['nothing requested', {'src': [[2, 20]], 'dst': [], 'qty': 0, 'freight': 5}, {'error': 'invalid quantity'}], ['exact all', {'src': [[2, 21], [1, 12]], 'dst': [[4, 44]], 'qty': 3, 'freight': 0}, {'src': [], 'dst': [[4, 44], [2, 21], [1, 12]]}]], [['span layers', {'src': [[3, 100], [5, 260]], 'dst': [[2, 90]], 'qty': 5, 'freight': 101}, {'src': [[3, 156]], 'dst': [[2, 90], [3, 161], [2, 144]]}], ['partial residue', {'src': [[3, 101], [4, 77]], 'dst': [], 'qty': 2, 'freight': 12}, {'src': [[1, 34], [4, 77]], 'dst': [[2, 79]]}], ['odd layer value', {'src': [[4, 99], [1, 5]], 'dst': [], 'qty': 3, 'freight': 2}, {'src': [[1, 25], [1, 5]], 'dst': [[3, 76]]}], ['free goods layer', {'src': [[5, 0], [2, 40]], 'dst': [[1, 10]], 'qty': 2, 'freight': 9}, {'src': [[3, 0], [2, 40]], 'dst': [[1, 10], [2, 9]]}], ['uneven freight', {'src': [[1, 50], [1, 60], [5, 300]], 'dst': [], 'qty': 5, 'freight': 15}, {'src': [[2, 120]], 'dst': [[1, 53], [1, 63], [3, 189]]}], ['insufficient', {'src': [[2, 20]], 'dst': [], 'qty': 5, 'freight': 5}, {'error': 'invalid quantity'}], ['nothing requested', {'src': [[2, 20]], 'dst': [], 'qty': 0, 'freight': 5}, {'error': 'invalid quantity'}], ['exact all', {'src': [[2, 21], [1, 13]], 'dst': [[4, 44]], 'qty': 3, 'freight': 0}, {'src': [], 'dst': [[4, 44], [2, 21], [1, 13]]}]], [['span layers', {'src': [[3, 100], [5, 260]], 'dst': [[2, 90]], 'qty': 6, 'freight': 101}, {'src': [[2, 104]], 'dst': [[2, 90], [3, 151], [3, 206]]}], ['partial residue', {'src': [[3, 101], [4, 77]], 'dst': [], 'qty': 2, 'freight': 13}, {'src': [[1, 34], [4, 77]], 'dst': [[2, 80]]}], ['odd layer value', {'src': [[4, 99], [1, 5]], 'dst': [], 'qty': 3, 'freight': 3}, {'src': [[1, 25], [1, 5]], 'dst': [[3, 77]]}], ['free goods layer', {'src': [[5, 0], [2, 40]], 'dst': [[1, 10]], 'qty': 2, 'freight': 10}, {'src': [[3, 0], [2, 40]], 'dst': [[1, 10], [2, 10]]}], ['uneven freight', {'src': [[1, 50], [1, 60], [5, 300]], 'dst': [], 'qty': 5, 'freight': 16}, {'src': [[2, 120]], 'dst': [[1, 54], [1, 63], [3, 189]]}], ['insufficient', {'src': [[2, 20]], 'dst': [], 'qty': 6, 'freight': 5}, {'error': 'invalid quantity'}], ['nothing requested', {'src': [[2, 20]], 'dst': [], 'qty': 0, 'freight': 5}, {'error': 'invalid quantity'}], ['exact all', {'src': [[2, 21], [1, 14]], 'dst': [[4, 44]], 'qty': 3, 'freight': 0}, {'src': [], 'dst': [[4, 44], [2, 21], [1, 14]]}]], [['span layers', {'src': [[3, 100], [5, 260]], 'dst': [[2, 90]], 'qty': 5, 'freight': 101}, {'src': [[3, 156]], 'dst': [[2, 90], [3, 161], [2, 144]]}], ['partial residue', {'src': [[3, 101], [4, 77]], 'dst': [], 'qty': 2, 'freight': 14}, {'src': [[1, 34], [4, 77]], 'dst': [[2, 81]]}], ['odd layer value', {'src': [[4, 99], [1, 5]], 'dst': [], 'qty': 3, 'freight': 4}, {'src': [[1, 25], [1, 5]], 'dst': [[3, 78]]}], ['free goods layer', {'src': [[5, 0], [2, 40]], 'dst': [[1, 10]], 'qty': 2, 'freight': 11}, {'src': [[3, 0], [2, 40]], 'dst': [[1, 10], [2, 11]]}], ['uneven freight', {'src': [[1, 50], [1, 60], [5, 300]], 'dst': [], 'qty': 5, 'freight': 17}, {'src': [[2, 120]], 'dst': [[1, 54], [1, 63], [3, 190]]}], ['insufficient', {'src': [[2, 20]], 'dst': [], 'qty': 7, 'freight': 5}, {'error': 'invalid quantity'}], ['nothing requested', {'src': [[2, 20]], 'dst': [], 'qty': 0, 'freight': 5}, {'error': 'invalid quantity'}], ['exact all', {'src': [[2, 21], [1, 15]], 'dst': [[4, 44]], 'qty': 3, 'freight': 0}, {'src': [], 'dst': [[4, 44], [2, 21], [1, 15]]}]], [['span layers', {'src': [[3, 100], [5, 260]], 'dst': [[2, 90]], 'qty': 6, 'freight': 101}, {'src': [[2, 104]], 'dst': [[2, 90], [3, 151], [3, 206]]}], ['partial residue', {'src': [[3, 101], [4, 77]], 'dst': [], 'qty': 2, 'freight': 15}, {'src': [[1, 34], [4, 77]], 'dst': [[2, 82]]}], ['odd layer value', {'src': [[4, 99], [1, 5]], 'dst': [], 'qty': 3, 'freight': 5}, {'src': [[1, 25], [1, 5]], 'dst': [[3, 79]]}], ['free goods layer', {'src': [[5, 0], [2, 40]], 'dst': [[1, 10]], 'qty': 2, 'freight': 12}, {'src': [[3, 0], [2, 40]], 'dst': [[1, 10], [2, 12]]}], ['uneven freight', {'src': [[1, 50], [1, 60], [5, 300]], 'dst': [], 'qty': 5, 'freight': 18}, {'src': [[2, 120]], 'dst': [[1, 55], [1, 63], [3, 190]]}], ['insufficient', {'src': [[2, 20]], 'dst': [], 'qty': 8, 'freight': 5}, {'error': 'invalid quantity'}], ['nothing requested', {'src': [[2, 20]], 'dst': [], 'qty': 0, 'freight': 5}, {'error': 'invalid quantity'}], ['exact all', {'src': [[2, 21], [1, 16]], 'dst': [[4, 44]], 'qty': 3, 'freight': 0}, {'src': [], 'dst': [[4, 44], [2, 21], [1, 16]]}]]]\nfor label, args, expected in fixtures[N-1]:\n    check(label, solve(args), expected)\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":"c066ad70ce6220e9e2a426571dc50ef14ae2dbd5dbd5f3c1b80ac108affd01d7","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    src = [list(l) for l in x['src']]\n    dst = [list(l) for l in x['dst']]\n    q = x['qty']\n    if q <= 0 or q > sum(l[0] for l in src):\n        return {'error': 'invalid quantity'}\n    pieces = []\n    while q > 0:\n        lq, lv = src[0]\n        t = min(q, lq)\n        val = lv if t == lq else t * lv // lq\n        pieces.append([t, val])\n        src[0] = [lq - t, lv - val]\n        if src[0][0] == 0:\n            src.pop(0)\n        q -= t\n    fr = x['freight']\n    tq = x['qty']\n    shares = [fr * p[0] // tq for p in pieces]\n    for p, s in zip(pieces, shares):\n        dst.append([p[0], p[1] + s])\n    return {'src': src, 'dst': dst}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['span layers', {'src': [[3, 100], [5, 260]], 'dst': [[2, 90]], 'qty': 6, 'freight': 101}, {'src': [[2, 104]], 'dst': [[2, 90], [3, 151], [3, 206]]}], ['partial residue', {'src': [[3, 101], [4, 77]], 'dst': [], 'qty': 2, 'freight': 11}, {'src': [[1, 34], [4, 77]], 'dst': [[2, 78]]}], ['odd layer value', {'src': [[4, 99], [1, 5]], 'dst': [], 'qty': 3, 'freight': 1}, {'src': [[1, 25], [1, 5]], 'dst': [[3, 75]]}], ['free goods layer', {'src': [[5, 0], [2, 40]], 'dst': [[1, 10]], 'qty': 2, 'freight': 8}, {'src': [[3, 0], [2, 40]], 'dst': [[1, 10], [2, 8]]}], ['uneven freight', {'src': [[1, 50], [1, 60], [5, 300]], 'dst': [], 'qty': 5, 'freight': 14}, {'src': [[2, 120]], 'dst': [[1, 54], [1, 62], [3, 188]]}], ['insufficient', {'src': [[2, 20]], 'dst': [], 'qty': 4, 'freight': 5}, {'error': 'invalid quantity'}], ['nothing requested', {'src': [[2, 20]], 'dst': [], 'qty': 0, 'freight': 5}, {'error': 'invalid quantity'}], ['exact all', {'src': [[2, 21], [1, 12]], 'dst': [[4, 44]], 'qty': 3, 'freight': 0}, {'src': [], 'dst': [[4, 44], [2, 21], [1, 12]]}]], [['span layers', {'src': [[3, 100], [5, 260]], 'dst': [[2, 90]], 'qty': 5, 'freight': 101}, {'src': [[3, 156]], 'dst': [[2, 90], [3, 161], [2, 144]]}], ['partial residue', {'src': [[3, 101], [4, 77]], 'dst': [], 'qty': 2, 'freight': 12}, {'src': [[1, 34], [4, 77]], 'dst': [[2, 79]]}], ['odd layer value', {'src': [[4, 99], [1, 5]], 'dst': [], 'qty': 3, 'freight': 2}, {'src': [[1, 25], [1, 5]], 'dst': [[3, 76]]}], ['free goods layer', {'src': [[5, 0], [2, 40]], 'dst': [[1, 10]], 'qty': 2, 'freight': 9}, {'src': [[3, 0], [2, 40]], 'dst': [[1, 10], [2, 9]]}], ['uneven freight', {'src': [[1, 50], [1, 60], [5, 300]], 'dst': [], 'qty': 5, 'freight': 15}, {'src': [[2, 120]], 'dst': [[1, 53], [1, 63], [3, 189]]}], ['insufficient', {'src': [[2, 20]], 'dst': [], 'qty': 5, 'freight': 5}, {'error': 'invalid quantity'}], ['nothing requested', {'src': [[2, 20]], 'dst': [], 'qty': 0, 'freight': 5}, {'error': 'invalid quantity'}], ['exact all', {'src': [[2, 21], [1, 13]], 'dst': [[4, 44]], 'qty': 3, 'freight': 0}, {'src': [], 'dst': [[4, 44], [2, 21], [1, 13]]}]], [['span layers', {'src': [[3, 100], [5, 260]], 'dst': [[2, 90]], 'qty': 6, 'freight': 101}, {'src': [[2, 104]], 'dst': [[2, 90], [3, 151], [3, 206]]}], ['partial residue', {'src': [[3, 101], [4, 77]], 'dst': [], 'qty': 2, 'freight': 13}, {'src': [[1, 34], [4, 77]], 'dst': [[2, 80]]}], ['odd layer value', {'src': [[4, 99], [1, 5]], 'dst': [], 'qty': 3, 'freight': 3}, {'src': [[1, 25], [1, 5]], 'dst': [[3, 77]]}], ['free goods layer', {'src': [[5, 0], [2, 40]], 'dst': [[1, 10]], 'qty': 2, 'freight': 10}, {'src': [[3, 0], [2, 40]], 'dst': [[1, 10], [2, 10]]}], ['uneven freight', {'src': [[1, 50], [1, 60], [5, 300]], 'dst': [], 'qty': 5, 'freight': 16}, {'src': [[2, 120]], 'dst': [[1, 54], [1, 63], [3, 189]]}], ['insufficient', {'src': [[2, 20]], 'dst': [], 'qty': 6, 'freight': 5}, {'error': 'invalid quantity'}], ['nothing requested', {'src': [[2, 20]], 'dst': [], 'qty': 0, 'freight': 5}, {'error': 'invalid quantity'}], ['exact all', {'src': [[2, 21], [1, 14]], 'dst': [[4, 44]], 'qty': 3, 'freight': 0}, {'src': [], 'dst': [[4, 44], [2, 21], [1, 14]]}]], [['span layers', {'src': [[3, 100], [5, 260]], 'dst': [[2, 90]], 'qty': 5, 'freight': 101}, {'src': [[3, 156]], 'dst': [[2, 90], [3, 161], [2, 144]]}], ['partial residue', {'src': [[3, 101], [4, 77]], 'dst': [], 'qty': 2, 'freight': 14}, {'src': [[1, 34], [4, 77]], 'dst': [[2, 81]]}], ['odd layer value', {'src': [[4, 99], [1, 5]], 'dst': [], 'qty': 3, 'freight': 4}, {'src': [[1, 25], [1, 5]], 'dst': [[3, 78]]}], ['free goods layer', {'src': [[5, 0], [2, 40]], 'dst': [[1, 10]], 'qty': 2, 'freight': 11}, {'src': [[3, 0], [2, 40]], 'dst': [[1, 10], [2, 11]]}], ['uneven freight', {'src': [[1, 50], [1, 60], [5, 300]], 'dst': [], 'qty': 5, 'freight': 17}, {'src': [[2, 120]], 'dst': [[1, 54], [1, 63], [3, 190]]}], ['insufficient', {'src': [[2, 20]], 'dst': [], 'qty': 7, 'freight': 5}, {'error': 'invalid quantity'}], ['nothing requested', {'src': [[2, 20]], 'dst': [], 'qty': 0, 'freight': 5}, {'error': 'invalid quantity'}], ['exact all', {'src': [[2, 21], [1, 15]], 'dst': [[4, 44]], 'qty': 3, 'freight': 0}, {'src': [], 'dst': [[4, 44], [2, 21], [1, 15]]}]], [['span layers', {'src': [[3, 100], [5, 260]], 'dst': [[2, 90]], 'qty': 6, 'freight': 101}, {'src': [[2, 104]], 'dst': [[2, 90], [3, 151], [3, 206]]}], ['partial residue', {'src': [[3, 101], [4, 77]], 'dst': [], 'qty': 2, 'freight': 15}, {'src': [[1, 34], [4, 77]], 'dst': [[2, 82]]}], ['odd layer value', {'src': [[4, 99], [1, 5]], 'dst': [], 'qty': 3, 'freight': 5}, {'src': [[1, 25], [1, 5]], 'dst': [[3, 79]]}], ['free goods layer', {'src': [[5, 0], [2, 40]], 'dst': [[1, 10]], 'qty': 2, 'freight': 12}, {'src': [[3, 0], [2, 40]], 'dst': [[1, 10], [2, 12]]}], ['uneven freight', {'src': [[1, 50], [1, 60], [5, 300]], 'dst': [], 'qty': 5, 'freight': 18}, {'src': [[2, 120]], 'dst': [[1, 55], [1, 63], [3, 190]]}], ['insufficient', {'src': [[2, 20]], 'dst': [], 'qty': 8, 'freight': 5}, {'error': 'invalid quantity'}], ['nothing requested', {'src': [[2, 20]], 'dst': [], 'qty': 0, 'freight': 5}, {'error': 'invalid quantity'}], ['exact all', {'src': [[2, 21], [1, 16]], 'dst': [[4, 44]], 'qty': 3, 'freight': 0}, {'src': [], 'dst': [[4, 44], [2, 21], [1, 16]]}]]]\nfor label, args, expected in fixtures[N-1]:\n    check(label, solve(args), expected)\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 bounded teaching model with explicit toy rules; not an accounting-standard implementation. 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":"w2-inventory-cost-layering-warehouse-transfer-layers-freight-residual-cents","generated_at":"2026-09-29T14:46:43.449550+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Inventory valuation and cost-of-goods decisions depend on this rule.","root_cause":"Residual cents after flooring freight shares are never assigned.","sha256":"06a95ea05e1355c82650f475e3c9b05ad29a51a091d2cea1d63d48fe061003f1","title":"Inter-warehouse transfer of cost layers: freight residual cents · 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":38.841,"exit_code":1,"observations":[{"actual":{"dst":[[2,90],[3,150],[3,207]],"src":[[2,104]]},"check":"span layers","expected":{"dst":[[2,90],[3,151],[3,206]],"src":[[2,104]]},"passed":false},{"actual":{"dst":[[2,78]],"src":[[1,34],[4,77]]},"check":"partial residue","expected":{"dst":[[2,78]],"src":[[1,34],[4,77]]},"passed":true},{"actual":{"dst":[[3,75]],"src":[[1,25],[1,5]]},"check":"odd layer value","expected":{"dst":[[3,75]],"src":[[1,25],[1,5]]},"passed":true},{"actual":{"dst":[[1,10],[2,8]],"src":[[3,0],[2,40]]},"check":"free goods layer","expected":{"dst":[[1,10],[2,8]],"src":[[3,0],[2,40]]},"passed":true},{"actual":{"dst":[[1,52],[1,62],[3,190]],"src":[[2,120]]},"check":"uneven freight","expected":{"dst":[[1,54],[1,62],[3,188]],"src":[[2,120]]},"passed":false},{"actual":{"error":"invalid quantity"},"check":"insufficient","expected":{"error":"invalid quantity"},"passed":true},{"actual":{"error":"invalid quantity"},"check":"nothing requested","expected":{"error":"invalid quantity"},"passed":true},{"actual":{"dst":[[4,44],[2,21],[1,12]],"src":[]},"check":"exact all","expected":{"dst":[[4,44],[2,21],[1,12]],"src":[]},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"span layers\", \"actual\": {\"src\": [[2, 104]], \"dst\": [[2, 90], [3, 150], [3, 207]]}, \"expected\": {\"src\": [[2, 104]], \"dst\": [[2, 90], [3, 151], [3, 206]]}, \"passed\": false}, {\"check\": \"partial residue\", \"actual\": {\"src\": [[1, 34], [4, 77]], \"dst\": [[2, 78]]}, \"expected\": {\"src\": [[1, 34], [4, 77]], \"dst\": [[2, 78]]}, \"passed\": true}, {\"check\": \"odd layer value\", \"actual\": {\"src\": [[1, 25], [1, 5]], \"dst\": [[3, 75]]}, \"expected\": {\"src\": [[1, 25], [1, 5]], \"dst\": [[3, 75]]}, \"passed\": true}, {\"check\": \"free goods layer\", \"actual\": {\"src\": [[3, 0], [2, 40]], \"dst\": [[1, 10], [2, 8]]}, \"expected\": {\"src\": [[3, 0], [2, 40]], \"dst\": [[1, 10], [2, 8]]}, \"passed\": true}, {\"check\": \"uneven freight\", \"actual\": {\"src\": [[2, 120]], \"dst\": [[1, 52], [1, 62], [3, 190]]}, \"expected\": {\"src\": [[2, 120]], \"dst\": [[1, 54], [1, 62], [3, 188]]}, \"passed\": false}, {\"check\": \"insufficient\", \"actual\": {\"error\": \"invalid quantity\"}, \"expected\": {\"error\": \"invalid quantity\"}, \"passed\": true}, {\"check\": \"nothing requested\", \"actual\": {\"error\": \"invalid quantity\"}, \"expected\": {\"error\": \"invalid quantity\"}, \"passed\": true}, {\"check\": \"exact all\", \"actual\": {\"src\": [], \"dst\": [[4, 44], [2, 21], [1, 12]]}, \"expected\": {\"src\": [], \"dst\": [[4, 44], [2, 21], [1, 12]]}, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.584,"exit_code":1,"observations":[{"actual":{"dst":[[2,90],[3,150],[3,206]],"src":[[2,104]]},"check":"span layers","expected":{"dst":[[2,90],[3,151],[3,206]],"src":[[2,104]]},"passed":false},{"actual":{"dst":[[2,78]],"src":[[1,34],[4,77]]},"check":"partial residue","expected":{"dst":[[2,78]],"src":[[1,34],[4,77]]},"passed":true},{"actual":{"dst":[[3,75]],"src":[[1,25],[1,5]]},"check":"odd layer value","expected":{"dst":[[3,75]],"src":[[1,25],[1,5]]},"passed":true},{"actual":{"dst":[[1,10],[2,8]],"src":[[3,0],[2,40]]},"check":"free goods layer","expected":{"dst":[[1,10],[2,8]],"src":[[3,0],[2,40]]},"passed":true},{"actual":{"dst":[[1,52],[1,62],[3,188]],"src":[[2,120]]},"check":"uneven freight","expected":{"dst":[[1,54],[1,62],[3,188]],"src":[[2,120]]},"passed":false},{"actual":{"error":"invalid quantity"},"check":"insufficient","expected":{"error":"invalid quantity"},"passed":true},{"actual":{"error":"invalid quantity"},"check":"nothing requested","expected":{"error":"invalid quantity"},"passed":true},{"actual":{"dst":[[4,44],[2,21],[1,12]],"src":[]},"check":"exact all","expected":{"dst":[[4,44],[2,21],[1,12]],"src":[]},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"span layers\", \"actual\": {\"src\": [[2, 104]], \"dst\": [[2, 90], [3, 150], [3, 206]]}, \"expected\": {\"src\": [[2, 104]], \"dst\": [[2, 90], [3, 151], [3, 206]]}, \"passed\": false}, {\"check\": \"partial residue\", \"actual\": {\"src\": [[1, 34], [4, 77]], \"dst\": [[2, 78]]}, \"expected\": {\"src\": [[1, 34], [4, 77]], \"dst\": [[2, 78]]}, \"passed\": true}, {\"check\": \"odd layer value\", \"actual\": {\"src\": [[1, 25], [1, 5]], \"dst\": [[3, 75]]}, \"expected\": {\"src\": [[1, 25], [1, 5]], \"dst\": [[3, 75]]}, \"passed\": true}, {\"check\": \"free goods layer\", \"actual\": {\"src\": [[3, 0], [2, 40]], \"dst\": [[1, 10], [2, 8]]}, \"expected\": {\"src\": [[3, 0], [2, 40]], \"dst\": [[1, 10], [2, 8]]}, \"passed\": true}, {\"check\": \"uneven freight\", \"actual\": {\"src\": [[2, 120]], \"dst\": [[1, 52], [1, 62], [3, 188]]}, \"expected\": {\"src\": [[2, 120]], \"dst\": [[1, 54], [1, 62], [3, 188]]}, \"passed\": false}, {\"check\": \"insufficient\", \"actual\": {\"error\": \"invalid quantity\"}, \"expected\": {\"error\": \"invalid quantity\"}, \"passed\": true}, {\"check\": \"nothing requested\", \"actual\": {\"error\": \"invalid quantity\"}, \"expected\": {\"error\": \"invalid quantity\"}, \"passed\": true}, {\"check\": \"exact all\", \"actual\": {\"src\": [], \"dst\": [[4, 44], [2, 21], [1, 12]]}, \"expected\": {\"src\": [], \"dst\": [[4, 44], [2, 21], [1, 12]]}, \"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."}}