{"abstract":"Every drawn piece carries the same freight regardless of how many units it holds.","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":"Splitting by piece value loads freight onto expensive layers.","family":"w2-inventory-cost-layering-warehouse-transfer-layers-freight-split-basis","id":"FA-60196","implementations":{"attempt":{"sha256":"9a563be6a9e89218d16d9144e3bbfc811867cc5075d9129f93f663f2745a925d","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[1] // max(1, sum(pp[1] for pp in pieces)) for p in pieces]\n    shares[0] += 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":"16345d03bd0bf512f2414754b2006cf7b2291f39b414de413c3149da153e3b92","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 // len(pieces) for p in pieces]\n    shares[0] += 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"}},"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-split-basis","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":"Freight is divided equally per piece instead of by quantity.","sha256":"252006a21de648c982d2e2b5641f27074398b285b8deaab2772fe62bd1e44c78","title":"Inter-warehouse transfer of cost layers: freight split basis · 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":42.177,"exit_code":1,"observations":[{"actual":{"dst":[[2,90],[3,140],[3,217]],"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,54],[1,62],[3,188]],"src":[[2,120]]},"check":"uneven freight","expected":{"dst":[[1,54],[1,62],[3,188]],"src":[[2,120]]},"passed":true},{"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, 140], [3, 217]]}, \"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, 54], [1, 62], [3, 188]]}, \"expected\": {\"src\": [[2, 120]], \"dst\": [[1, 54], [1, 62], [3, 188]]}, \"passed\": true}, {\"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":40.071,"exit_code":1,"observations":[{"actual":{"dst":[[2,90],[3,151],[3,206]],"src":[[2,104]]},"check":"span layers","expected":{"dst":[[2,90],[3,151],[3,206]],"src":[[2,104]]},"passed":true},{"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,56],[1,64],[3,184]],"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, 151], [3, 206]]}, \"expected\": {\"src\": [[2, 104]], \"dst\": [[2, 90], [3, 151], [3, 206]]}, \"passed\": true}, {\"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, 56], [1, 64], [3, 184]]}, \"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."}}