{"abstract":"Level-2 runs are shaped right-to-left.","category":"Bidirectional text layout","checks":8,"contract":"Input resolved levels of a line. Group maximal equal-level runs [logical start, length, level]; reorder whole runs from the highest level down to the lowest odd level by reversing sequences of runs at or above the level. Return [[start, length, \"rtl\"|\"ltr\"]] in visual order.","evaluation_group":"w2-bidirectional-text-layout-visual-run-list","failed_approach":"Treating only level 1 as RTL misses level 3.","family":"w2-bidirectional-text-layout-visual-run-list-run-direction-label","id":"FA-80796","implementations":{"attempt":{"sha256":"d48e23d6ebeb5d945ab4a4bfeda2aeec896e16f068ebd4751f7394556ea1fde3","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    levels = x\n    n = len(levels)\n    runs = []\n    for i in range(n):\n        if runs and runs[-1][2] == levels[i]:\n            runs[-1][1] += 1\n        else:\n            runs.append([i, 1, levels[i]])\n    if not runs:\n        return []\n    odd = [r[2] for r in runs if r[2] % 2]\n    if odd:\n        for lev in range(max(r[2] for r in runs), min(odd) - 1, -1):\n            out, i = [], 0\n            while i < len(runs):\n                if runs[i][2] >= lev:\n                    j = i\n                    while j < len(runs) and runs[j][2] >= lev:\n                        j += 1\n                    out.extend(runs[i:j][::-1])\n                    i = j\n                else:\n                    out.append(runs[i])\n                    i += 1\n            runs = out\n    return [[s, ln, 'rtl' if lv == 1 else 'ltr'] for s, ln, lv in runs]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('LTR number inside RTL', [1, 1, 2, 2, 1], [[4, 1, 'rtl'], [2, 2, 'ltr'], [0, 2, 'rtl']]), ('regression: run direction label', [1, 3, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1], [[7, 5, 'rtl'], [1, 3, 'rtl'], [4, 3, 'ltr'], [0, 1, 'rtl']]), ('partial-repair probe', [3, 3, 3, 1], [[3, 1, 'rtl'], [0, 3, 'rtl']]), ('regression: run direction label', [3, 3, 2, 4, 4, 2, 4], [[0, 2, 'rtl'], [2, 1, 'ltr'], [3, 2, 'ltr'], [5, 1, 'ltr'], [6, 1, 'ltr']]), ('lowest odd is three', [2, 3, 2], [[0, 1, 'ltr'], [1, 1, 'rtl'], [2, 1, 'ltr']]), ('control layout', [1, 1, 1, 1, 0, 0], [[0, 4, 'rtl'], [4, 2, 'ltr']]), ('control layout', [0, 0, 0, 0, 0], [[0, 5, 'ltr']]), ('control layout', [0, 0, 1, 1, 1], [[0, 2, 'ltr'], [2, 3, 'rtl']])], [('regression: run direction label', [2, 2, 3, 3, 3, 3, 0], [[0, 2, 'ltr'], [2, 4, 'rtl'], [6, 1, 'ltr']]), ('regression: run direction label', [3, 3, 3, 3, 1, 1, 1, 1, 2], [[8, 1, 'ltr'], [4, 4, 'rtl'], [0, 4, 'rtl']]), ('regression: run direction label', [0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 2], [[0, 6, 'ltr'], [6, 4, 'rtl'], [10, 1, 'ltr']]), ('regression: run direction label', [2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1], [[10, 2, 'rtl'], [0, 1, 'ltr'], [1, 9, 'rtl']]), ('LTR number inside RTL', [1, 1, 2, 2, 1], [[4, 1, 'rtl'], [2, 2, 'ltr'], [0, 2, 'rtl']]), ('lowest odd is three', [2, 3, 2], [[0, 1, 'ltr'], [1, 1, 'rtl'], [2, 1, 'ltr']]), ('control layout', [1, 1], [[0, 2, 'rtl']]), ('control layout', [1, 1], [[0, 2, 'rtl']])], [('regression: run direction label', [2, 2, 2, 2, 1, 1, 1, 1, 3, 3], [[8, 2, 'rtl'], [4, 4, 'rtl'], [0, 4, 'ltr']]), ('regression: run direction label', [3, 3, 3, 1, 1, 3, 3, 3, 1, 1, 1, 2], [[11, 1, 'ltr'], [8, 3, 'rtl'], [5, 3, 'rtl'], [3, 2, 'rtl'], [0, 3, 'rtl']]), ('regression: run direction label', [2, 3], [[0, 1, 'ltr'], [1, 1, 'rtl']]), ('regression: run direction label', [2, 2, 1, 1, 1, 2, 2, 3, 3, 3, 0], [[5, 2, 'ltr'], [7, 3, 'rtl'], [2, 3, 'rtl'], [0, 2, 'ltr'], [10, 1, 'ltr']]), ('lowest odd is three', [2, 3, 2], [[0, 1, 'ltr'], [1, 1, 'rtl'], [2, 1, 'ltr']]), ('LTR number inside RTL', [1, 1, 2, 2, 1], [[4, 1, 'rtl'], [2, 2, 'ltr'], [0, 2, 'rtl']]), ('control layout', [1, 1, 1, 1, 1, 1, 1, 1], [[0, 8, 'rtl']]), ('control layout', [1, 1, 0], [[0, 2, 'rtl'], [2, 1, 'ltr']])], [('regression: run direction label', [2, 2, 2, 2, 2, 2, 4, 1, 3, 3, 3, 3], [[8, 4, 'rtl'], [7, 1, 'rtl'], [0, 6, 'ltr'], [6, 1, 'ltr']]), ('regression: run direction label', [2, 2, 2, 3, 3, 3, 1], [[6, 1, 'rtl'], [0, 3, 'ltr'], [3, 3, 'rtl']]), ('regression: run direction label', [2, 3], [[0, 1, 'ltr'], [1, 1, 'rtl']]), ('partial-repair probe', [0, 0, 0, 0, 3], [[0, 4, 'ltr'], [4, 1, 'rtl']]), ('LTR number inside RTL', [1, 1, 2, 2, 1], [[4, 1, 'rtl'], [2, 2, 'ltr'], [0, 2, 'rtl']]), ('lowest odd is three', [2, 3, 2], [[0, 1, 'ltr'], [1, 1, 'rtl'], [2, 1, 'ltr']]), ('control layout', [1, 1, 1, 1, 1, 1, 1, 1], [[0, 8, 'rtl']]), ('control layout', [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [[0, 11, 'rtl']])], [('regression: run direction label', [4, 4, 4, 4, 1], [[4, 1, 'rtl'], [0, 4, 'ltr']]), ('regression: run direction label', [1, 3, 4], [[2, 1, 'ltr'], [1, 1, 'rtl'], [0, 1, 'rtl']]), ('regression: run direction label', [2, 1, 1, 1, 1, 3, 3, 3, 3, 1, 4], [[10, 1, 'ltr'], [9, 1, 'rtl'], [5, 4, 'rtl'], [1, 4, 'rtl'], [0, 1, 'ltr']]), ('partial-repair probe', [3, 3], [[0, 2, 'rtl']]), ('lowest odd is three', [2, 3, 2], [[0, 1, 'ltr'], [1, 1, 'rtl'], [2, 1, 'ltr']]), ('LTR number inside RTL', [1, 1, 2, 2, 1], [[4, 1, 'rtl'], [2, 2, 'ltr'], [0, 2, 'rtl']]), ('control layout', [1, 1, 1, 1, 1, 1], [[0, 6, 'rtl']]), ('control layout', [1, 1], [[0, 2, 'rtl']])]]\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":"6750155f8a4891961ee7f3d6c3b68d0434ce033a944172688515a09caf0b679a","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    levels = x\n    n = len(levels)\n    runs = []\n    for i in range(n):\n        if runs and runs[-1][2] == levels[i]:\n            runs[-1][1] += 1\n        else:\n            runs.append([i, 1, levels[i]])\n    if not runs:\n        return []\n    odd = [r[2] for r in runs if r[2] % 2]\n    if odd:\n        for lev in range(max(r[2] for r in runs), min(odd) - 1, -1):\n            out, i = [], 0\n            while i < len(runs):\n                if runs[i][2] >= lev:\n                    j = i\n                    while j < len(runs) and runs[j][2] >= lev:\n                        j += 1\n                    out.extend(runs[i:j][::-1])\n                    i = j\n                else:\n                    out.append(runs[i])\n                    i += 1\n            runs = out\n    return [[s, ln, 'rtl' if lv > 0 else 'ltr'] for s, ln, lv in runs]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('LTR number inside RTL', [1, 1, 2, 2, 1], [[4, 1, 'rtl'], [2, 2, 'ltr'], [0, 2, 'rtl']]), ('regression: run direction label', [1, 3, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1], [[7, 5, 'rtl'], [1, 3, 'rtl'], [4, 3, 'ltr'], [0, 1, 'rtl']]), ('partial-repair probe', [3, 3, 3, 1], [[3, 1, 'rtl'], [0, 3, 'rtl']]), ('regression: run direction label', [3, 3, 2, 4, 4, 2, 4], [[0, 2, 'rtl'], [2, 1, 'ltr'], [3, 2, 'ltr'], [5, 1, 'ltr'], [6, 1, 'ltr']]), ('lowest odd is three', [2, 3, 2], [[0, 1, 'ltr'], [1, 1, 'rtl'], [2, 1, 'ltr']]), ('control layout', [1, 1, 1, 1, 0, 0], [[0, 4, 'rtl'], [4, 2, 'ltr']]), ('control layout', [0, 0, 0, 0, 0], [[0, 5, 'ltr']]), ('control layout', [0, 0, 1, 1, 1], [[0, 2, 'ltr'], [2, 3, 'rtl']])], [('regression: run direction label', [2, 2, 3, 3, 3, 3, 0], [[0, 2, 'ltr'], [2, 4, 'rtl'], [6, 1, 'ltr']]), ('regression: run direction label', [3, 3, 3, 3, 1, 1, 1, 1, 2], [[8, 1, 'ltr'], [4, 4, 'rtl'], [0, 4, 'rtl']]), ('regression: run direction label', [0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 2], [[0, 6, 'ltr'], [6, 4, 'rtl'], [10, 1, 'ltr']]), ('regression: run direction label', [2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1], [[10, 2, 'rtl'], [0, 1, 'ltr'], [1, 9, 'rtl']]), ('LTR number inside RTL', [1, 1, 2, 2, 1], [[4, 1, 'rtl'], [2, 2, 'ltr'], [0, 2, 'rtl']]), ('lowest odd is three', [2, 3, 2], [[0, 1, 'ltr'], [1, 1, 'rtl'], [2, 1, 'ltr']]), ('control layout', [1, 1], [[0, 2, 'rtl']]), ('control layout', [1, 1], [[0, 2, 'rtl']])], [('regression: run direction label', [2, 2, 2, 2, 1, 1, 1, 1, 3, 3], [[8, 2, 'rtl'], [4, 4, 'rtl'], [0, 4, 'ltr']]), ('regression: run direction label', [3, 3, 3, 1, 1, 3, 3, 3, 1, 1, 1, 2], [[11, 1, 'ltr'], [8, 3, 'rtl'], [5, 3, 'rtl'], [3, 2, 'rtl'], [0, 3, 'rtl']]), ('regression: run direction label', [2, 3], [[0, 1, 'ltr'], [1, 1, 'rtl']]), ('regression: run direction label', [2, 2, 1, 1, 1, 2, 2, 3, 3, 3, 0], [[5, 2, 'ltr'], [7, 3, 'rtl'], [2, 3, 'rtl'], [0, 2, 'ltr'], [10, 1, 'ltr']]), ('lowest odd is three', [2, 3, 2], [[0, 1, 'ltr'], [1, 1, 'rtl'], [2, 1, 'ltr']]), ('LTR number inside RTL', [1, 1, 2, 2, 1], [[4, 1, 'rtl'], [2, 2, 'ltr'], [0, 2, 'rtl']]), ('control layout', [1, 1, 1, 1, 1, 1, 1, 1], [[0, 8, 'rtl']]), ('control layout', [1, 1, 0], [[0, 2, 'rtl'], [2, 1, 'ltr']])], [('regression: run direction label', [2, 2, 2, 2, 2, 2, 4, 1, 3, 3, 3, 3], [[8, 4, 'rtl'], [7, 1, 'rtl'], [0, 6, 'ltr'], [6, 1, 'ltr']]), ('regression: run direction label', [2, 2, 2, 3, 3, 3, 1], [[6, 1, 'rtl'], [0, 3, 'ltr'], [3, 3, 'rtl']]), ('regression: run direction label', [2, 3], [[0, 1, 'ltr'], [1, 1, 'rtl']]), ('partial-repair probe', [0, 0, 0, 0, 3], [[0, 4, 'ltr'], [4, 1, 'rtl']]), ('LTR number inside RTL', [1, 1, 2, 2, 1], [[4, 1, 'rtl'], [2, 2, 'ltr'], [0, 2, 'rtl']]), ('lowest odd is three', [2, 3, 2], [[0, 1, 'ltr'], [1, 1, 'rtl'], [2, 1, 'ltr']]), ('control layout', [1, 1, 1, 1, 1, 1, 1, 1], [[0, 8, 'rtl']]), ('control layout', [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [[0, 11, 'rtl']])], [('regression: run direction label', [4, 4, 4, 4, 1], [[4, 1, 'rtl'], [0, 4, 'ltr']]), ('regression: run direction label', [1, 3, 4], [[2, 1, 'ltr'], [1, 1, 'rtl'], [0, 1, 'rtl']]), ('regression: run direction label', [2, 1, 1, 1, 1, 3, 3, 3, 3, 1, 4], [[10, 1, 'ltr'], [9, 1, 'rtl'], [5, 4, 'rtl'], [1, 4, 'rtl'], [0, 1, 'ltr']]), ('partial-repair probe', [3, 3], [[0, 2, 'rtl']]), ('lowest odd is three', [2, 3, 2], [[0, 1, 'ltr'], [1, 1, 'rtl'], [2, 1, 'ltr']]), ('LTR number inside RTL', [1, 1, 2, 2, 1], [[4, 1, 'rtl'], [2, 2, 'ltr'], [0, 2, 'rtl']]), ('control layout', [1, 1, 1, 1, 1, 1], [[0, 6, 'rtl']]), ('control layout', [1, 1], [[0, 2, 'rtl']])]]\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":"36ba28907e716296fc38c9251ffa975f4cd455d82045e27cd6406b5759c68ec6","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    levels = x\n    n = len(levels)\n    runs = []\n    for i in range(n):\n        if runs and runs[-1][2] == levels[i]:\n            runs[-1][1] += 1\n        else:\n            runs.append([i, 1, levels[i]])\n    if not runs:\n        return []\n    odd = [r[2] for r in runs if r[2] % 2]\n    if odd:\n        for lev in range(max(r[2] for r in runs), min(odd) - 1, -1):\n            out, i = [], 0\n            while i < len(runs):\n                if runs[i][2] >= lev:\n                    j = i\n                    while j < len(runs) and runs[j][2] >= lev:\n                        j += 1\n                    out.extend(runs[i:j][::-1])\n                    i = j\n                else:\n                    out.append(runs[i])\n                    i += 1\n            runs = out\n    return [[s, ln, 'rtl' if lv % 2 else 'ltr'] for s, ln, lv in runs]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('LTR number inside RTL', [1, 1, 2, 2, 1], [[4, 1, 'rtl'], [2, 2, 'ltr'], [0, 2, 'rtl']]), ('regression: run direction label', [1, 3, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1], [[7, 5, 'rtl'], [1, 3, 'rtl'], [4, 3, 'ltr'], [0, 1, 'rtl']]), ('partial-repair probe', [3, 3, 3, 1], [[3, 1, 'rtl'], [0, 3, 'rtl']]), ('regression: run direction label', [3, 3, 2, 4, 4, 2, 4], [[0, 2, 'rtl'], [2, 1, 'ltr'], [3, 2, 'ltr'], [5, 1, 'ltr'], [6, 1, 'ltr']]), ('lowest odd is three', [2, 3, 2], [[0, 1, 'ltr'], [1, 1, 'rtl'], [2, 1, 'ltr']]), ('control layout', [1, 1, 1, 1, 0, 0], [[0, 4, 'rtl'], [4, 2, 'ltr']]), ('control layout', [0, 0, 0, 0, 0], [[0, 5, 'ltr']]), ('control layout', [0, 0, 1, 1, 1], [[0, 2, 'ltr'], [2, 3, 'rtl']])], [('regression: run direction label', [2, 2, 3, 3, 3, 3, 0], [[0, 2, 'ltr'], [2, 4, 'rtl'], [6, 1, 'ltr']]), ('regression: run direction label', [3, 3, 3, 3, 1, 1, 1, 1, 2], [[8, 1, 'ltr'], [4, 4, 'rtl'], [0, 4, 'rtl']]), ('regression: run direction label', [0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 2], [[0, 6, 'ltr'], [6, 4, 'rtl'], [10, 1, 'ltr']]), ('regression: run direction label', [2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1], [[10, 2, 'rtl'], [0, 1, 'ltr'], [1, 9, 'rtl']]), ('LTR number inside RTL', [1, 1, 2, 2, 1], [[4, 1, 'rtl'], [2, 2, 'ltr'], [0, 2, 'rtl']]), ('lowest odd is three', [2, 3, 2], [[0, 1, 'ltr'], [1, 1, 'rtl'], [2, 1, 'ltr']]), ('control layout', [1, 1], [[0, 2, 'rtl']]), ('control layout', [1, 1], [[0, 2, 'rtl']])], [('regression: run direction label', [2, 2, 2, 2, 1, 1, 1, 1, 3, 3], [[8, 2, 'rtl'], [4, 4, 'rtl'], [0, 4, 'ltr']]), ('regression: run direction label', [3, 3, 3, 1, 1, 3, 3, 3, 1, 1, 1, 2], [[11, 1, 'ltr'], [8, 3, 'rtl'], [5, 3, 'rtl'], [3, 2, 'rtl'], [0, 3, 'rtl']]), ('regression: run direction label', [2, 3], [[0, 1, 'ltr'], [1, 1, 'rtl']]), ('regression: run direction label', [2, 2, 1, 1, 1, 2, 2, 3, 3, 3, 0], [[5, 2, 'ltr'], [7, 3, 'rtl'], [2, 3, 'rtl'], [0, 2, 'ltr'], [10, 1, 'ltr']]), ('lowest odd is three', [2, 3, 2], [[0, 1, 'ltr'], [1, 1, 'rtl'], [2, 1, 'ltr']]), ('LTR number inside RTL', [1, 1, 2, 2, 1], [[4, 1, 'rtl'], [2, 2, 'ltr'], [0, 2, 'rtl']]), ('control layout', [1, 1, 1, 1, 1, 1, 1, 1], [[0, 8, 'rtl']]), ('control layout', [1, 1, 0], [[0, 2, 'rtl'], [2, 1, 'ltr']])], [('regression: run direction label', [2, 2, 2, 2, 2, 2, 4, 1, 3, 3, 3, 3], [[8, 4, 'rtl'], [7, 1, 'rtl'], [0, 6, 'ltr'], [6, 1, 'ltr']]), ('regression: run direction label', [2, 2, 2, 3, 3, 3, 1], [[6, 1, 'rtl'], [0, 3, 'ltr'], [3, 3, 'rtl']]), ('regression: run direction label', [2, 3], [[0, 1, 'ltr'], [1, 1, 'rtl']]), ('partial-repair probe', [0, 0, 0, 0, 3], [[0, 4, 'ltr'], [4, 1, 'rtl']]), ('LTR number inside RTL', [1, 1, 2, 2, 1], [[4, 1, 'rtl'], [2, 2, 'ltr'], [0, 2, 'rtl']]), ('lowest odd is three', [2, 3, 2], [[0, 1, 'ltr'], [1, 1, 'rtl'], [2, 1, 'ltr']]), ('control layout', [1, 1, 1, 1, 1, 1, 1, 1], [[0, 8, 'rtl']]), ('control layout', [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [[0, 11, 'rtl']])], [('regression: run direction label', [4, 4, 4, 4, 1], [[4, 1, 'rtl'], [0, 4, 'ltr']]), ('regression: run direction label', [1, 3, 4], [[2, 1, 'ltr'], [1, 1, 'rtl'], [0, 1, 'rtl']]), ('regression: run direction label', [2, 1, 1, 1, 1, 3, 3, 3, 3, 1, 4], [[10, 1, 'ltr'], [9, 1, 'rtl'], [5, 4, 'rtl'], [1, 4, 'rtl'], [0, 1, 'ltr']]), ('partial-repair probe', [3, 3], [[0, 2, 'rtl']]), ('lowest odd is three', [2, 3, 2], [[0, 1, 'ltr'], [1, 1, 'rtl'], [2, 1, 'ltr']]), ('LTR number inside RTL', [1, 1, 2, 2, 1], [[4, 1, 'rtl'], [2, 2, 'ltr'], [0, 2, 'rtl']]), ('control layout', [1, 1, 1, 1, 1, 1], [[0, 6, 'rtl']]), ('control layout', [1, 1], [[0, 2, 'rtl']])]]\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 bidi model over stipulated class labels and integer levels; it is inspired by, but does not claim conformance to, any published algorithm. 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-bidirectional-text-layout-visual-run-list-run-direction-label","generated_at":"2026-09-29T14:49:57.316352+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Mixed right-to-left and left-to-right text must resolve levels and visual order exactly, or words, numbers and carets land in the wrong place.","repair":"A run is RTL exactly when its level is odd.","root_cause":"Direction is taken from level > 0 instead of level parity.","sha256":"c9cd5cd7d5597b44645df0caac34454b47de7b61f4f0b36478130abe3f948605","title":"Visual run list for shaping: run direction label · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":43.05,"exit_code":1,"observations":[{"actual":[[4,1,"rtl"],[2,2,"ltr"],[0,2,"rtl"]],"check":"LTR number inside RTL","expected":[[4,1,"rtl"],[2,2,"ltr"],[0,2,"rtl"]],"passed":true},{"actual":[[7,5,"rtl"],[1,3,"ltr"],[4,3,"ltr"],[0,1,"rtl"]],"check":"regression: run direction label","expected":[[7,5,"rtl"],[1,3,"rtl"],[4,3,"ltr"],[0,1,"rtl"]],"passed":false},{"actual":[[3,1,"rtl"],[0,3,"ltr"]],"check":"partial-repair probe","expected":[[3,1,"rtl"],[0,3,"rtl"]],"passed":false},{"actual":[[0,2,"ltr"],[2,1,"ltr"],[3,2,"ltr"],[5,1,"ltr"],[6,1,"ltr"]],"check":"regression: run direction label","expected":[[0,2,"rtl"],[2,1,"ltr"],[3,2,"ltr"],[5,1,"ltr"],[6,1,"ltr"]],"passed":false},{"actual":[[0,1,"ltr"],[1,1,"ltr"],[2,1,"ltr"]],"check":"lowest odd is three","expected":[[0,1,"ltr"],[1,1,"rtl"],[2,1,"ltr"]],"passed":false},{"actual":[[0,4,"rtl"],[4,2,"ltr"]],"check":"control layout","expected":[[0,4,"rtl"],[4,2,"ltr"]],"passed":true},{"actual":[[0,5,"ltr"]],"check":"control layout","expected":[[0,5,"ltr"]],"passed":true},{"actual":[[0,2,"ltr"],[2,3,"rtl"]],"check":"control layout","expected":[[0,2,"ltr"],[2,3,"rtl"]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"LTR number inside RTL\", \"actual\": [[4, 1, \"rtl\"], [2, 2, \"ltr\"], [0, 2, \"rtl\"]], \"expected\": [[4, 1, \"rtl\"], [2, 2, \"ltr\"], [0, 2, \"rtl\"]], \"passed\": true}, {\"check\": \"regression: run direction label\", \"actual\": [[7, 5, \"rtl\"], [1, 3, \"ltr\"], [4, 3, \"ltr\"], [0, 1, \"rtl\"]], \"expected\": [[7, 5, \"rtl\"], [1, 3, \"rtl\"], [4, 3, \"ltr\"], [0, 1, \"rtl\"]], \"passed\": false}, {\"check\": \"partial-repair probe\", \"actual\": [[3, 1, \"rtl\"], [0, 3, \"ltr\"]], \"expected\": [[3, 1, \"rtl\"], [0, 3, \"rtl\"]], \"passed\": false}, {\"check\": \"regression: run direction label\", \"actual\": [[0, 2, \"ltr\"], [2, 1, \"ltr\"], [3, 2, \"ltr\"], [5, 1, \"ltr\"], [6, 1, \"ltr\"]], \"expected\": [[0, 2, \"rtl\"], [2, 1, \"ltr\"], [3, 2, \"ltr\"], [5, 1, \"ltr\"], [6, 1, \"ltr\"]], \"passed\": false}, {\"check\": \"lowest odd is three\", \"actual\": [[0, 1, \"ltr\"], [1, 1, \"ltr\"], [2, 1, \"ltr\"]], \"expected\": [[0, 1, \"ltr\"], [1, 1, \"rtl\"], [2, 1, \"ltr\"]], \"passed\": false}, {\"check\": \"control layout\", \"actual\": [[0, 4, \"rtl\"], [4, 2, \"ltr\"]], \"expected\": [[0, 4, \"rtl\"], [4, 2, \"ltr\"]], \"passed\": true}, {\"check\": \"control layout\", \"actual\": [[0, 5, \"ltr\"]], \"expected\": [[0, 5, \"ltr\"]], \"passed\": true}, {\"check\": \"control layout\", \"actual\": [[0, 2, \"ltr\"], [2, 3, \"rtl\"]], \"expected\": [[0, 2, \"ltr\"], [2, 3, \"rtl\"]], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":39.409,"exit_code":1,"observations":[{"actual":[[4,1,"rtl"],[2,2,"rtl"],[0,2,"rtl"]],"check":"LTR number inside RTL","expected":[[4,1,"rtl"],[2,2,"ltr"],[0,2,"rtl"]],"passed":false},{"actual":[[7,5,"rtl"],[1,3,"rtl"],[4,3,"rtl"],[0,1,"rtl"]],"check":"regression: run direction label","expected":[[7,5,"rtl"],[1,3,"rtl"],[4,3,"ltr"],[0,1,"rtl"]],"passed":false},{"actual":[[3,1,"rtl"],[0,3,"rtl"]],"check":"partial-repair probe","expected":[[3,1,"rtl"],[0,3,"rtl"]],"passed":true},{"actual":[[0,2,"rtl"],[2,1,"rtl"],[3,2,"rtl"],[5,1,"rtl"],[6,1,"rtl"]],"check":"regression: run direction label","expected":[[0,2,"rtl"],[2,1,"ltr"],[3,2,"ltr"],[5,1,"ltr"],[6,1,"ltr"]],"passed":false},{"actual":[[0,1,"rtl"],[1,1,"rtl"],[2,1,"rtl"]],"check":"lowest odd is three","expected":[[0,1,"ltr"],[1,1,"rtl"],[2,1,"ltr"]],"passed":false},{"actual":[[0,4,"rtl"],[4,2,"ltr"]],"check":"control layout","expected":[[0,4,"rtl"],[4,2,"ltr"]],"passed":true},{"actual":[[0,5,"ltr"]],"check":"control layout","expected":[[0,5,"ltr"]],"passed":true},{"actual":[[0,2,"ltr"],[2,3,"rtl"]],"check":"control layout","expected":[[0,2,"ltr"],[2,3,"rtl"]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"LTR number inside RTL\", \"actual\": [[4, 1, \"rtl\"], [2, 2, \"rtl\"], [0, 2, \"rtl\"]], \"expected\": [[4, 1, \"rtl\"], [2, 2, \"ltr\"], [0, 2, \"rtl\"]], \"passed\": false}, {\"check\": \"regression: run direction label\", \"actual\": [[7, 5, \"rtl\"], [1, 3, \"rtl\"], [4, 3, \"rtl\"], [0, 1, \"rtl\"]], \"expected\": [[7, 5, \"rtl\"], [1, 3, \"rtl\"], [4, 3, \"ltr\"], [0, 1, \"rtl\"]], \"passed\": false}, {\"check\": \"partial-repair probe\", \"actual\": [[3, 1, \"rtl\"], [0, 3, \"rtl\"]], \"expected\": [[3, 1, \"rtl\"], [0, 3, \"rtl\"]], \"passed\": true}, {\"check\": \"regression: run direction label\", \"actual\": [[0, 2, \"rtl\"], [2, 1, \"rtl\"], [3, 2, \"rtl\"], [5, 1, \"rtl\"], [6, 1, \"rtl\"]], \"expected\": [[0, 2, \"rtl\"], [2, 1, \"ltr\"], [3, 2, \"ltr\"], [5, 1, \"ltr\"], [6, 1, \"ltr\"]], \"passed\": false}, {\"check\": \"lowest odd is three\", \"actual\": [[0, 1, \"rtl\"], [1, 1, \"rtl\"], [2, 1, \"rtl\"]], \"expected\": [[0, 1, \"ltr\"], [1, 1, \"rtl\"], [2, 1, \"ltr\"]], \"passed\": false}, {\"check\": \"control layout\", \"actual\": [[0, 4, \"rtl\"], [4, 2, \"ltr\"]], \"expected\": [[0, 4, \"rtl\"], [4, 2, \"ltr\"]], \"passed\": true}, {\"check\": \"control layout\", \"actual\": [[0, 5, \"ltr\"]], \"expected\": [[0, 5, \"ltr\"]], \"passed\": true}, {\"check\": \"control layout\", \"actual\": [[0, 2, \"ltr\"], [2, 3, \"rtl\"]], \"expected\": [[0, 2, \"ltr\"], [2, 3, \"rtl\"]], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":40.705,"exit_code":0,"observations":[{"actual":[[4,1,"rtl"],[2,2,"ltr"],[0,2,"rtl"]],"check":"LTR number inside RTL","expected":[[4,1,"rtl"],[2,2,"ltr"],[0,2,"rtl"]],"passed":true},{"actual":[[7,5,"rtl"],[1,3,"rtl"],[4,3,"ltr"],[0,1,"rtl"]],"check":"regression: run direction label","expected":[[7,5,"rtl"],[1,3,"rtl"],[4,3,"ltr"],[0,1,"rtl"]],"passed":true},{"actual":[[3,1,"rtl"],[0,3,"rtl"]],"check":"partial-repair probe","expected":[[3,1,"rtl"],[0,3,"rtl"]],"passed":true},{"actual":[[0,2,"rtl"],[2,1,"ltr"],[3,2,"ltr"],[5,1,"ltr"],[6,1,"ltr"]],"check":"regression: run direction label","expected":[[0,2,"rtl"],[2,1,"ltr"],[3,2,"ltr"],[5,1,"ltr"],[6,1,"ltr"]],"passed":true},{"actual":[[0,1,"ltr"],[1,1,"rtl"],[2,1,"ltr"]],"check":"lowest odd is three","expected":[[0,1,"ltr"],[1,1,"rtl"],[2,1,"ltr"]],"passed":true},{"actual":[[0,4,"rtl"],[4,2,"ltr"]],"check":"control layout","expected":[[0,4,"rtl"],[4,2,"ltr"]],"passed":true},{"actual":[[0,5,"ltr"]],"check":"control layout","expected":[[0,5,"ltr"]],"passed":true},{"actual":[[0,2,"ltr"],[2,3,"rtl"]],"check":"control layout","expected":[[0,2,"ltr"],[2,3,"rtl"]],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"LTR number inside RTL\", \"actual\": [[4, 1, \"rtl\"], [2, 2, \"ltr\"], [0, 2, \"rtl\"]], \"expected\": [[4, 1, \"rtl\"], [2, 2, \"ltr\"], [0, 2, \"rtl\"]], \"passed\": true}, {\"check\": \"regression: run direction label\", \"actual\": [[7, 5, \"rtl\"], [1, 3, \"rtl\"], [4, 3, \"ltr\"], [0, 1, \"rtl\"]], \"expected\": [[7, 5, \"rtl\"], [1, 3, \"rtl\"], [4, 3, \"ltr\"], [0, 1, \"rtl\"]], \"passed\": true}, {\"check\": \"partial-repair probe\", \"actual\": [[3, 1, \"rtl\"], [0, 3, \"rtl\"]], \"expected\": [[3, 1, \"rtl\"], [0, 3, \"rtl\"]], \"passed\": true}, {\"check\": \"regression: run direction label\", \"actual\": [[0, 2, \"rtl\"], [2, 1, \"ltr\"], [3, 2, \"ltr\"], [5, 1, \"ltr\"], [6, 1, \"ltr\"]], \"expected\": [[0, 2, \"rtl\"], [2, 1, \"ltr\"], [3, 2, \"ltr\"], [5, 1, \"ltr\"], [6, 1, \"ltr\"]], \"passed\": true}, {\"check\": \"lowest odd is three\", \"actual\": [[0, 1, \"ltr\"], [1, 1, \"rtl\"], [2, 1, \"ltr\"]], \"expected\": [[0, 1, \"ltr\"], [1, 1, \"rtl\"], [2, 1, \"ltr\"]], \"passed\": true}, {\"check\": \"control layout\", \"actual\": [[0, 4, \"rtl\"], [4, 2, \"ltr\"]], \"expected\": [[0, 4, \"rtl\"], [4, 2, \"ltr\"]], \"passed\": true}, {\"check\": \"control layout\", \"actual\": [[0, 5, \"ltr\"]], \"expected\": [[0, 5, \"ltr\"]], \"passed\": true}, {\"check\": \"control layout\", \"actual\": [[0, 2, \"ltr\"], [2, 3, \"rtl\"]], \"expected\": [[0, 2, \"ltr\"], [2, 3, \"rtl\"]], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}