{"abstract":"Compressed panes ignore their relative minimum sizes.","category":"Viewport layout","checks":8,"contract":"Subtract divider from total; honor both minimums when feasible; otherwise share available width in proportion to minima; panes sum to available space.","contract_signature":"total, divider, requested, minimum_first, minimum_second","evaluation_group":"xi-split-pane","failed_approach":"Using the second pane weight assigns the wrong share.","family":"xi-split-pane-compression-weight","id":"FA-8791","implementations":{"attempt":{"sha256":"aded1ae7075b17c80236e4564b9569424efd08189bc55d8feb9380113ffadb6f","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(total, divider, requested, minimum_first, minimum_second):\n    available = max(0, total - divider)\n    if available < minimum_first + minimum_second:\n        first = available * minimum_second / (minimum_first + minimum_second) if minimum_first + minimum_second else 0\n    else: first = max(minimum_first, min(requested, available-minimum_second))\n    return (first, available-first)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('normal', solve(110, 10, 40, 20, 30), (40, 60))\ncheck('narrow', solve(40, 10, 25, 20, 40), (10, 20))\ncheck('first min', solve(110, 10, 5, 20, 30), (20, 80))\ncheck('second min', solve(110, 10, 95, 20, 30), (70, 30))\ncheck('large request', solve(210, 10, 100, 20, 40), (100, 100))\ncheck('zero', solve(0, 10, 5, 0, 0), (0, 0))\ncheck('parameterized panel extent', solve(11*N,N,4*N,2*N,3*N), (4*N,6*N))\nfor repetition in range(N):\n    check('repeat zero', solve(0, 10, 5, 0, 0), (0, 0))\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":"25aa214fac13208710b36f1d60f7b86e921e2fb6d45ddfa29754da645480dfa1","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(total, divider, requested, minimum_first, minimum_second):\n    available = max(0, total - divider)\n    if available < minimum_first + minimum_second:\n        first = available / 2 if minimum_first + minimum_second else 0\n    else: first = max(minimum_first, min(requested, available-minimum_second))\n    return (first, available-first)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('normal', solve(110, 10, 40, 20, 30), (40, 60))\ncheck('narrow', solve(40, 10, 25, 20, 40), (10, 20))\ncheck('first min', solve(110, 10, 5, 20, 30), (20, 80))\ncheck('second min', solve(110, 10, 95, 20, 30), (70, 30))\ncheck('large request', solve(210, 10, 100, 20, 40), (100, 100))\ncheck('zero', solve(0, 10, 5, 0, 0), (0, 0))\ncheck('parameterized panel extent', solve(11*N,N,4*N,2*N,3*N), (4*N,6*N))\nfor repetition in range(N):\n    check('repeat zero', solve(0, 10, 5, 0, 0), (0, 0))\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":" 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":"xi-split-pane-compression-weight","generated_at":"2026-09-29T14:38:24.418015+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"A deterministic model of split-pane divider allocation; this isolates one interface invariant without requiring a browser.","root_cause":"The compression weight operation uses `available / 2` where the contract requires `available * minimum_first / (minimum_first + minimum_second)`.","sha256":"e97671a02d8b50f80a666e253210e35a4a2e086a85fa96128340a12bb68a49b7","title":"Split-pane divider allocation: Compressed panes ignore their relative minimum sizes · 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":37.561,"exit_code":1,"observations":[{"actual":[40,60],"check":"normal","expected":[40,60],"passed":true},{"actual":[20.0,10.0],"check":"narrow","expected":[10,20],"passed":false},{"actual":[20,80],"check":"first min","expected":[20,80],"passed":true},{"actual":[70,30],"check":"second min","expected":[70,30],"passed":true},{"actual":[100,100],"check":"large request","expected":[100,100],"passed":true},{"actual":[0,0],"check":"zero","expected":[0,0],"passed":true},{"actual":[4,6],"check":"parameterized panel extent","expected":[4,6],"passed":true},{"actual":[0,0],"check":"repeat zero","expected":[0,0],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"normal\", \"actual\": [40, 60], \"expected\": [40, 60], \"passed\": true}, {\"check\": \"narrow\", \"actual\": [20.0, 10.0], \"expected\": [10, 20], \"passed\": false}, {\"check\": \"first min\", \"actual\": [20, 80], \"expected\": [20, 80], \"passed\": true}, {\"check\": \"second min\", \"actual\": [70, 30], \"expected\": [70, 30], \"passed\": true}, {\"check\": \"large request\", \"actual\": [100, 100], \"expected\": [100, 100], \"passed\": true}, {\"check\": \"zero\", \"actual\": [0, 0], \"expected\": [0, 0], \"passed\": true}, {\"check\": \"parameterized panel extent\", \"actual\": [4, 6], \"expected\": [4, 6], \"passed\": true}, {\"check\": \"repeat zero\", \"actual\": [0, 0], \"expected\": [0, 0], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":37.14,"exit_code":1,"observations":[{"actual":[40,60],"check":"normal","expected":[40,60],"passed":true},{"actual":[15.0,15.0],"check":"narrow","expected":[10,20],"passed":false},{"actual":[20,80],"check":"first min","expected":[20,80],"passed":true},{"actual":[70,30],"check":"second min","expected":[70,30],"passed":true},{"actual":[100,100],"check":"large request","expected":[100,100],"passed":true},{"actual":[0,0],"check":"zero","expected":[0,0],"passed":true},{"actual":[4,6],"check":"parameterized panel extent","expected":[4,6],"passed":true},{"actual":[0,0],"check":"repeat zero","expected":[0,0],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"normal\", \"actual\": [40, 60], \"expected\": [40, 60], \"passed\": true}, {\"check\": \"narrow\", \"actual\": [15.0, 15.0], \"expected\": [10, 20], \"passed\": false}, {\"check\": \"first min\", \"actual\": [20, 80], \"expected\": [20, 80], \"passed\": true}, {\"check\": \"second min\", \"actual\": [70, 30], \"expected\": [70, 30], \"passed\": true}, {\"check\": \"large request\", \"actual\": [100, 100], \"expected\": [100, 100], \"passed\": true}, {\"check\": \"zero\", \"actual\": [0, 0], \"expected\": [0, 0], \"passed\": true}, {\"check\": \"parameterized panel extent\", \"actual\": [4, 6], \"expected\": [4, 6], \"passed\": true}, {\"check\": \"repeat zero\", \"actual\": [0, 0], \"expected\": [0, 0], \"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."}}