{"abstract":"Archive group IDs depend on the build host.","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 name, 0, group or 0, epoch. Fixture 2 still yields [('a', 0, 9, 100, 420, 'a'), ('b', 0, 6, 100, 493, 'b')] instead of [('a', 0, 0, 100, 420, 'a'), ('b', 0, 0, 100, 493, 'b')].","family":"xt-archive-metadata-group-normalization","id":"FA-9961","implementations":{"attempt":{"sha256":"a85778face768757d0136a754da0283eadd305caebcd5dfe3fbce3e44d2db63d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(entries, epoch):\n    return [(name, 0, group or 0, epoch, 493 if executable else 420, content) for name, owner, group, timestamp, executable, content in sorted(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"},"broken":{"sha256":"adb00f5b1f73cbbed0f4f871ba64fced76c6d0ec768acb2129de79a5e5f71644","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(entries, epoch):\n    return [(name, 0, group, epoch, 493 if executable else 420, content) for name, owner, group, timestamp, executable, content in sorted(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-group-normalization","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 name, 0, group, epoch for name, 0, 0, epoch, so archive group IDs depend on the build host.","sha256":"9e4de4a0053d6db5ffccd0e97db1440851c0d954ac3f2bef47767b8db8ca6a56","title":"Reproducible archive metadata: Archive group IDs depend on the build host · 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":40.03,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":[["a",0,9,100,420,"a"],["b",0,6,100,493,"b"]],"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,2,9,493,"payload"]],"check":"fixture 4","expected":[["a",0,0,9,493,"payload"]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[\"a\", 0, 9, 100, 420, \"a\"], [\"b\", 0, 6, 100, 493, \"b\"]], \"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, 2, 9, 493, \"payload\"]], \"expected\": [[\"a\", 0, 0, 9, 493, \"payload\"]], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.385,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":[["a",0,9,100,420,"a"],["b",0,6,100,493,"b"]],"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,2,9,493,"payload"]],"check":"fixture 4","expected":[["a",0,0,9,493,"payload"]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[\"a\", 0, 9, 100, 420, \"a\"], [\"b\", 0, 6, 100, 493, \"b\"]], \"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, 2, 9, 493, \"payload\"]], \"expected\": [[\"a\", 0, 0, 9, 493, \"payload\"]], \"passed\": false}], \"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."}}