{"abstract":"Objects resting exactly at the sweep boundary are skipped.","category":"Collision detection broadphase","checks":8,"contract":"solve(box, vel, dt, margin, others): CCD broadphase bounds. Swept box = union of box at t and t+dt expanded by margin on all sides. fast = displacement length > half the smaller box extent. Return [swept rounded to 6, fast, sorted ids of others ([id,minx,miny,maxx,maxy]) overlapping the swept box with closed intervals].","contract_signature":"box, vel, dt, margin, others","evaluation_group":"w2-collision_detection_broadphase-swept-ccd-bounds","failed_approach":"Testing only the x interval admits distant objects.","family":"w2-collision_detection_broadphase-swept-ccd-bounds-swept-overlap-test","id":"FA-87706","implementations":{"attempt":{"sha256":"7f17b29de05100f5fa58e95ddfba531dbb79290188923915a7813e1235134167","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(box, vel, dt, margin, others):\n    dx, dy = vel[0] * dt, vel[1] * dt\n    sw = [min(box[0], box[0] + dx) - margin, min(box[1], box[1] + dy) - margin,\n          max(box[2], box[2] + dx) + margin, max(box[3], box[3] + dy) + margin]\n    ext = min(box[2] - box[0], box[3] - box[1])\n    fast = math.hypot(dx, dy) > 0.5 * ext\n    hits = sorted(o[0] for o in others if o[1] <= sw[2] and sw[0] <= o[3])\n    return [[round(c, 6) for c in sw], fast, hits]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[[[[1, 1, 1.5, 4], [8, 16], 0.25, 0.5, [[15, 3, 0, 5, 2], [18, 4, 8, 4, 8], [28, 8, 4, 9, 4], [19, 0, -3, 1, -2], [16, -5, 7, -5, 8]]], [[0.5, 0.5, 4.0, 8.5], True, [15, 18]]], [[[-4, -4, -3.5, -3.5], [-12, 16], 0.125, 0.0, [[20, 8, 0, 10, 0], [1, -8, 8, -8, 8], [29, 1, 2, 3, 2]]], [[-5.5, -4.0, -3.5, -1.5], True, []]], [[[3, -4, 5, -3.5], [2, -3], 0.125, 0.25, [[7, -7, -3, -6, -1], [3, 3, -3, 5, -3], [24, 5, -7, 7, -6]]], [[2.75, -4.625, 5.5, -3.25], True, []]], [[[0, 0, 0.5, 1], [-12, 16], 0.125, 0.5, [[17, 4, 1, 5, 2], [13, 6, 7, 6, 9], [2, 1, 0, 2, 0], [26, -7, 1, -6, 1], [27, 2, 3, 2, 4]]], [[-2.0, -0.5, 1.0, 3.5], True, [2]]], [[[2, 4, 4, 5], [8, 3], 0.0625, 0.0, [[4, -5, 1, -4, 2], [8, 2, -8, 4, -6]]], [[2.0, 4.0, 4.5, 5.1875], True, []]], [[[-2, 2, 0, 2.5], [-2, 16], 0.25, 0.5, [[27, 2, 1, 2, 3], [24, 7, -8, 7, -7], [7, -1, 7, 0, 8], [14, -2, 6, -1, 7], [18, 2, -8, 2, -7]]], [[-3.0, 1.5, 0.5, 7.0], True, [7, 14]]], [[[1, -2, 2, -1], [-12, 16], 0.125, 0.25, [[3, -4, 5, -4, 6], [10, -1, 8, -1, 9], [8, 0, 5, 2, 5]]], [[-0.75, -2.25, 2.25, 1.25], True, []]], [[[0, 4, 2, 5], [8, 3], 0.25, 0.5, [[4, -6, 8, -6, 10], [19, 2, -1, 3, 1], [25, -5, 6, -4, 7], [20, 2, -5, 2, -3]]], [[-0.5, 3.5, 4.5, 6.25], True, []]]], [[[[3, -2, 3.5, -1.5], [30, 0], 0.25, 0.0, [[7, -1, 1, -1, 1], [24, -5, 4, -4, 5], [17, 3, 1, 3, 2]]], [[3.0, -2.0, 11.0, -1.5], True, []]], [[[2, -2, 2.5, 1], [-2, -20], 0.25, 0.0, [[27, 4, 3, 5, 5], [24, 2, 4, 4, 4]]], [[1.5, -7.0, 2.5, 1.0], True, []]], [[[-2, 4, 0, 7], [2, -20], 0.125, 0.5, [[4, -1, -1, 1, -1], [15, 8, 4, 8, 6], [18, -7, 6, -6, 8], [6, -5, 4, -3, 6], [12, -8, 0, -8, 0]]], [[-2.5, 1.0, 0.75, 7.5], True, []]], [[[4, 0, 4.5, 0.5], [0, -20], 0.0625, 0.25, [[19, -3, -8, -2, -8], [13, -5, -1, -3, -1], [29, -7, 2, -6, 2], [14, -8, 7, -7, 7], [10, 3, -5, 5, -3]]], [[3.75, -1.5, 4.75, 0.75], True, []]], [[[2, 2, 2.5, 2.5], [8, 0], 0.25, 0.0, [[19, 0, 6, 2, 8], [10, 2, 4, 4, 5], [22, 5, 4, 6, 5], [28, -3, 3, -2, 3], [2, -8, 7, -8, 8]]], [[2.0, 2.0, 4.5, 2.5], True, []]], [[[4, -3, 4.5, -2.5], [-2, -20], 0.25, 0.5, [[21, 7, 2, 9, 3], [16, 3, -5, 3, -5], [7, 0, 7, 2, 7], [23, 7, -5, 8, -3]]], [[3.0, -8.5, 5.0, -2.0], True, [16]]], [[[-3, -3, -1, -2], [-12, 3], 0.0625, 0.5, [[3, -3, -5, -1, -5], [24, -6, -2, -5, -1]]], [[-4.25, -3.5, -0.5, -1.3125], True, []]], [[[-4, 2, -2, 2.5], [-12, 3], 0.25, 0.0, [[13, 2, 8, 3, 9], [18, 2, -8, 4, -7], [28, -7, 3, -7, 4], [3, 5, -6, 5, -4]]], [[-7.0, 2.0, -2.0, 3.25], True, [28]]]], [[[[3, -2, 3.5, -1], [2, 0], 0.125, 0.0, [[7, 3, 4, 3, 6], [18, 0, -1, 2, 0], [23, -3, -8, -1, -8]]], [[3.0, -2.0, 3.75, -1.0], False, []]], [[[-3, -4, -2.5, -3], [-12, -20], 0.0625, 0.5, [[20, 2, 1, 2, 1], [8, -1, 5, -1, 7]]], [[-4.25, -5.75, -2.0, -2.5], True, []]], [[[3, -1, 4, 2], [0, -3], 0.125, 0.0, [[21, 5, 8, 7, 10], [9, -6, 3, -6, 3], [11, 4, -2, 5, -1]]], [[3.0, -1.375, 4.0, 2.0], False, [11]]], [[[-3, -3, -1, 0], [8, -3], 0.25, 0.0, [[26, 5, -2, 6, 0], [28, 6, 0, 8, 0], [2, 1, -3, 1, -3], [16, 3, 7, 4, 8]]], [[-3.0, -3.75, 1.0, 0.0], True, [2]]], [[[-2, -2, -1, -1.5], [-2, -3], 0.0625, 0.25, [[14, 0, 7, 0, 8], [20, -2, 2, -1, 4]]], [[-2.375, -2.4375, -0.75, -1.25], False, []]], [[[-3, -2, -2, -1], [-2, -3], 0.25, 0.5, [[29, -1, -6, 1, -6], [3, -3, -5, -2, -4], [13, -8, 0, -6, 0]]], [[-4.0, -3.25, -1.5, -0.5], True, []]], [[[0, 0, 1, 3], [2, 0], 0.125, 0.25, [[17, 8, -3, 8, -1], [4, 7, 2, 8, 4], [1, 6, 2, 8, 4], [11, 8, 5, 10, 7], [8, -3, 5, -2, 5]]], [[-0.25, -0.25, 1.5, 3.25], False, []]], [[[0, 3, 0.5, 3.5], [8, 16], 0.0625, 0.0, [[28, -6, -3, -5, -2], [9, -7, -1, -5, -1], [19, -8, -3, -6, -1], [26, 0, 1, 0, 3], [13, -6, -2, -5, 0]]], [[0.0, 3.0, 1.0, 4.5], True, [26]]]], [[[[-3, -3, -2.5, -2.5], [2, 16], 0.25, 0.25, [[7, -5, 6, -5, 8], [16, -1, 7, 0, 9], [26, 4, 7, 6, 8], [27, 4, 4, 6, 5]]], [[-3.25, -3.25, -1.75, 1.75], True, []]], [[[4, -1, 6, -0.5], [0, 3], 0.125, 0.25, [[28, 8, 6, 10, 7], [27, -7, 4, -6, 5], [11, 6, 6, 8, 8], [9, -4, 2, -4, 2], [4, 4, -4, 6, -3]]], [[3.75, -1.25, 6.25, 0.125], True, []]], [[[3, 2, 5, 5], [-12, -3], 0.0625, 0.25, [[16, 1, -1, 2, 1]]], [[2.0, 1.5625, 5.25, 5.25], False, []]], [[[0, 2, 1, 3], [0, -3], 0.0625, 0.0, [[5, -4, 2, -4, 4], [10, 1, 3, 1, 4], [15, 0, 2, 1, 4], [12, -4, -4, -3, -4]]], [[0.0, 1.8125, 1.0, 3.0], False, [10, 15]]], [[[-3, -1, -2, -0.5], [-12, -3], 0.25, 0.5, [[25, -1, 6, -1, 8], [6, -4, 0, -2, 1], [5, -6, 7, -5, 7], [27, 5, 7, 5, 7]]], [[-6.5, -2.25, -1.5, 0.0], True, [6]]], [[[-4, -1, -3, -0.5], [-12, -3], 0.25, 0.25, [[5, 3, -4, 5, -3], [15, -5, -2, -5, -2], [1, 3, -1, 5, 1]]], [[-7.25, -2.0, -2.75, -0.25], True, [15]]], [[[-3, -4, -1, -1], [-12, -20], 0.0625, 0.25, [[11, 5, -8, 6, -7]]], [[-4.0, -5.5, -0.75, -0.75], True, []]], [[[3, 0, 3.5, 3], [0, 0], 0.25, 0.0, [[4, 1, -4, 3, -3], [6, -7, -1, -5, 0]]], [[3.0, 0.0, 3.5, 3.0], False, []]]], [[[[-2, 4, 0, 4.5], [30, 3], 0.125, 0.0, [[9, -1, -5, -1, -4], [4, 6, -1, 6, -1]]], [[-2.0, 4.0, 3.75, 4.875], True, []]], [[[-4, 3, -3, 6], [0, 0], 0.125, 0.0, [[1, -7, -5, -6, -3], [28, -8, 4, -6, 5], [29, -4, 2, -3, 3], [23, 8, -7, 8, -6], [7, 1, -2, 2, -2]]], [[-4.0, 3.0, -3.0, 6.0], False, [29]]], [[[4, -3, 6, 0], [30, -20], 0.25, 0.25, [[25, -8, 3, -6, 3], [12, 6, 1, 8, 1], [20, -1, -6, -1, -6], [5, 7, 4, 7, 4], [18, 3, 7, 4, 7]]], [[3.75, -8.25, 13.75, 0.25], True, []]], [[[0, 4, 2, 4.5], [2, 16], 0.125, 0.0, [[8, 2, 4, 3, 4], [4, 2, -4, 2, -2], [19, 8, 6, 10, 6]]], [[0.0, 4.0, 2.25, 6.5], True, [8]]], [[[-3, 0, -2, 0.5], [0, -20], 0.125, 0.25, [[18, -2, -7, -1, -7], [9, 8, 7, 10, 8]]], [[-3.25, -2.75, -1.75, 0.75], True, []]], [[[2, 2, 4, 2.5], [-12, -3], 0.25, 0.25, [[5, -1, -7, -1, -6], [6, 0, 4, 0, 6]]], [[-1.25, 1.0, 4.25, 2.75], True, []]], [[[-3, 4, -2, 5], [2, 16], 0.25, 0.5, [[16, 1, 6, 2, 6], [24, 4, 4, 5, 5], [28, 0, 7, 2, 7], [29, -5, 8, -5, 8]]], [[-3.5, 3.5, -1.0, 9.5], True, []]], [[[0, 3, 1, 3.5], [-2, 16], 0.0625, 0.0, [[24, 3, -7, 5, -5], [4, 3, -1, 4, -1]]], [[-0.125, 3.0, 1.0, 4.5], True, []]]]]\nfor i, (args, expected) in enumerate(fixtures[N-1]):\n    check(\"case %d\" % i, 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":"93979af9e5969b259a1a11d77643a299685c37b4ba11b77f2e2812278ac575d7","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(box, vel, dt, margin, others):\n    dx, dy = vel[0] * dt, vel[1] * dt\n    sw = [min(box[0], box[0] + dx) - margin, min(box[1], box[1] + dy) - margin,\n          max(box[2], box[2] + dx) + margin, max(box[3], box[3] + dy) + margin]\n    ext = min(box[2] - box[0], box[3] - box[1])\n    fast = math.hypot(dx, dy) > 0.5 * ext\n    hits = sorted(o[0] for o in others if o[1] < sw[2] and sw[0] < o[3] and o[2] < sw[3] and sw[1] < o[4])\n    return [[round(c, 6) for c in sw], fast, hits]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[[[[1, 1, 1.5, 4], [8, 16], 0.25, 0.5, [[15, 3, 0, 5, 2], [18, 4, 8, 4, 8], [28, 8, 4, 9, 4], [19, 0, -3, 1, -2], [16, -5, 7, -5, 8]]], [[0.5, 0.5, 4.0, 8.5], True, [15, 18]]], [[[-4, -4, -3.5, -3.5], [-12, 16], 0.125, 0.0, [[20, 8, 0, 10, 0], [1, -8, 8, -8, 8], [29, 1, 2, 3, 2]]], [[-5.5, -4.0, -3.5, -1.5], True, []]], [[[3, -4, 5, -3.5], [2, -3], 0.125, 0.25, [[7, -7, -3, -6, -1], [3, 3, -3, 5, -3], [24, 5, -7, 7, -6]]], [[2.75, -4.625, 5.5, -3.25], True, []]], [[[0, 0, 0.5, 1], [-12, 16], 0.125, 0.5, [[17, 4, 1, 5, 2], [13, 6, 7, 6, 9], [2, 1, 0, 2, 0], [26, -7, 1, -6, 1], [27, 2, 3, 2, 4]]], [[-2.0, -0.5, 1.0, 3.5], True, [2]]], [[[2, 4, 4, 5], [8, 3], 0.0625, 0.0, [[4, -5, 1, -4, 2], [8, 2, -8, 4, -6]]], [[2.0, 4.0, 4.5, 5.1875], True, []]], [[[-2, 2, 0, 2.5], [-2, 16], 0.25, 0.5, [[27, 2, 1, 2, 3], [24, 7, -8, 7, -7], [7, -1, 7, 0, 8], [14, -2, 6, -1, 7], [18, 2, -8, 2, -7]]], [[-3.0, 1.5, 0.5, 7.0], True, [7, 14]]], [[[1, -2, 2, -1], [-12, 16], 0.125, 0.25, [[3, -4, 5, -4, 6], [10, -1, 8, -1, 9], [8, 0, 5, 2, 5]]], [[-0.75, -2.25, 2.25, 1.25], True, []]], [[[0, 4, 2, 5], [8, 3], 0.25, 0.5, [[4, -6, 8, -6, 10], [19, 2, -1, 3, 1], [25, -5, 6, -4, 7], [20, 2, -5, 2, -3]]], [[-0.5, 3.5, 4.5, 6.25], True, []]]], [[[[3, -2, 3.5, -1.5], [30, 0], 0.25, 0.0, [[7, -1, 1, -1, 1], [24, -5, 4, -4, 5], [17, 3, 1, 3, 2]]], [[3.0, -2.0, 11.0, -1.5], True, []]], [[[2, -2, 2.5, 1], [-2, -20], 0.25, 0.0, [[27, 4, 3, 5, 5], [24, 2, 4, 4, 4]]], [[1.5, -7.0, 2.5, 1.0], True, []]], [[[-2, 4, 0, 7], [2, -20], 0.125, 0.5, [[4, -1, -1, 1, -1], [15, 8, 4, 8, 6], [18, -7, 6, -6, 8], [6, -5, 4, -3, 6], [12, -8, 0, -8, 0]]], [[-2.5, 1.0, 0.75, 7.5], True, []]], [[[4, 0, 4.5, 0.5], [0, -20], 0.0625, 0.25, [[19, -3, -8, -2, -8], [13, -5, -1, -3, -1], [29, -7, 2, -6, 2], [14, -8, 7, -7, 7], [10, 3, -5, 5, -3]]], [[3.75, -1.5, 4.75, 0.75], True, []]], [[[2, 2, 2.5, 2.5], [8, 0], 0.25, 0.0, [[19, 0, 6, 2, 8], [10, 2, 4, 4, 5], [22, 5, 4, 6, 5], [28, -3, 3, -2, 3], [2, -8, 7, -8, 8]]], [[2.0, 2.0, 4.5, 2.5], True, []]], [[[4, -3, 4.5, -2.5], [-2, -20], 0.25, 0.5, [[21, 7, 2, 9, 3], [16, 3, -5, 3, -5], [7, 0, 7, 2, 7], [23, 7, -5, 8, -3]]], [[3.0, -8.5, 5.0, -2.0], True, [16]]], [[[-3, -3, -1, -2], [-12, 3], 0.0625, 0.5, [[3, -3, -5, -1, -5], [24, -6, -2, -5, -1]]], [[-4.25, -3.5, -0.5, -1.3125], True, []]], [[[-4, 2, -2, 2.5], [-12, 3], 0.25, 0.0, [[13, 2, 8, 3, 9], [18, 2, -8, 4, -7], [28, -7, 3, -7, 4], [3, 5, -6, 5, -4]]], [[-7.0, 2.0, -2.0, 3.25], True, [28]]]], [[[[3, -2, 3.5, -1], [2, 0], 0.125, 0.0, [[7, 3, 4, 3, 6], [18, 0, -1, 2, 0], [23, -3, -8, -1, -8]]], [[3.0, -2.0, 3.75, -1.0], False, []]], [[[-3, -4, -2.5, -3], [-12, -20], 0.0625, 0.5, [[20, 2, 1, 2, 1], [8, -1, 5, -1, 7]]], [[-4.25, -5.75, -2.0, -2.5], True, []]], [[[3, -1, 4, 2], [0, -3], 0.125, 0.0, [[21, 5, 8, 7, 10], [9, -6, 3, -6, 3], [11, 4, -2, 5, -1]]], [[3.0, -1.375, 4.0, 2.0], False, [11]]], [[[-3, -3, -1, 0], [8, -3], 0.25, 0.0, [[26, 5, -2, 6, 0], [28, 6, 0, 8, 0], [2, 1, -3, 1, -3], [16, 3, 7, 4, 8]]], [[-3.0, -3.75, 1.0, 0.0], True, [2]]], [[[-2, -2, -1, -1.5], [-2, -3], 0.0625, 0.25, [[14, 0, 7, 0, 8], [20, -2, 2, -1, 4]]], [[-2.375, -2.4375, -0.75, -1.25], False, []]], [[[-3, -2, -2, -1], [-2, -3], 0.25, 0.5, [[29, -1, -6, 1, -6], [3, -3, -5, -2, -4], [13, -8, 0, -6, 0]]], [[-4.0, -3.25, -1.5, -0.5], True, []]], [[[0, 0, 1, 3], [2, 0], 0.125, 0.25, [[17, 8, -3, 8, -1], [4, 7, 2, 8, 4], [1, 6, 2, 8, 4], [11, 8, 5, 10, 7], [8, -3, 5, -2, 5]]], [[-0.25, -0.25, 1.5, 3.25], False, []]], [[[0, 3, 0.5, 3.5], [8, 16], 0.0625, 0.0, [[28, -6, -3, -5, -2], [9, -7, -1, -5, -1], [19, -8, -3, -6, -1], [26, 0, 1, 0, 3], [13, -6, -2, -5, 0]]], [[0.0, 3.0, 1.0, 4.5], True, [26]]]], [[[[-3, -3, -2.5, -2.5], [2, 16], 0.25, 0.25, [[7, -5, 6, -5, 8], [16, -1, 7, 0, 9], [26, 4, 7, 6, 8], [27, 4, 4, 6, 5]]], [[-3.25, -3.25, -1.75, 1.75], True, []]], [[[4, -1, 6, -0.5], [0, 3], 0.125, 0.25, [[28, 8, 6, 10, 7], [27, -7, 4, -6, 5], [11, 6, 6, 8, 8], [9, -4, 2, -4, 2], [4, 4, -4, 6, -3]]], [[3.75, -1.25, 6.25, 0.125], True, []]], [[[3, 2, 5, 5], [-12, -3], 0.0625, 0.25, [[16, 1, -1, 2, 1]]], [[2.0, 1.5625, 5.25, 5.25], False, []]], [[[0, 2, 1, 3], [0, -3], 0.0625, 0.0, [[5, -4, 2, -4, 4], [10, 1, 3, 1, 4], [15, 0, 2, 1, 4], [12, -4, -4, -3, -4]]], [[0.0, 1.8125, 1.0, 3.0], False, [10, 15]]], [[[-3, -1, -2, -0.5], [-12, -3], 0.25, 0.5, [[25, -1, 6, -1, 8], [6, -4, 0, -2, 1], [5, -6, 7, -5, 7], [27, 5, 7, 5, 7]]], [[-6.5, -2.25, -1.5, 0.0], True, [6]]], [[[-4, -1, -3, -0.5], [-12, -3], 0.25, 0.25, [[5, 3, -4, 5, -3], [15, -5, -2, -5, -2], [1, 3, -1, 5, 1]]], [[-7.25, -2.0, -2.75, -0.25], True, [15]]], [[[-3, -4, -1, -1], [-12, -20], 0.0625, 0.25, [[11, 5, -8, 6, -7]]], [[-4.0, -5.5, -0.75, -0.75], True, []]], [[[3, 0, 3.5, 3], [0, 0], 0.25, 0.0, [[4, 1, -4, 3, -3], [6, -7, -1, -5, 0]]], [[3.0, 0.0, 3.5, 3.0], False, []]]], [[[[-2, 4, 0, 4.5], [30, 3], 0.125, 0.0, [[9, -1, -5, -1, -4], [4, 6, -1, 6, -1]]], [[-2.0, 4.0, 3.75, 4.875], True, []]], [[[-4, 3, -3, 6], [0, 0], 0.125, 0.0, [[1, -7, -5, -6, -3], [28, -8, 4, -6, 5], [29, -4, 2, -3, 3], [23, 8, -7, 8, -6], [7, 1, -2, 2, -2]]], [[-4.0, 3.0, -3.0, 6.0], False, [29]]], [[[4, -3, 6, 0], [30, -20], 0.25, 0.25, [[25, -8, 3, -6, 3], [12, 6, 1, 8, 1], [20, -1, -6, -1, -6], [5, 7, 4, 7, 4], [18, 3, 7, 4, 7]]], [[3.75, -8.25, 13.75, 0.25], True, []]], [[[0, 4, 2, 4.5], [2, 16], 0.125, 0.0, [[8, 2, 4, 3, 4], [4, 2, -4, 2, -2], [19, 8, 6, 10, 6]]], [[0.0, 4.0, 2.25, 6.5], True, [8]]], [[[-3, 0, -2, 0.5], [0, -20], 0.125, 0.25, [[18, -2, -7, -1, -7], [9, 8, 7, 10, 8]]], [[-3.25, -2.75, -1.75, 0.75], True, []]], [[[2, 2, 4, 2.5], [-12, -3], 0.25, 0.25, [[5, -1, -7, -1, -6], [6, 0, 4, 0, 6]]], [[-1.25, 1.0, 4.25, 2.75], True, []]], [[[-3, 4, -2, 5], [2, 16], 0.25, 0.5, [[16, 1, 6, 2, 6], [24, 4, 4, 5, 5], [28, 0, 7, 2, 7], [29, -5, 8, -5, 8]]], [[-3.5, 3.5, -1.0, 9.5], True, []]], [[[0, 3, 1, 3.5], [-2, 16], 0.0625, 0.0, [[24, 3, -7, 5, -5], [4, 3, -1, 4, -1]]], [[-0.125, 3.0, 1.0, 4.5], True, []]]]]\nfor i, (args, expected) in enumerate(fixtures[N-1]):\n    check(\"case %d\" % i, 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":"A deterministic bounded teaching model with stipulated toy conventions; not a production physics engine or spatial index. 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-collision_detection_broadphase-swept-ccd-bounds-swept-overlap-test","generated_at":"2026-09-29T14:51:01.273942+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Broadphase stages decide which object pairs ever reach narrowphase; a wrong boundary, ordering or bookkeeping rule silently drops real contacts or floods the solver with false candidates.","root_cause":"The overlap test uses strict comparisons.","sha256":"17fb8f9f79af2de7523555b9b8204de75f64ac1e5b0107b0621344992f401cf2","title":"Swept box candidate test ignores touching bounds · 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":40.3,"exit_code":1,"observations":[{"actual":[[0.5,0.5,4.0,8.5],true,[15,18,19]],"check":"case 0","expected":[[0.5,0.5,4.0,8.5],true,[15,18]],"passed":false},{"actual":[[-5.5,-4.0,-3.5,-1.5],true,[]],"check":"case 1","expected":[[-5.5,-4.0,-3.5,-1.5],true,[]],"passed":true},{"actual":[[2.75,-4.625,5.5,-3.25],true,[3,24]],"check":"case 2","expected":[[2.75,-4.625,5.5,-3.25],true,[]],"passed":false},{"actual":[[-2.0,-0.5,1.0,3.5],true,[2]],"check":"case 3","expected":[[-2.0,-0.5,1.0,3.5],true,[2]],"passed":true},{"actual":[[2.0,4.0,4.5,5.1875],true,[8]],"check":"case 4","expected":[[2.0,4.0,4.5,5.1875],true,[]],"passed":false},{"actual":[[-3.0,1.5,0.5,7.0],true,[7,14]],"check":"case 5","expected":[[-3.0,1.5,0.5,7.0],true,[7,14]],"passed":true},{"actual":[[-0.75,-2.25,2.25,1.25],true,[8]],"check":"case 6","expected":[[-0.75,-2.25,2.25,1.25],true,[]],"passed":false},{"actual":[[-0.5,3.5,4.5,6.25],true,[19,20]],"check":"case 7","expected":[[-0.5,3.5,4.5,6.25],true,[]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"case 0\", \"actual\": [[0.5, 0.5, 4.0, 8.5], true, [15, 18, 19]], \"expected\": [[0.5, 0.5, 4.0, 8.5], true, [15, 18]], \"passed\": false}, {\"check\": \"case 1\", \"actual\": [[-5.5, -4.0, -3.5, -1.5], true, []], \"expected\": [[-5.5, -4.0, -3.5, -1.5], true, []], \"passed\": true}, {\"check\": \"case 2\", \"actual\": [[2.75, -4.625, 5.5, -3.25], true, [3, 24]], \"expected\": [[2.75, -4.625, 5.5, -3.25], true, []], \"passed\": false}, {\"check\": \"case 3\", \"actual\": [[-2.0, -0.5, 1.0, 3.5], true, [2]], \"expected\": [[-2.0, -0.5, 1.0, 3.5], true, [2]], \"passed\": true}, {\"check\": \"case 4\", \"actual\": [[2.0, 4.0, 4.5, 5.1875], true, [8]], \"expected\": [[2.0, 4.0, 4.5, 5.1875], true, []], \"passed\": false}, {\"check\": \"case 5\", \"actual\": [[-3.0, 1.5, 0.5, 7.0], true, [7, 14]], \"expected\": [[-3.0, 1.5, 0.5, 7.0], true, [7, 14]], \"passed\": true}, {\"check\": \"case 6\", \"actual\": [[-0.75, -2.25, 2.25, 1.25], true, [8]], \"expected\": [[-0.75, -2.25, 2.25, 1.25], true, []], \"passed\": false}, {\"check\": \"case 7\", \"actual\": [[-0.5, 3.5, 4.5, 6.25], true, [19, 20]], \"expected\": [[-0.5, 3.5, 4.5, 6.25], true, []], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":40.757,"exit_code":1,"observations":[{"actual":[[0.5,0.5,4.0,8.5],true,[15]],"check":"case 0","expected":[[0.5,0.5,4.0,8.5],true,[15,18]],"passed":false},{"actual":[[-5.5,-4.0,-3.5,-1.5],true,[]],"check":"case 1","expected":[[-5.5,-4.0,-3.5,-1.5],true,[]],"passed":true},{"actual":[[2.75,-4.625,5.5,-3.25],true,[]],"check":"case 2","expected":[[2.75,-4.625,5.5,-3.25],true,[]],"passed":true},{"actual":[[-2.0,-0.5,1.0,3.5],true,[]],"check":"case 3","expected":[[-2.0,-0.5,1.0,3.5],true,[2]],"passed":false},{"actual":[[2.0,4.0,4.5,5.1875],true,[]],"check":"case 4","expected":[[2.0,4.0,4.5,5.1875],true,[]],"passed":true},{"actual":[[-3.0,1.5,0.5,7.0],true,[14]],"check":"case 5","expected":[[-3.0,1.5,0.5,7.0],true,[7,14]],"passed":false},{"actual":[[-0.75,-2.25,2.25,1.25],true,[]],"check":"case 6","expected":[[-0.75,-2.25,2.25,1.25],true,[]],"passed":true},{"actual":[[-0.5,3.5,4.5,6.25],true,[]],"check":"case 7","expected":[[-0.5,3.5,4.5,6.25],true,[]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"case 0\", \"actual\": [[0.5, 0.5, 4.0, 8.5], true, [15]], \"expected\": [[0.5, 0.5, 4.0, 8.5], true, [15, 18]], \"passed\": false}, {\"check\": \"case 1\", \"actual\": [[-5.5, -4.0, -3.5, -1.5], true, []], \"expected\": [[-5.5, -4.0, -3.5, -1.5], true, []], \"passed\": true}, {\"check\": \"case 2\", \"actual\": [[2.75, -4.625, 5.5, -3.25], true, []], \"expected\": [[2.75, -4.625, 5.5, -3.25], true, []], \"passed\": true}, {\"check\": \"case 3\", \"actual\": [[-2.0, -0.5, 1.0, 3.5], true, []], \"expected\": [[-2.0, -0.5, 1.0, 3.5], true, [2]], \"passed\": false}, {\"check\": \"case 4\", \"actual\": [[2.0, 4.0, 4.5, 5.1875], true, []], \"expected\": [[2.0, 4.0, 4.5, 5.1875], true, []], \"passed\": true}, {\"check\": \"case 5\", \"actual\": [[-3.0, 1.5, 0.5, 7.0], true, [14]], \"expected\": [[-3.0, 1.5, 0.5, 7.0], true, [7, 14]], \"passed\": false}, {\"check\": \"case 6\", \"actual\": [[-0.75, -2.25, 2.25, 1.25], true, []], \"expected\": [[-0.75, -2.25, 2.25, 1.25], true, []], \"passed\": true}, {\"check\": \"case 7\", \"actual\": [[-0.5, 3.5, 4.5, 6.25], true, []], \"expected\": [[-0.5, 3.5, 4.5, 6.25], true, []], \"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."}}