{"abstract":"Archive entry order follows filesystem enumeration.","category":"Packaging","checks":4,"contract":"Return sorted entries with normalized owner/group, fixed timestamp, preserved executable distinction, and file payload. Ignore input owner, group, and timestamp.","contract_signature":"entries, epoch","evaluation_group":"xt-archive-metadata","failed_approach":"The attempted repair substitutes in sorted(entries, reverse=True). Fixture 2 still yields [('b', 0, 0, 100, 493, 'b'), ('a', 0, 0, 100, 420, 'a')] instead of [('a', 0, 0, 100, 420, 'a'), ('b', 0, 0, 100, 493, 'b')].","family":"xt-archive-metadata-entry-order","id":"FA-9976","implementations":{"attempt":{"sha256":"d9d9fef609e013958a6fa57b22f31c47f0d214ae41c0224cc45f672ce8d0d2b3","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(entries, epoch):\n    return [(name, 0, 0, epoch, 493 if executable else 420, content) for name, owner, group, timestamp, executable, content in sorted(entries, reverse=True)]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve([], 0), [])\ncheck('fixture 2', solve([('b', 5, 6, 123, True, 'b'), ('a', 8, 9, 987, False, 'a')], 100), [('a', 0, 0, 100, 420, 'a'), ('b', 0, 0, 100, 493, 'b')])\ncheck('fixture 3', solve([('a', 0, 0, 0, False, '')], 0), [('a', 0, 0, 0, 420, '')])\ncheck('fixture 4', solve([('a', 1, 2, 3, True, 'payload')], 9), [('a', 0, 0, 9, 493, 'payload')])\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":"352e4088df829619afed28cda48c7f50f07274f1ac5ae17041a1617ada40b3d5","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(entries, epoch):\n    return [(name, 0, 0, epoch, 493 if executable else 420, content) for name, owner, group, timestamp, executable, content in entries]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve([], 0), [])\ncheck('fixture 2', solve([('b', 5, 6, 123, True, 'b'), ('a', 8, 9, 987, False, 'a')], 100), [('a', 0, 0, 100, 420, 'a'), ('b', 0, 0, 100, 493, 'b')])\ncheck('fixture 3', solve([('a', 0, 0, 0, False, '')], 0), [('a', 0, 0, 0, 420, '')])\ncheck('fixture 4', solve([('a', 1, 2, 3, True, 'payload')], 9), [('a', 0, 0, 9, 493, 'payload')])\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":"xt-archive-metadata-entry-order","generated_at":"2026-09-29T14:38:34.772896+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"An offline model of reproducible archive metadata, suitable for testing build and release tooling without external services.","root_cause":"The implementation substitutes in entries for in sorted(entries), so archive entry order follows filesystem enumeration.","sha256":"f11a7c3d4979eae62576a2319e1446d61fd340745c76251382c3c864d8495a12","title":"Reproducible archive metadata: Archive entry order follows filesystem enumeration · 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":39.485,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":[["b",0,0,100,493,"b"],["a",0,0,100,420,"a"]],"check":"fixture 2","expected":[["a",0,0,100,420,"a"],["b",0,0,100,493,"b"]],"passed":false},{"actual":[["a",0,0,0,420,""]],"check":"fixture 3","expected":[["a",0,0,0,420,""]],"passed":true},{"actual":[["a",0,0,9,493,"payload"]],"check":"fixture 4","expected":[["a",0,0,9,493,"payload"]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[\"b\", 0, 0, 100, 493, \"b\"], [\"a\", 0, 0, 100, 420, \"a\"]], \"expected\": [[\"a\", 0, 0, 100, 420, \"a\"], [\"b\", 0, 0, 100, 493, \"b\"]], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [[\"a\", 0, 0, 0, 420, \"\"]], \"expected\": [[\"a\", 0, 0, 0, 420, \"\"]], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[\"a\", 0, 0, 9, 493, \"payload\"]], \"expected\": [[\"a\", 0, 0, 9, 493, \"payload\"]], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":35.832,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":[["b",0,0,100,493,"b"],["a",0,0,100,420,"a"]],"check":"fixture 2","expected":[["a",0,0,100,420,"a"],["b",0,0,100,493,"b"]],"passed":false},{"actual":[["a",0,0,0,420,""]],"check":"fixture 3","expected":[["a",0,0,0,420,""]],"passed":true},{"actual":[["a",0,0,9,493,"payload"]],"check":"fixture 4","expected":[["a",0,0,9,493,"payload"]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[\"b\", 0, 0, 100, 493, \"b\"], [\"a\", 0, 0, 100, 420, \"a\"]], \"expected\": [[\"a\", 0, 0, 100, 420, \"a\"], [\"b\", 0, 0, 100, 493, \"b\"]], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [[\"a\", 0, 0, 0, 420, \"\"]], \"expected\": [[\"a\", 0, 0, 0, 420, \"\"]], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[\"a\", 0, 0, 9, 493, \"payload\"]], \"expected\": [[\"a\", 0, 0, 9, 493, \"payload\"]], \"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."}}