{"abstract":"A runt is only partly fixed when one moved word is not enough.","category":"Typography line breaking","checks":8,"contract":"Input [words, width, minimum last-line length]. Greedy fill (unit spaces; overwide word alone). Then while there are at least two lines and the last line string is shorter than the minimum, move the last word of the previous line down if that line keeps at least one word and the new last line fits. Return lines.","evaluation_group":"w2-typography-line-breaking-runt-last-line","failed_approach":"Stopping once the donor line has fewer than three words still leaves runts.","family":"w2-typography-line-breaking-runt-last-line-repeated-rebalancing","id":"FA-80131","implementations":{"attempt":{"sha256":"3bfed405395df87b0fb8183ad7165a19b84e601e2bd3c03b9f237b6940c55246","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    words, width, min_last = x\n    lines = []\n    cur = ''\n    for w in words:\n        cand = w if not cur else cur + ' ' + w\n        if len(cand) <= width or not cur:\n            cur = cand\n        else:\n            lines.append(cur)\n            cur = w\n    lines.append(cur)\n    while len(lines) >= 2 and len(lines[-1]) < min_last:\n        prev = lines[-2].split(' ')\n        if len(prev) < 2:\n            break\n        moved = prev[-1] + ' ' + lines[-1]\n        if len(moved) > width:\n            break\n        lines[-2] = ' '.join(prev[:-1])\n        lines[-1] = moved\n        if len(prev) < 4:\n            break\n    return lines\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('regression: repeated rebalancing', [['the', 'the', 'is', 'ink', 'serif', 'on', 'on', 'ink'], 14, 8], ['the the is ink', 'serif', 'on on ink']), ('regression: repeated rebalancing', [['the', 'measure', 'a', 'x'], 14, 6], ['the', 'measure a x']), ('regression: repeated rebalancing', [['measure', 'is', 'on', 'grid', 'is', 'measure', 'ink', 'ink', 'serif', 'x', 'on'], 13, 9], ['measure is on', 'grid is', 'measure ink', 'ink', 'serif x on']), ('regression: repeated rebalancing', [['ink', 'the', 'of', 'of', 'of', 'on', 'at'], 10, 9], ['ink the of', 'of', 'of on at']), ('runt limited by width', [['kerning', 'baseline', 'x'], 10, 4], ['kerning', 'baseline x']), ('one-word runt pulled down', [['the', 'type', 'grid', 'is', 'a'], 12, 5], ['the type', 'grid is a']), ('control layout', [['on', 'ink', 'type', 'a'], 12, 4], ['on ink', 'type a']), ('control layout', [['kerning', 'grid', 'a', 'kerning', 'serif', 'is', 'the', 'kerning', 'baseline', 'serif'], 7, 4], ['kerning', 'grid a', 'kerning', 'serif', 'is the', 'kerning', 'baseline', 'serif'])], [('regression: repeated rebalancing', [['x', 'on', 'is', 'the', 'is', 'is', 'ink'], 18, 7], ['x on is the', 'is is ink']), ('regression: repeated rebalancing', [['is', 'serif', 'on', 'a', 'type'], 14, 7], ['is serif', 'on a type']), ('regression: repeated rebalancing', [['grid', 'the', 'the', 'kerning', 'kerning', 'x', 'a'], 17, 7], ['grid the the', 'kerning', 'kerning x a']), ('regression: repeated rebalancing', [['is', 'baseline', 'measure', 'the', 'baseline', 'a', 'the', 'x'], 15, 8], ['is baseline', 'measure the', 'baseline', 'a the x']), ('runt limited by width', [['kerning', 'baseline', 'x'], 10, 4], ['kerning', 'baseline x']), ('one-word runt pulled down', [['the', 'type', 'grid', 'is', 'a'], 12, 5], ['the type', 'grid is a']), ('control layout', [['serif', 'measure', 'type'], 11, 5], ['serif', 'measure', 'type']), ('control layout', [['of', 'at', 'x', 'on', 'measure', 'type', 'a', 'measure'], 19, 4], ['of at x on measure', 'type a measure'])], [('regression: repeated rebalancing', [['serif', 'the', 'is', 'is', 'of', 'grid', 'at', 'is', 'a'], 10, 7], ['serif the', 'is is of', 'grid', 'at is a']), ('regression: repeated rebalancing', [['measure', 'is', 'on', 'grid', 'is', 'measure', 'ink', 'ink', 'serif', 'x', 'on'], 13, 9], ['measure is on', 'grid is', 'measure ink', 'ink', 'serif x on']), ('regression: repeated rebalancing', [['ink', 'the', 'of', 'of', 'of', 'on', 'at'], 10, 9], ['ink the of', 'of', 'of on at']), ('regression: repeated rebalancing', [['measure', 'type', 'is', 'serif', 'at', 'the'], 13, 8], ['measure type', 'is', 'serif at the']), ('runt limited by width', [['kerning', 'baseline', 'x'], 10, 4], ['kerning', 'baseline x']), ('one-word runt pulled down', [['the', 'type', 'grid', 'is', 'a'], 12, 5], ['the type', 'grid is a']), ('control layout', [['serif', 'is', 'a', 'x', 'kerning', 'kerning'], 7, 4], ['serif', 'is a x', 'kerning', 'kerning']), ('control layout', [['grid', 'kerning', 'is', 'serif', 'ink'], 17, 7], ['grid kerning is', 'serif ink'])], [('regression: repeated rebalancing', [['the', 'on', 'a', 'a', 'of'], 10, 8], ['the', 'on a a of']), ('regression: repeated rebalancing', [['grid', 'the', 'the', 'kerning', 'kerning', 'x', 'a'], 17, 7], ['grid the the', 'kerning', 'kerning x a']), ('regression: repeated rebalancing', [['the', 'measure', 'a', 'x'], 14, 6], ['the', 'measure a x']), ('regression: repeated rebalancing', [['ink', 'the', 'of', 'of', 'of', 'on', 'at'], 10, 9], ['ink the of', 'of', 'of on at']), ('runt limited by width', [['kerning', 'baseline', 'x'], 10, 4], ['kerning', 'baseline x']), ('one-word runt pulled down', [['the', 'type', 'grid', 'is', 'a'], 12, 5], ['the type', 'grid is a']), ('control layout', [['on', 'of', 'at', 'ink', 'measure'], 12, 5], ['on of at ink', 'measure']), ('control layout', [['kerning', 'is', 'type', 'of', 'type', 'of', 'baseline', 'a', 'baseline'], 14, 8], ['kerning is', 'type of type', 'of baseline a', 'baseline'])], [('regression: repeated rebalancing', [['the', 'on', 'a', 'a', 'of'], 10, 8], ['the', 'on a a of']), ('regression: repeated rebalancing', [['the', 'the', 'is', 'ink', 'serif', 'on', 'on', 'ink'], 14, 8], ['the the is ink', 'serif', 'on on ink']), ('regression: repeated rebalancing', [['is', 'baseline', 'measure', 'the', 'baseline', 'a', 'the', 'x'], 15, 8], ['is baseline', 'measure the', 'baseline', 'a the x']), ('regression: repeated rebalancing', [['grid', 'the', 'the', 'kerning', 'kerning', 'x', 'a'], 17, 7], ['grid the the', 'kerning', 'kerning x a']), ('one-word runt pulled down', [['the', 'type', 'grid', 'is', 'a'], 12, 5], ['the type', 'grid is a']), ('runt limited by width', [['kerning', 'baseline', 'x'], 10, 4], ['kerning', 'baseline x']), ('control layout', [['type', 'ink', 'the', 'ink', 'the', 'of', 'kerning', 'a', 'of'], 13, 9], ['type ink the', 'ink the of', 'kerning a of']), ('control layout', [['x', 'baseline', 'grid', 'is', 'baseline', 'on', 'on', 'at', 'on', 'grid', 'grid'], 20, 3], ['x baseline grid is', 'baseline on on at on', 'grid grid'])]]\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":"3b25c0fe5a669ccd598fa0cb4d669afc984640972409a3abfbfe1ffa246b48d5","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    words, width, min_last = x\n    lines = []\n    cur = ''\n    for w in words:\n        cand = w if not cur else cur + ' ' + w\n        if len(cand) <= width or not cur:\n            cur = cand\n        else:\n            lines.append(cur)\n            cur = w\n    lines.append(cur)\n    while len(lines) >= 2 and len(lines[-1]) < min_last:\n        prev = lines[-2].split(' ')\n        if len(prev) < 2:\n            break\n        moved = prev[-1] + ' ' + lines[-1]\n        if len(moved) > width:\n            break\n        lines[-2] = ' '.join(prev[:-1])\n        lines[-1] = moved\n        break\n    return lines\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('regression: repeated rebalancing', [['the', 'the', 'is', 'ink', 'serif', 'on', 'on', 'ink'], 14, 8], ['the the is ink', 'serif', 'on on ink']), ('regression: repeated rebalancing', [['the', 'measure', 'a', 'x'], 14, 6], ['the', 'measure a x']), ('regression: repeated rebalancing', [['measure', 'is', 'on', 'grid', 'is', 'measure', 'ink', 'ink', 'serif', 'x', 'on'], 13, 9], ['measure is on', 'grid is', 'measure ink', 'ink', 'serif x on']), ('regression: repeated rebalancing', [['ink', 'the', 'of', 'of', 'of', 'on', 'at'], 10, 9], ['ink the of', 'of', 'of on at']), ('runt limited by width', [['kerning', 'baseline', 'x'], 10, 4], ['kerning', 'baseline x']), ('one-word runt pulled down', [['the', 'type', 'grid', 'is', 'a'], 12, 5], ['the type', 'grid is a']), ('control layout', [['on', 'ink', 'type', 'a'], 12, 4], ['on ink', 'type a']), ('control layout', [['kerning', 'grid', 'a', 'kerning', 'serif', 'is', 'the', 'kerning', 'baseline', 'serif'], 7, 4], ['kerning', 'grid a', 'kerning', 'serif', 'is the', 'kerning', 'baseline', 'serif'])], [('regression: repeated rebalancing', [['x', 'on', 'is', 'the', 'is', 'is', 'ink'], 18, 7], ['x on is the', 'is is ink']), ('regression: repeated rebalancing', [['is', 'serif', 'on', 'a', 'type'], 14, 7], ['is serif', 'on a type']), ('regression: repeated rebalancing', [['grid', 'the', 'the', 'kerning', 'kerning', 'x', 'a'], 17, 7], ['grid the the', 'kerning', 'kerning x a']), ('regression: repeated rebalancing', [['is', 'baseline', 'measure', 'the', 'baseline', 'a', 'the', 'x'], 15, 8], ['is baseline', 'measure the', 'baseline', 'a the x']), ('runt limited by width', [['kerning', 'baseline', 'x'], 10, 4], ['kerning', 'baseline x']), ('one-word runt pulled down', [['the', 'type', 'grid', 'is', 'a'], 12, 5], ['the type', 'grid is a']), ('control layout', [['serif', 'measure', 'type'], 11, 5], ['serif', 'measure', 'type']), ('control layout', [['of', 'at', 'x', 'on', 'measure', 'type', 'a', 'measure'], 19, 4], ['of at x on measure', 'type a measure'])], [('regression: repeated rebalancing', [['serif', 'the', 'is', 'is', 'of', 'grid', 'at', 'is', 'a'], 10, 7], ['serif the', 'is is of', 'grid', 'at is a']), ('regression: repeated rebalancing', [['measure', 'is', 'on', 'grid', 'is', 'measure', 'ink', 'ink', 'serif', 'x', 'on'], 13, 9], ['measure is on', 'grid is', 'measure ink', 'ink', 'serif x on']), ('regression: repeated rebalancing', [['ink', 'the', 'of', 'of', 'of', 'on', 'at'], 10, 9], ['ink the of', 'of', 'of on at']), ('regression: repeated rebalancing', [['measure', 'type', 'is', 'serif', 'at', 'the'], 13, 8], ['measure type', 'is', 'serif at the']), ('runt limited by width', [['kerning', 'baseline', 'x'], 10, 4], ['kerning', 'baseline x']), ('one-word runt pulled down', [['the', 'type', 'grid', 'is', 'a'], 12, 5], ['the type', 'grid is a']), ('control layout', [['serif', 'is', 'a', 'x', 'kerning', 'kerning'], 7, 4], ['serif', 'is a x', 'kerning', 'kerning']), ('control layout', [['grid', 'kerning', 'is', 'serif', 'ink'], 17, 7], ['grid kerning is', 'serif ink'])], [('regression: repeated rebalancing', [['the', 'on', 'a', 'a', 'of'], 10, 8], ['the', 'on a a of']), ('regression: repeated rebalancing', [['grid', 'the', 'the', 'kerning', 'kerning', 'x', 'a'], 17, 7], ['grid the the', 'kerning', 'kerning x a']), ('regression: repeated rebalancing', [['the', 'measure', 'a', 'x'], 14, 6], ['the', 'measure a x']), ('regression: repeated rebalancing', [['ink', 'the', 'of', 'of', 'of', 'on', 'at'], 10, 9], ['ink the of', 'of', 'of on at']), ('runt limited by width', [['kerning', 'baseline', 'x'], 10, 4], ['kerning', 'baseline x']), ('one-word runt pulled down', [['the', 'type', 'grid', 'is', 'a'], 12, 5], ['the type', 'grid is a']), ('control layout', [['on', 'of', 'at', 'ink', 'measure'], 12, 5], ['on of at ink', 'measure']), ('control layout', [['kerning', 'is', 'type', 'of', 'type', 'of', 'baseline', 'a', 'baseline'], 14, 8], ['kerning is', 'type of type', 'of baseline a', 'baseline'])], [('regression: repeated rebalancing', [['the', 'on', 'a', 'a', 'of'], 10, 8], ['the', 'on a a of']), ('regression: repeated rebalancing', [['the', 'the', 'is', 'ink', 'serif', 'on', 'on', 'ink'], 14, 8], ['the the is ink', 'serif', 'on on ink']), ('regression: repeated rebalancing', [['is', 'baseline', 'measure', 'the', 'baseline', 'a', 'the', 'x'], 15, 8], ['is baseline', 'measure the', 'baseline', 'a the x']), ('regression: repeated rebalancing', [['grid', 'the', 'the', 'kerning', 'kerning', 'x', 'a'], 17, 7], ['grid the the', 'kerning', 'kerning x a']), ('one-word runt pulled down', [['the', 'type', 'grid', 'is', 'a'], 12, 5], ['the type', 'grid is a']), ('runt limited by width', [['kerning', 'baseline', 'x'], 10, 4], ['kerning', 'baseline x']), ('control layout', [['type', 'ink', 'the', 'ink', 'the', 'of', 'kerning', 'a', 'of'], 13, 9], ['type ink the', 'ink the of', 'kerning a of']), ('control layout', [['x', 'baseline', 'grid', 'is', 'baseline', 'on', 'on', 'at', 'on', 'grid', 'grid'], 20, 3], ['x baseline grid is', 'baseline on on at on', 'grid grid'])]]\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":"1c223ca8eaa09ad4095cb5333edbbe63151b72f6a203285c0ab94c7f35cc5423","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    words, width, min_last = x\n    lines = []\n    cur = ''\n    for w in words:\n        cand = w if not cur else cur + ' ' + w\n        if len(cand) <= width or not cur:\n            cur = cand\n        else:\n            lines.append(cur)\n            cur = w\n    lines.append(cur)\n    while len(lines) >= 2 and len(lines[-1]) < min_last:\n        prev = lines[-2].split(' ')\n        if len(prev) < 2:\n            break\n        moved = prev[-1] + ' ' + lines[-1]\n        if len(moved) > width:\n            break\n        lines[-2] = ' '.join(prev[:-1])\n        lines[-1] = moved\n    return lines\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('regression: repeated rebalancing', [['the', 'the', 'is', 'ink', 'serif', 'on', 'on', 'ink'], 14, 8], ['the the is ink', 'serif', 'on on ink']), ('regression: repeated rebalancing', [['the', 'measure', 'a', 'x'], 14, 6], ['the', 'measure a x']), ('regression: repeated rebalancing', [['measure', 'is', 'on', 'grid', 'is', 'measure', 'ink', 'ink', 'serif', 'x', 'on'], 13, 9], ['measure is on', 'grid is', 'measure ink', 'ink', 'serif x on']), ('regression: repeated rebalancing', [['ink', 'the', 'of', 'of', 'of', 'on', 'at'], 10, 9], ['ink the of', 'of', 'of on at']), ('runt limited by width', [['kerning', 'baseline', 'x'], 10, 4], ['kerning', 'baseline x']), ('one-word runt pulled down', [['the', 'type', 'grid', 'is', 'a'], 12, 5], ['the type', 'grid is a']), ('control layout', [['on', 'ink', 'type', 'a'], 12, 4], ['on ink', 'type a']), ('control layout', [['kerning', 'grid', 'a', 'kerning', 'serif', 'is', 'the', 'kerning', 'baseline', 'serif'], 7, 4], ['kerning', 'grid a', 'kerning', 'serif', 'is the', 'kerning', 'baseline', 'serif'])], [('regression: repeated rebalancing', [['x', 'on', 'is', 'the', 'is', 'is', 'ink'], 18, 7], ['x on is the', 'is is ink']), ('regression: repeated rebalancing', [['is', 'serif', 'on', 'a', 'type'], 14, 7], ['is serif', 'on a type']), ('regression: repeated rebalancing', [['grid', 'the', 'the', 'kerning', 'kerning', 'x', 'a'], 17, 7], ['grid the the', 'kerning', 'kerning x a']), ('regression: repeated rebalancing', [['is', 'baseline', 'measure', 'the', 'baseline', 'a', 'the', 'x'], 15, 8], ['is baseline', 'measure the', 'baseline', 'a the x']), ('runt limited by width', [['kerning', 'baseline', 'x'], 10, 4], ['kerning', 'baseline x']), ('one-word runt pulled down', [['the', 'type', 'grid', 'is', 'a'], 12, 5], ['the type', 'grid is a']), ('control layout', [['serif', 'measure', 'type'], 11, 5], ['serif', 'measure', 'type']), ('control layout', [['of', 'at', 'x', 'on', 'measure', 'type', 'a', 'measure'], 19, 4], ['of at x on measure', 'type a measure'])], [('regression: repeated rebalancing', [['serif', 'the', 'is', 'is', 'of', 'grid', 'at', 'is', 'a'], 10, 7], ['serif the', 'is is of', 'grid', 'at is a']), ('regression: repeated rebalancing', [['measure', 'is', 'on', 'grid', 'is', 'measure', 'ink', 'ink', 'serif', 'x', 'on'], 13, 9], ['measure is on', 'grid is', 'measure ink', 'ink', 'serif x on']), ('regression: repeated rebalancing', [['ink', 'the', 'of', 'of', 'of', 'on', 'at'], 10, 9], ['ink the of', 'of', 'of on at']), ('regression: repeated rebalancing', [['measure', 'type', 'is', 'serif', 'at', 'the'], 13, 8], ['measure type', 'is', 'serif at the']), ('runt limited by width', [['kerning', 'baseline', 'x'], 10, 4], ['kerning', 'baseline x']), ('one-word runt pulled down', [['the', 'type', 'grid', 'is', 'a'], 12, 5], ['the type', 'grid is a']), ('control layout', [['serif', 'is', 'a', 'x', 'kerning', 'kerning'], 7, 4], ['serif', 'is a x', 'kerning', 'kerning']), ('control layout', [['grid', 'kerning', 'is', 'serif', 'ink'], 17, 7], ['grid kerning is', 'serif ink'])], [('regression: repeated rebalancing', [['the', 'on', 'a', 'a', 'of'], 10, 8], ['the', 'on a a of']), ('regression: repeated rebalancing', [['grid', 'the', 'the', 'kerning', 'kerning', 'x', 'a'], 17, 7], ['grid the the', 'kerning', 'kerning x a']), ('regression: repeated rebalancing', [['the', 'measure', 'a', 'x'], 14, 6], ['the', 'measure a x']), ('regression: repeated rebalancing', [['ink', 'the', 'of', 'of', 'of', 'on', 'at'], 10, 9], ['ink the of', 'of', 'of on at']), ('runt limited by width', [['kerning', 'baseline', 'x'], 10, 4], ['kerning', 'baseline x']), ('one-word runt pulled down', [['the', 'type', 'grid', 'is', 'a'], 12, 5], ['the type', 'grid is a']), ('control layout', [['on', 'of', 'at', 'ink', 'measure'], 12, 5], ['on of at ink', 'measure']), ('control layout', [['kerning', 'is', 'type', 'of', 'type', 'of', 'baseline', 'a', 'baseline'], 14, 8], ['kerning is', 'type of type', 'of baseline a', 'baseline'])], [('regression: repeated rebalancing', [['the', 'on', 'a', 'a', 'of'], 10, 8], ['the', 'on a a of']), ('regression: repeated rebalancing', [['the', 'the', 'is', 'ink', 'serif', 'on', 'on', 'ink'], 14, 8], ['the the is ink', 'serif', 'on on ink']), ('regression: repeated rebalancing', [['is', 'baseline', 'measure', 'the', 'baseline', 'a', 'the', 'x'], 15, 8], ['is baseline', 'measure the', 'baseline', 'a the x']), ('regression: repeated rebalancing', [['grid', 'the', 'the', 'kerning', 'kerning', 'x', 'a'], 17, 7], ['grid the the', 'kerning', 'kerning x a']), ('one-word runt pulled down', [['the', 'type', 'grid', 'is', 'a'], 12, 5], ['the type', 'grid is a']), ('runt limited by width', [['kerning', 'baseline', 'x'], 10, 4], ['kerning', 'baseline x']), ('control layout', [['type', 'ink', 'the', 'ink', 'the', 'of', 'kerning', 'a', 'of'], 13, 9], ['type ink the', 'ink the of', 'kerning a of']), ('control layout', [['x', 'baseline', 'grid', 'is', 'baseline', 'on', 'on', 'at', 'on', 'grid', 'grid'], 20, 3], ['x baseline grid is', 'baseline on on at on', 'grid grid'])]]\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 typesetting model with integer widths and a stipulated rule set; it does not claim conformance to any engine. 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-typography-line-breaking-runt-last-line-repeated-rebalancing","generated_at":"2026-09-29T14:49:50.962282+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Line breaking decides where paragraphs wrap on screen and in print; a wrong decision point shifts every following line.","repair":"Keep moving words while the last line is still a runt.","root_cause":"The rebalancing loop exits after moving a single word.","sha256":"611e15401ce3408340b50bc6fa9359ae8b385000cf1497cd639be0e365df459e","title":"Runt last-line prevention: repeated rebalancing · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":39.661,"exit_code":1,"observations":[{"actual":["the the is ink","serif on","on ink"],"check":"regression: repeated rebalancing","expected":["the the is ink","serif","on on ink"],"passed":false},{"actual":["the measure","a x"],"check":"regression: repeated rebalancing","expected":["the","measure a x"],"passed":false},{"actual":["measure is on","grid is","measure ink","ink serif","x on"],"check":"regression: repeated rebalancing","expected":["measure is on","grid is","measure ink","ink","serif x on"],"passed":false},{"actual":["ink the of","of of","on at"],"check":"regression: repeated rebalancing","expected":["ink the of","of","of on at"],"passed":false},{"actual":["kerning","baseline x"],"check":"runt limited by width","expected":["kerning","baseline x"],"passed":true},{"actual":["the type","grid is a"],"check":"one-word runt pulled down","expected":["the type","grid is a"],"passed":true},{"actual":["on ink","type a"],"check":"control layout","expected":["on ink","type a"],"passed":true},{"actual":["kerning","grid a","kerning","serif","is the","kerning","baseline","serif"],"check":"control layout","expected":["kerning","grid a","kerning","serif","is the","kerning","baseline","serif"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: repeated rebalancing\", \"actual\": [\"the the is ink\", \"serif on\", \"on ink\"], \"expected\": [\"the the is ink\", \"serif\", \"on on ink\"], \"passed\": false}, {\"check\": \"regression: repeated rebalancing\", \"actual\": [\"the measure\", \"a x\"], \"expected\": [\"the\", \"measure a x\"], \"passed\": false}, {\"check\": \"regression: repeated rebalancing\", \"actual\": [\"measure is on\", \"grid is\", \"measure ink\", \"ink serif\", \"x on\"], \"expected\": [\"measure is on\", \"grid is\", \"measure ink\", \"ink\", \"serif x on\"], \"passed\": false}, {\"check\": \"regression: repeated rebalancing\", \"actual\": [\"ink the of\", \"of of\", \"on at\"], \"expected\": [\"ink the of\", \"of\", \"of on at\"], \"passed\": false}, {\"check\": \"runt limited by width\", \"actual\": [\"kerning\", \"baseline x\"], \"expected\": [\"kerning\", \"baseline x\"], \"passed\": true}, {\"check\": \"one-word runt pulled down\", \"actual\": [\"the type\", \"grid is a\"], \"expected\": [\"the type\", \"grid is a\"], \"passed\": true}, {\"check\": \"control layout\", \"actual\": [\"on ink\", \"type a\"], \"expected\": [\"on ink\", \"type a\"], \"passed\": true}, {\"check\": \"control layout\", \"actual\": [\"kerning\", \"grid a\", \"kerning\", \"serif\", \"is the\", \"kerning\", \"baseline\", \"serif\"], \"expected\": [\"kerning\", \"grid a\", \"kerning\", \"serif\", \"is the\", \"kerning\", \"baseline\", \"serif\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":42.882,"exit_code":1,"observations":[{"actual":["the the is ink","serif on","on ink"],"check":"regression: repeated rebalancing","expected":["the the is ink","serif","on on ink"],"passed":false},{"actual":["the measure","a x"],"check":"regression: repeated rebalancing","expected":["the","measure a x"],"passed":false},{"actual":["measure is on","grid is","measure ink","ink serif","x on"],"check":"regression: repeated rebalancing","expected":["measure is on","grid is","measure ink","ink","serif x on"],"passed":false},{"actual":["ink the of","of of","on at"],"check":"regression: repeated rebalancing","expected":["ink the of","of","of on at"],"passed":false},{"actual":["kerning","baseline x"],"check":"runt limited by width","expected":["kerning","baseline x"],"passed":true},{"actual":["the type","grid is a"],"check":"one-word runt pulled down","expected":["the type","grid is a"],"passed":true},{"actual":["on ink","type a"],"check":"control layout","expected":["on ink","type a"],"passed":true},{"actual":["kerning","grid a","kerning","serif","is the","kerning","baseline","serif"],"check":"control layout","expected":["kerning","grid a","kerning","serif","is the","kerning","baseline","serif"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: repeated rebalancing\", \"actual\": [\"the the is ink\", \"serif on\", \"on ink\"], \"expected\": [\"the the is ink\", \"serif\", \"on on ink\"], \"passed\": false}, {\"check\": \"regression: repeated rebalancing\", \"actual\": [\"the measure\", \"a x\"], \"expected\": [\"the\", \"measure a x\"], \"passed\": false}, {\"check\": \"regression: repeated rebalancing\", \"actual\": [\"measure is on\", \"grid is\", \"measure ink\", \"ink serif\", \"x on\"], \"expected\": [\"measure is on\", \"grid is\", \"measure ink\", \"ink\", \"serif x on\"], \"passed\": false}, {\"check\": \"regression: repeated rebalancing\", \"actual\": [\"ink the of\", \"of of\", \"on at\"], \"expected\": [\"ink the of\", \"of\", \"of on at\"], \"passed\": false}, {\"check\": \"runt limited by width\", \"actual\": [\"kerning\", \"baseline x\"], \"expected\": [\"kerning\", \"baseline x\"], \"passed\": true}, {\"check\": \"one-word runt pulled down\", \"actual\": [\"the type\", \"grid is a\"], \"expected\": [\"the type\", \"grid is a\"], \"passed\": true}, {\"check\": \"control layout\", \"actual\": [\"on ink\", \"type a\"], \"expected\": [\"on ink\", \"type a\"], \"passed\": true}, {\"check\": \"control layout\", \"actual\": [\"kerning\", \"grid a\", \"kerning\", \"serif\", \"is the\", \"kerning\", \"baseline\", \"serif\"], \"expected\": [\"kerning\", \"grid a\", \"kerning\", \"serif\", \"is the\", \"kerning\", \"baseline\", \"serif\"], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":39.829,"exit_code":0,"observations":[{"actual":["the the is ink","serif","on on ink"],"check":"regression: repeated rebalancing","expected":["the the is ink","serif","on on ink"],"passed":true},{"actual":["the","measure a x"],"check":"regression: repeated rebalancing","expected":["the","measure a x"],"passed":true},{"actual":["measure is on","grid is","measure ink","ink","serif x on"],"check":"regression: repeated rebalancing","expected":["measure is on","grid is","measure ink","ink","serif x on"],"passed":true},{"actual":["ink the of","of","of on at"],"check":"regression: repeated rebalancing","expected":["ink the of","of","of on at"],"passed":true},{"actual":["kerning","baseline x"],"check":"runt limited by width","expected":["kerning","baseline x"],"passed":true},{"actual":["the type","grid is a"],"check":"one-word runt pulled down","expected":["the type","grid is a"],"passed":true},{"actual":["on ink","type a"],"check":"control layout","expected":["on ink","type a"],"passed":true},{"actual":["kerning","grid a","kerning","serif","is the","kerning","baseline","serif"],"check":"control layout","expected":["kerning","grid a","kerning","serif","is the","kerning","baseline","serif"],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression: repeated rebalancing\", \"actual\": [\"the the is ink\", \"serif\", \"on on ink\"], \"expected\": [\"the the is ink\", \"serif\", \"on on ink\"], \"passed\": true}, {\"check\": \"regression: repeated rebalancing\", \"actual\": [\"the\", \"measure a x\"], \"expected\": [\"the\", \"measure a x\"], \"passed\": true}, {\"check\": \"regression: repeated rebalancing\", \"actual\": [\"measure is on\", \"grid is\", \"measure ink\", \"ink\", \"serif x on\"], \"expected\": [\"measure is on\", \"grid is\", \"measure ink\", \"ink\", \"serif x on\"], \"passed\": true}, {\"check\": \"regression: repeated rebalancing\", \"actual\": [\"ink the of\", \"of\", \"of on at\"], \"expected\": [\"ink the of\", \"of\", \"of on at\"], \"passed\": true}, {\"check\": \"runt limited by width\", \"actual\": [\"kerning\", \"baseline x\"], \"expected\": [\"kerning\", \"baseline x\"], \"passed\": true}, {\"check\": \"one-word runt pulled down\", \"actual\": [\"the type\", \"grid is a\"], \"expected\": [\"the type\", \"grid is a\"], \"passed\": true}, {\"check\": \"control layout\", \"actual\": [\"on ink\", \"type a\"], \"expected\": [\"on ink\", \"type a\"], \"passed\": true}, {\"check\": \"control layout\", \"actual\": [\"kerning\", \"grid a\", \"kerning\", \"serif\", \"is the\", \"kerning\", \"baseline\", \"serif\"], \"expected\": [\"kerning\", \"grid a\", \"kerning\", \"serif\", \"is the\", \"kerning\", \"baseline\", \"serif\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}