{"abstract":"Data after repeated-arm blocks is discarded, wasting sample for no carryover.","category":"Experiment statistics","checks":8,"contract":"Time is split into blocks of block_len minutes; block b runs schedule[b % len(schedule)]. Events [minute, value] in the first washout minutes of a block are excluded only when that block's arm differs from the previous block's arm (block 0 has no previous block). Return [mean A, mean B, excluded count] with None for an arm without events.","evaluation_group":"w2-experiment-statistics-switchback-washout","failed_approach":"Skipping only block 0 still washes out blocks that repeat the previous arm.","family":"w2-experiment-statistics-switchback-washout-switch-only-washout","id":"FA-74806","implementations":{"attempt":{"sha256":"625dad8e37994c661d76e85ab984a047038f9e62bda38ccd78a752231a28b07c","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(events, block_len, washout, schedule):\n    sums = {'A': 0.0, 'B': 0.0}\n    counts = {'A': 0, 'B': 0}\n    excluded = 0\n    for minute, value in events:\n        b = minute // block_len\n        arm = schedule[b % len(schedule)]\n        prev = schedule[(b - 1) % len(schedule)] if b > 0 else arm\n        if b > 0 and minute - b * block_len < washout:\n            excluded += 1\n            continue\n        sums[arm] += value\n        counts[arm] += 1\n    means = [round(sums[k] / counts[k], 6) if counts[k] else None for k in ('A', 'B')]\n    return means + [excluded]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('no washout when the arm repeats', [[[31, 5], [65, 1]], 30, 10, ['A', 'A', 'B']], [5.0, None, 1]),\n  ('washout after a switch', [[[31, 5], [45, 2]], 30, 10, ['A', 'B']], [None, 2.0, 1]),\n  ('washout boundary is exclusive', [[[40, 7], [39, 1]], 30, 10, ['A', 'B']], [None, 7.0, 1]),\n  ('block boundary minute starts the new block', [[[30, 4], [29, 3]], 30, 0, ['A', 'B']], [3.0, 4.0, 0]),\n  ('opening minutes are kept when the schedule ends on the other arm',\n   [[[1, 4], [40, 6]], 30, 5, ['A', 'B']],\n   [4.0, 6.0, 0]),\n  ('first block has no carryover', [[[2, 3], [35, 9]], 30, 5, ['B', 'A', 'A', 'B']], [9.0, 3.0, 0]),\n  ('switchback sample 1',\n   [[[99, 2], [56, 1], [112, 1], [41, 10], [149, 2], [27, 1], [159, 1]], 60, 5, ['B', 'A', 'A', 'B']],\n   [1.5, 4.0, 0]),\n  ('switchback sample 2',\n   [[[0, 3], [104, 10], [69, 3], [65, 10], [45, 10]], 30, 10, ['A', 'A', 'B']],\n   [7.666667, None, 2])],\n [('no washout when the arm repeats', [[[31, 5], [65, 1]], 30, 10, ['A', 'A', 'B']], [5.0, None, 1]),\n  ('washout after a switch', [[[31, 5], [45, 2]], 30, 10, ['A', 'B']], [None, 2.0, 1]),\n  ('washout boundary is exclusive', [[[40, 7], [39, 1]], 30, 10, ['A', 'B']], [None, 7.0, 1]),\n  ('block boundary minute starts the new block', [[[30, 4], [29, 3]], 30, 0, ['A', 'B']], [3.0, 4.0, 0]),\n  ('opening minutes are kept when the schedule ends on the other arm',\n   [[[1, 4], [40, 6]], 30, 5, ['A', 'B']],\n   [4.0, 6.0, 0]),\n  ('first block has no carryover', [[[2, 3], [35, 9]], 30, 5, ['B', 'A', 'A', 'B']], [9.0, 3.0, 0]),\n  ('switchback sample 6',\n   [[[208, 2], [14, 10], [126, 1], [28, 10], [215, 2], [149, 3], [156, 2]], 60, 10, ['A', 'A', 'B']],\n   [6.0, 2.5, 1]),\n  ('switchback sample 18', [[[5, 3], [24, 1], [24, 10], [38, 1]], 10, 10, ['A', 'B']], [3.0, None, 3])],\n [('no washout when the arm repeats', [[[31, 5], [65, 1]], 30, 10, ['A', 'A', 'B']], [5.0, None, 1]),\n  ('washout boundary is exclusive', [[[40, 7], [39, 1]], 30, 10, ['A', 'B']], [None, 7.0, 1]),\n  ('block boundary minute starts the new block', [[[30, 4], [29, 3]], 30, 0, ['A', 'B']], [3.0, 4.0, 0]),\n  ('opening minutes are kept when the schedule ends on the other arm',\n   [[[1, 4], [40, 6]], 30, 5, ['A', 'B']],\n   [4.0, 6.0, 0]),\n  ('first block has no carryover', [[[2, 3], [35, 9]], 30, 5, ['B', 'A', 'A', 'B']], [9.0, 3.0, 0]),\n  ('second cycle wraps the schedule', [[[61, 8], [95, 2]], 30, 5, ['A', 'B']], [None, 2.0, 1]),\n  ('switchback sample 11',\n   [[[1, 1], [35, 3], [7, 10], [11, 2], [26, 3]], 10, 10, ['A', 'B']],\n   [5.5, None, 3]),\n  ('switchback sample 53',\n   [[[26, 10], [77, 10], [1, 10], [8, 10], [3, 1]], 60, 10, ['A', 'B']],\n   [7.75, 10.0, 0])],\n [('no washout when the arm repeats', [[[31, 5], [65, 1]], 30, 10, ['A', 'A', 'B']], [5.0, None, 1]),\n  ('block boundary minute starts the new block', [[[30, 4], [29, 3]], 30, 0, ['A', 'B']], [3.0, 4.0, 0]),\n  ('opening minutes are kept when the schedule ends on the other arm',\n   [[[1, 4], [40, 6]], 30, 5, ['A', 'B']],\n   [4.0, 6.0, 0]),\n  ('first block has no carryover', [[[2, 3], [35, 9]], 30, 5, ['B', 'A', 'A', 'B']], [9.0, 3.0, 0]),\n  ('second cycle wraps the schedule', [[[61, 8], [95, 2]], 30, 5, ['A', 'B']], [None, 2.0, 1]),\n  ('late minute in a block rounds down', [[[59, 6]], 30, 0, ['A', 'B']], [None, 6.0, 0]),\n  ('switchback sample 16', [[[104, 10], [75, 1], [9, 3]], 30, 10, ['A', 'A', 'B']], [6.5, 1.0, 0]),\n  ('switchback sample 17',\n   [[[25, 2], [8, 10], [16, 1], [8, 10], [36, 1], [26, 10], [39, 3]], 10, 0, ['A', 'B', 'B']],\n   [6.0, 4.333333, 0])],\n [('no washout when the arm repeats', [[[31, 5], [65, 1]], 30, 10, ['A', 'A', 'B']], [5.0, None, 1]),\n  ('opening minutes are kept when the schedule ends on the other arm',\n   [[[1, 4], [40, 6]], 30, 5, ['A', 'B']],\n   [4.0, 6.0, 0]),\n  ('first block has no carryover', [[[2, 3], [35, 9]], 30, 5, ['B', 'A', 'A', 'B']], [9.0, 3.0, 0]),\n  ('second cycle wraps the schedule', [[[61, 8], [95, 2]], 30, 5, ['A', 'B']], [None, 2.0, 1]),\n  ('late minute in a block rounds down', [[[59, 6]], 30, 0, ['A', 'B']], [None, 6.0, 0]),\n  ('switchback sample 21', [[[14, 10]], 10, 10, ['B', 'A', 'A', 'B']], [None, None, 1]),\n  ('switchback sample 22', [[[16, 2]], 10, 10, ['B', 'A', 'A', 'B']], [None, None, 1]),\n  ('switchback sample 37',\n   [[[7, 2], [114, 1], [217, 3], [61, 3], [230, 10]], 60, 5, ['A', 'A', 'B']],\n   [3.8, None, 0])]]\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":"6bdf0a237353ac4fe4cd54920273e1dbf2355e25028ad463bffdbe2408a235b0","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(events, block_len, washout, schedule):\n    sums = {'A': 0.0, 'B': 0.0}\n    counts = {'A': 0, 'B': 0}\n    excluded = 0\n    for minute, value in events:\n        b = minute // block_len\n        arm = schedule[b % len(schedule)]\n        prev = schedule[(b - 1) % len(schedule)] if b > 0 else arm\n        if minute - b * block_len < washout:\n            excluded += 1\n            continue\n        sums[arm] += value\n        counts[arm] += 1\n    means = [round(sums[k] / counts[k], 6) if counts[k] else None for k in ('A', 'B')]\n    return means + [excluded]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('no washout when the arm repeats', [[[31, 5], [65, 1]], 30, 10, ['A', 'A', 'B']], [5.0, None, 1]),\n  ('washout after a switch', [[[31, 5], [45, 2]], 30, 10, ['A', 'B']], [None, 2.0, 1]),\n  ('washout boundary is exclusive', [[[40, 7], [39, 1]], 30, 10, ['A', 'B']], [None, 7.0, 1]),\n  ('block boundary minute starts the new block', [[[30, 4], [29, 3]], 30, 0, ['A', 'B']], [3.0, 4.0, 0]),\n  ('opening minutes are kept when the schedule ends on the other arm',\n   [[[1, 4], [40, 6]], 30, 5, ['A', 'B']],\n   [4.0, 6.0, 0]),\n  ('first block has no carryover', [[[2, 3], [35, 9]], 30, 5, ['B', 'A', 'A', 'B']], [9.0, 3.0, 0]),\n  ('switchback sample 1',\n   [[[99, 2], [56, 1], [112, 1], [41, 10], [149, 2], [27, 1], [159, 1]], 60, 5, ['B', 'A', 'A', 'B']],\n   [1.5, 4.0, 0]),\n  ('switchback sample 2',\n   [[[0, 3], [104, 10], [69, 3], [65, 10], [45, 10]], 30, 10, ['A', 'A', 'B']],\n   [7.666667, None, 2])],\n [('no washout when the arm repeats', [[[31, 5], [65, 1]], 30, 10, ['A', 'A', 'B']], [5.0, None, 1]),\n  ('washout after a switch', [[[31, 5], [45, 2]], 30, 10, ['A', 'B']], [None, 2.0, 1]),\n  ('washout boundary is exclusive', [[[40, 7], [39, 1]], 30, 10, ['A', 'B']], [None, 7.0, 1]),\n  ('block boundary minute starts the new block', [[[30, 4], [29, 3]], 30, 0, ['A', 'B']], [3.0, 4.0, 0]),\n  ('opening minutes are kept when the schedule ends on the other arm',\n   [[[1, 4], [40, 6]], 30, 5, ['A', 'B']],\n   [4.0, 6.0, 0]),\n  ('first block has no carryover', [[[2, 3], [35, 9]], 30, 5, ['B', 'A', 'A', 'B']], [9.0, 3.0, 0]),\n  ('switchback sample 6',\n   [[[208, 2], [14, 10], [126, 1], [28, 10], [215, 2], [149, 3], [156, 2]], 60, 10, ['A', 'A', 'B']],\n   [6.0, 2.5, 1]),\n  ('switchback sample 18', [[[5, 3], [24, 1], [24, 10], [38, 1]], 10, 10, ['A', 'B']], [3.0, None, 3])],\n [('no washout when the arm repeats', [[[31, 5], [65, 1]], 30, 10, ['A', 'A', 'B']], [5.0, None, 1]),\n  ('washout boundary is exclusive', [[[40, 7], [39, 1]], 30, 10, ['A', 'B']], [None, 7.0, 1]),\n  ('block boundary minute starts the new block', [[[30, 4], [29, 3]], 30, 0, ['A', 'B']], [3.0, 4.0, 0]),\n  ('opening minutes are kept when the schedule ends on the other arm',\n   [[[1, 4], [40, 6]], 30, 5, ['A', 'B']],\n   [4.0, 6.0, 0]),\n  ('first block has no carryover', [[[2, 3], [35, 9]], 30, 5, ['B', 'A', 'A', 'B']], [9.0, 3.0, 0]),\n  ('second cycle wraps the schedule', [[[61, 8], [95, 2]], 30, 5, ['A', 'B']], [None, 2.0, 1]),\n  ('switchback sample 11',\n   [[[1, 1], [35, 3], [7, 10], [11, 2], [26, 3]], 10, 10, ['A', 'B']],\n   [5.5, None, 3]),\n  ('switchback sample 53',\n   [[[26, 10], [77, 10], [1, 10], [8, 10], [3, 1]], 60, 10, ['A', 'B']],\n   [7.75, 10.0, 0])],\n [('no washout when the arm repeats', [[[31, 5], [65, 1]], 30, 10, ['A', 'A', 'B']], [5.0, None, 1]),\n  ('block boundary minute starts the new block', [[[30, 4], [29, 3]], 30, 0, ['A', 'B']], [3.0, 4.0, 0]),\n  ('opening minutes are kept when the schedule ends on the other arm',\n   [[[1, 4], [40, 6]], 30, 5, ['A', 'B']],\n   [4.0, 6.0, 0]),\n  ('first block has no carryover', [[[2, 3], [35, 9]], 30, 5, ['B', 'A', 'A', 'B']], [9.0, 3.0, 0]),\n  ('second cycle wraps the schedule', [[[61, 8], [95, 2]], 30, 5, ['A', 'B']], [None, 2.0, 1]),\n  ('late minute in a block rounds down', [[[59, 6]], 30, 0, ['A', 'B']], [None, 6.0, 0]),\n  ('switchback sample 16', [[[104, 10], [75, 1], [9, 3]], 30, 10, ['A', 'A', 'B']], [6.5, 1.0, 0]),\n  ('switchback sample 17',\n   [[[25, 2], [8, 10], [16, 1], [8, 10], [36, 1], [26, 10], [39, 3]], 10, 0, ['A', 'B', 'B']],\n   [6.0, 4.333333, 0])],\n [('no washout when the arm repeats', [[[31, 5], [65, 1]], 30, 10, ['A', 'A', 'B']], [5.0, None, 1]),\n  ('opening minutes are kept when the schedule ends on the other arm',\n   [[[1, 4], [40, 6]], 30, 5, ['A', 'B']],\n   [4.0, 6.0, 0]),\n  ('first block has no carryover', [[[2, 3], [35, 9]], 30, 5, ['B', 'A', 'A', 'B']], [9.0, 3.0, 0]),\n  ('second cycle wraps the schedule', [[[61, 8], [95, 2]], 30, 5, ['A', 'B']], [None, 2.0, 1]),\n  ('late minute in a block rounds down', [[[59, 6]], 30, 0, ['A', 'B']], [None, 6.0, 0]),\n  ('switchback sample 21', [[[14, 10]], 10, 10, ['B', 'A', 'A', 'B']], [None, None, 1]),\n  ('switchback sample 22', [[[16, 2]], 10, 10, ['B', 'A', 'A', 'B']], [None, None, 1]),\n  ('switchback sample 37',\n   [[[7, 2], [114, 1], [217, 3], [61, 3], [230, 10]], 60, 5, ['A', 'A', 'B']],\n   [3.8, None, 0])]]\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"},"fixed":{"sha256":"977d1271d5208295b0d409ba2c7961e03a2076f4a8a54f520a146525c39111f6","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(events, block_len, washout, schedule):\n    sums = {'A': 0.0, 'B': 0.0}\n    counts = {'A': 0, 'B': 0}\n    excluded = 0\n    for minute, value in events:\n        b = minute // block_len\n        arm = schedule[b % len(schedule)]\n        prev = schedule[(b - 1) % len(schedule)] if b > 0 else arm\n        if prev != arm and minute - b * block_len < washout:\n            excluded += 1\n            continue\n        sums[arm] += value\n        counts[arm] += 1\n    means = [round(sums[k] / counts[k], 6) if counts[k] else None for k in ('A', 'B')]\n    return means + [excluded]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('no washout when the arm repeats', [[[31, 5], [65, 1]], 30, 10, ['A', 'A', 'B']], [5.0, None, 1]),\n  ('washout after a switch', [[[31, 5], [45, 2]], 30, 10, ['A', 'B']], [None, 2.0, 1]),\n  ('washout boundary is exclusive', [[[40, 7], [39, 1]], 30, 10, ['A', 'B']], [None, 7.0, 1]),\n  ('block boundary minute starts the new block', [[[30, 4], [29, 3]], 30, 0, ['A', 'B']], [3.0, 4.0, 0]),\n  ('opening minutes are kept when the schedule ends on the other arm',\n   [[[1, 4], [40, 6]], 30, 5, ['A', 'B']],\n   [4.0, 6.0, 0]),\n  ('first block has no carryover', [[[2, 3], [35, 9]], 30, 5, ['B', 'A', 'A', 'B']], [9.0, 3.0, 0]),\n  ('switchback sample 1',\n   [[[99, 2], [56, 1], [112, 1], [41, 10], [149, 2], [27, 1], [159, 1]], 60, 5, ['B', 'A', 'A', 'B']],\n   [1.5, 4.0, 0]),\n  ('switchback sample 2',\n   [[[0, 3], [104, 10], [69, 3], [65, 10], [45, 10]], 30, 10, ['A', 'A', 'B']],\n   [7.666667, None, 2])],\n [('no washout when the arm repeats', [[[31, 5], [65, 1]], 30, 10, ['A', 'A', 'B']], [5.0, None, 1]),\n  ('washout after a switch', [[[31, 5], [45, 2]], 30, 10, ['A', 'B']], [None, 2.0, 1]),\n  ('washout boundary is exclusive', [[[40, 7], [39, 1]], 30, 10, ['A', 'B']], [None, 7.0, 1]),\n  ('block boundary minute starts the new block', [[[30, 4], [29, 3]], 30, 0, ['A', 'B']], [3.0, 4.0, 0]),\n  ('opening minutes are kept when the schedule ends on the other arm',\n   [[[1, 4], [40, 6]], 30, 5, ['A', 'B']],\n   [4.0, 6.0, 0]),\n  ('first block has no carryover', [[[2, 3], [35, 9]], 30, 5, ['B', 'A', 'A', 'B']], [9.0, 3.0, 0]),\n  ('switchback sample 6',\n   [[[208, 2], [14, 10], [126, 1], [28, 10], [215, 2], [149, 3], [156, 2]], 60, 10, ['A', 'A', 'B']],\n   [6.0, 2.5, 1]),\n  ('switchback sample 18', [[[5, 3], [24, 1], [24, 10], [38, 1]], 10, 10, ['A', 'B']], [3.0, None, 3])],\n [('no washout when the arm repeats', [[[31, 5], [65, 1]], 30, 10, ['A', 'A', 'B']], [5.0, None, 1]),\n  ('washout boundary is exclusive', [[[40, 7], [39, 1]], 30, 10, ['A', 'B']], [None, 7.0, 1]),\n  ('block boundary minute starts the new block', [[[30, 4], [29, 3]], 30, 0, ['A', 'B']], [3.0, 4.0, 0]),\n  ('opening minutes are kept when the schedule ends on the other arm',\n   [[[1, 4], [40, 6]], 30, 5, ['A', 'B']],\n   [4.0, 6.0, 0]),\n  ('first block has no carryover', [[[2, 3], [35, 9]], 30, 5, ['B', 'A', 'A', 'B']], [9.0, 3.0, 0]),\n  ('second cycle wraps the schedule', [[[61, 8], [95, 2]], 30, 5, ['A', 'B']], [None, 2.0, 1]),\n  ('switchback sample 11',\n   [[[1, 1], [35, 3], [7, 10], [11, 2], [26, 3]], 10, 10, ['A', 'B']],\n   [5.5, None, 3]),\n  ('switchback sample 53',\n   [[[26, 10], [77, 10], [1, 10], [8, 10], [3, 1]], 60, 10, ['A', 'B']],\n   [7.75, 10.0, 0])],\n [('no washout when the arm repeats', [[[31, 5], [65, 1]], 30, 10, ['A', 'A', 'B']], [5.0, None, 1]),\n  ('block boundary minute starts the new block', [[[30, 4], [29, 3]], 30, 0, ['A', 'B']], [3.0, 4.0, 0]),\n  ('opening minutes are kept when the schedule ends on the other arm',\n   [[[1, 4], [40, 6]], 30, 5, ['A', 'B']],\n   [4.0, 6.0, 0]),\n  ('first block has no carryover', [[[2, 3], [35, 9]], 30, 5, ['B', 'A', 'A', 'B']], [9.0, 3.0, 0]),\n  ('second cycle wraps the schedule', [[[61, 8], [95, 2]], 30, 5, ['A', 'B']], [None, 2.0, 1]),\n  ('late minute in a block rounds down', [[[59, 6]], 30, 0, ['A', 'B']], [None, 6.0, 0]),\n  ('switchback sample 16', [[[104, 10], [75, 1], [9, 3]], 30, 10, ['A', 'A', 'B']], [6.5, 1.0, 0]),\n  ('switchback sample 17',\n   [[[25, 2], [8, 10], [16, 1], [8, 10], [36, 1], [26, 10], [39, 3]], 10, 0, ['A', 'B', 'B']],\n   [6.0, 4.333333, 0])],\n [('no washout when the arm repeats', [[[31, 5], [65, 1]], 30, 10, ['A', 'A', 'B']], [5.0, None, 1]),\n  ('opening minutes are kept when the schedule ends on the other arm',\n   [[[1, 4], [40, 6]], 30, 5, ['A', 'B']],\n   [4.0, 6.0, 0]),\n  ('first block has no carryover', [[[2, 3], [35, 9]], 30, 5, ['B', 'A', 'A', 'B']], [9.0, 3.0, 0]),\n  ('second cycle wraps the schedule', [[[61, 8], [95, 2]], 30, 5, ['A', 'B']], [None, 2.0, 1]),\n  ('late minute in a block rounds down', [[[59, 6]], 30, 0, ['A', 'B']], [None, 6.0, 0]),\n  ('switchback sample 21', [[[14, 10]], 10, 10, ['B', 'A', 'A', 'B']], [None, None, 1]),\n  ('switchback sample 22', [[[16, 2]], 10, 10, ['B', 'A', 'A', 'B']], [None, None, 1]),\n  ('switchback sample 37',\n   [[[7, 2], [114, 1], [217, 3], [61, 3], [230, 10]], 60, 5, ['A', 'A', 'B']],\n   [3.8, None, 0])]]\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":"A deterministic toy experiment-analysis model with a stipulated contract; results are rounded and are not a substitute for a validated statistics package. 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-experiment-statistics-switchback-washout-switch-only-washout","generated_at":"2026-09-29T14:49:00.273248+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Switchback experiments on marketplaces must discard carryover right after each switch.","repair":"Exclude early events only in blocks whose arm differs from the previous block.","root_cause":"The washout ignores whether the arm actually changed.","sha256":"67725030cf2dacc0130431266b89513c5cc681976cca4c0feb872292d787430b","title":"Switchback carryover washout: Every block start is washed out · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":44.026,"exit_code":1,"observations":[{"actual":[null,null,2],"check":"no washout when the arm repeats","expected":[5.0,null,1],"passed":false},{"actual":[null,2.0,1],"check":"washout after a switch","expected":[null,2.0,1],"passed":true},{"actual":[null,7.0,1],"check":"washout boundary is exclusive","expected":[null,7.0,1],"passed":true},{"actual":[3.0,4.0,0],"check":"block boundary minute starts the new block","expected":[3.0,4.0,0],"passed":true},{"actual":[4.0,6.0,0],"check":"opening minutes are kept when the schedule ends on the other arm","expected":[4.0,6.0,0],"passed":true},{"actual":[9.0,3.0,0],"check":"first block has no carryover","expected":[9.0,3.0,0],"passed":true},{"actual":[1.5,4.0,0],"check":"switchback sample 1","expected":[1.5,4.0,0],"passed":true},{"actual":[7.666667,null,2],"check":"switchback sample 2","expected":[7.666667,null,2],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"no washout when the arm repeats\", \"actual\": [null, null, 2], \"expected\": [5.0, null, 1], \"passed\": false}, {\"check\": \"washout after a switch\", \"actual\": [null, 2.0, 1], \"expected\": [null, 2.0, 1], \"passed\": true}, {\"check\": \"washout boundary is exclusive\", \"actual\": [null, 7.0, 1], \"expected\": [null, 7.0, 1], \"passed\": true}, {\"check\": \"block boundary minute starts the new block\", \"actual\": [3.0, 4.0, 0], \"expected\": [3.0, 4.0, 0], \"passed\": true}, {\"check\": \"opening minutes are kept when the schedule ends on the other arm\", \"actual\": [4.0, 6.0, 0], \"expected\": [4.0, 6.0, 0], \"passed\": true}, {\"check\": \"first block has no carryover\", \"actual\": [9.0, 3.0, 0], \"expected\": [9.0, 3.0, 0], \"passed\": true}, {\"check\": \"switchback sample 1\", \"actual\": [1.5, 4.0, 0], \"expected\": [1.5, 4.0, 0], \"passed\": true}, {\"check\": \"switchback sample 2\", \"actual\": [7.666667, null, 2], \"expected\": [7.666667, null, 2], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.324,"exit_code":1,"observations":[{"actual":[null,null,2],"check":"no washout when the arm repeats","expected":[5.0,null,1],"passed":false},{"actual":[null,2.0,1],"check":"washout after a switch","expected":[null,2.0,1],"passed":true},{"actual":[null,7.0,1],"check":"washout boundary is exclusive","expected":[null,7.0,1],"passed":true},{"actual":[3.0,4.0,0],"check":"block boundary minute starts the new block","expected":[3.0,4.0,0],"passed":true},{"actual":[null,6.0,1],"check":"opening minutes are kept when the schedule ends on the other arm","expected":[4.0,6.0,0],"passed":false},{"actual":[9.0,null,1],"check":"first block has no carryover","expected":[9.0,3.0,0],"passed":false},{"actual":[1.5,4.0,0],"check":"switchback sample 1","expected":[1.5,4.0,0],"passed":true},{"actual":[10.0,null,3],"check":"switchback sample 2","expected":[7.666667,null,2],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"no washout when the arm repeats\", \"actual\": [null, null, 2], \"expected\": [5.0, null, 1], \"passed\": false}, {\"check\": \"washout after a switch\", \"actual\": [null, 2.0, 1], \"expected\": [null, 2.0, 1], \"passed\": true}, {\"check\": \"washout boundary is exclusive\", \"actual\": [null, 7.0, 1], \"expected\": [null, 7.0, 1], \"passed\": true}, {\"check\": \"block boundary minute starts the new block\", \"actual\": [3.0, 4.0, 0], \"expected\": [3.0, 4.0, 0], \"passed\": true}, {\"check\": \"opening minutes are kept when the schedule ends on the other arm\", \"actual\": [null, 6.0, 1], \"expected\": [4.0, 6.0, 0], \"passed\": false}, {\"check\": \"first block has no carryover\", \"actual\": [9.0, null, 1], \"expected\": [9.0, 3.0, 0], \"passed\": false}, {\"check\": \"switchback sample 1\", \"actual\": [1.5, 4.0, 0], \"expected\": [1.5, 4.0, 0], \"passed\": true}, {\"check\": \"switchback sample 2\", \"actual\": [10.0, null, 3], \"expected\": [7.666667, null, 2], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":44.076,"exit_code":0,"observations":[{"actual":[5.0,null,1],"check":"no washout when the arm repeats","expected":[5.0,null,1],"passed":true},{"actual":[null,2.0,1],"check":"washout after a switch","expected":[null,2.0,1],"passed":true},{"actual":[null,7.0,1],"check":"washout boundary is exclusive","expected":[null,7.0,1],"passed":true},{"actual":[3.0,4.0,0],"check":"block boundary minute starts the new block","expected":[3.0,4.0,0],"passed":true},{"actual":[4.0,6.0,0],"check":"opening minutes are kept when the schedule ends on the other arm","expected":[4.0,6.0,0],"passed":true},{"actual":[9.0,3.0,0],"check":"first block has no carryover","expected":[9.0,3.0,0],"passed":true},{"actual":[1.5,4.0,0],"check":"switchback sample 1","expected":[1.5,4.0,0],"passed":true},{"actual":[7.666667,null,2],"check":"switchback sample 2","expected":[7.666667,null,2],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"no washout when the arm repeats\", \"actual\": [5.0, null, 1], \"expected\": [5.0, null, 1], \"passed\": true}, {\"check\": \"washout after a switch\", \"actual\": [null, 2.0, 1], \"expected\": [null, 2.0, 1], \"passed\": true}, {\"check\": \"washout boundary is exclusive\", \"actual\": [null, 7.0, 1], \"expected\": [null, 7.0, 1], \"passed\": true}, {\"check\": \"block boundary minute starts the new block\", \"actual\": [3.0, 4.0, 0], \"expected\": [3.0, 4.0, 0], \"passed\": true}, {\"check\": \"opening minutes are kept when the schedule ends on the other arm\", \"actual\": [4.0, 6.0, 0], \"expected\": [4.0, 6.0, 0], \"passed\": true}, {\"check\": \"first block has no carryover\", \"actual\": [9.0, 3.0, 0], \"expected\": [9.0, 3.0, 0], \"passed\": true}, {\"check\": \"switchback sample 1\", \"actual\": [1.5, 4.0, 0], \"expected\": [1.5, 4.0, 0], \"passed\": true}, {\"check\": \"switchback sample 2\", \"actual\": [7.666667, null, 2], \"expected\": [7.666667, null, 2], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}