{"abstract":"Public strings exceed the configured field limit.","category":"Observability","checks":7,"contract":"Remove forbidden keys, replace sensitive field values with REDACTED, truncate long public string values, preserve nonstring values, and return keys in lexical order. Forbidden removal dominates sensitive replacement.","evaluation_group":"xt-telemetry-redaction","failed_approach":"The attempted repair substitutes value = value[:max(1, limit)]. Fixture 6 still yields [('a', 'h')] instead of [('a', '')].","family":"xt-telemetry-redaction-string-limit","id":"FA-10341","implementations":{"attempt":{"sha256":"29e107f31505a9787dc0fd0c3f4297398973197c8f261c5461fb6bec33f806ef","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(fields, forbidden, sensitive, limit):\n    result = {}\n    for key in sorted(fields):\n        if key in forbidden: continue\n        value = fields[key]\n        if key in sensitive: value = 'REDACTED'\n        elif isinstance(value, str): value = value[:max(1, limit)]\n        result[key] = value\n    return list(result.items())\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve({}, [], [], 3), [])\ncheck('fixture 2', solve({'b': 'hello', 'a': 'xy'}, [], [], 3), [('a', 'xy'), ('b', 'hel')])\ncheck('fixture 3', solve({'a': 'secret'}, ['a'], ['a'], 3), [])\ncheck('fixture 4', solve({'a': 'secret'}, [], ['a'], 3), [('a', 'REDACTED')])\ncheck('fixture 5', solve({'a': 0, 'b': False}, [], [], 3), [('a', 0), ('b', False)])\ncheck('fixture 6', solve({'a': 'hello'}, [], [], 0), [('a', '')])\ncheck('fixture 7', solve({'a': 'abc'}, [], [], 3), [('a', 'abc')])\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":"b58f385db89746fd788dc60d1bd777240a9c2515cc477cfcbc217883de0035dc","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(fields, forbidden, sensitive, limit):\n    result = {}\n    for key in sorted(fields):\n        if key in forbidden: continue\n        value = fields[key]\n        if key in sensitive: value = 'REDACTED'\n        elif isinstance(value, str): value = value\n        result[key] = value\n    return list(result.items())\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve({}, [], [], 3), [])\ncheck('fixture 2', solve({'b': 'hello', 'a': 'xy'}, [], [], 3), [('a', 'xy'), ('b', 'hel')])\ncheck('fixture 3', solve({'a': 'secret'}, ['a'], ['a'], 3), [])\ncheck('fixture 4', solve({'a': 'secret'}, [], ['a'], 3), [('a', 'REDACTED')])\ncheck('fixture 5', solve({'a': 0, 'b': False}, [], [], 3), [('a', 0), ('b', False)])\ncheck('fixture 6', solve({'a': 'hello'}, [], [], 0), [('a', '')])\ncheck('fixture 7', solve({'a': 'abc'}, [], [], 3), [('a', 'abc')])\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":"169f7043df42461de1fb63a690c7e1f5176f86c68bc043da8a33a4640416f00a","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(fields, forbidden, sensitive, limit):\n    result = {}\n    for key in sorted(fields):\n        if key in forbidden: continue\n        value = fields[key]\n        if key in sensitive: value = 'REDACTED'\n        elif isinstance(value, str): value = value[:limit]\n        result[key] = value\n    return list(result.items())\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve({}, [], [], 3), [])\ncheck('fixture 2', solve({'b': 'hello', 'a': 'xy'}, [], [], 3), [('a', 'xy'), ('b', 'hel')])\ncheck('fixture 3', solve({'a': 'secret'}, ['a'], ['a'], 3), [])\ncheck('fixture 4', solve({'a': 'secret'}, [], ['a'], 3), [('a', 'REDACTED')])\ncheck('fixture 5', solve({'a': 0, 'b': False}, [], [], 3), [('a', 0), ('b', False)])\ncheck('fixture 6', solve({'a': 'hello'}, [], [], 0), [('a', '')])\ncheck('fixture 7', solve({'a': 'abc'}, [], [], 3), [('a', 'abc')])\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-telemetry-redaction-string-limit","generated_at":"2026-09-29T14:38:38.067119+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"An offline model of structured telemetry field redaction, suitable for testing build and release tooling without external services.","repair":"Apply the exact string limit, including zero.","root_cause":"The implementation substitutes value = value for value = value[:limit], so public strings exceed the configured field limit.","sha256":"d65cf45d808fb440cddd86ed67730e746cbf60225bd473d99119ee2b68e7a9c8","title":"Structured telemetry field redaction: Public strings exceed the configured field limit · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":40.12,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":[["a","xy"],["b","hel"]],"check":"fixture 2","expected":[["a","xy"],["b","hel"]],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[["a","REDACTED"]],"check":"fixture 4","expected":[["a","REDACTED"]],"passed":true},{"actual":[["a",0],["b",false]],"check":"fixture 5","expected":[["a",0],["b",false]],"passed":true},{"actual":[["a","h"]],"check":"fixture 6","expected":[["a",""]],"passed":false},{"actual":[["a","abc"]],"check":"fixture 7","expected":[["a","abc"]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[\"a\", \"xy\"], [\"b\", \"hel\"]], \"expected\": [[\"a\", \"xy\"], [\"b\", \"hel\"]], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[\"a\", \"REDACTED\"]], \"expected\": [[\"a\", \"REDACTED\"]], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [[\"a\", 0], [\"b\", false]], \"expected\": [[\"a\", 0], [\"b\", false]], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [[\"a\", \"h\"]], \"expected\": [[\"a\", \"\"]], \"passed\": false}, {\"check\": \"fixture 7\", \"actual\": [[\"a\", \"abc\"]], \"expected\": [[\"a\", \"abc\"]], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":40.871,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":[["a","xy"],["b","hello"]],"check":"fixture 2","expected":[["a","xy"],["b","hel"]],"passed":false},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[["a","REDACTED"]],"check":"fixture 4","expected":[["a","REDACTED"]],"passed":true},{"actual":[["a",0],["b",false]],"check":"fixture 5","expected":[["a",0],["b",false]],"passed":true},{"actual":[["a","hello"]],"check":"fixture 6","expected":[["a",""]],"passed":false},{"actual":[["a","abc"]],"check":"fixture 7","expected":[["a","abc"]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[\"a\", \"xy\"], [\"b\", \"hello\"]], \"expected\": [[\"a\", \"xy\"], [\"b\", \"hel\"]], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[\"a\", \"REDACTED\"]], \"expected\": [[\"a\", \"REDACTED\"]], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [[\"a\", 0], [\"b\", false]], \"expected\": [[\"a\", 0], [\"b\", false]], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [[\"a\", \"hello\"]], \"expected\": [[\"a\", \"\"]], \"passed\": false}, {\"check\": \"fixture 7\", \"actual\": [[\"a\", \"abc\"]], \"expected\": [[\"a\", \"abc\"]], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":39.421,"exit_code":0,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":[["a","xy"],["b","hel"]],"check":"fixture 2","expected":[["a","xy"],["b","hel"]],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[["a","REDACTED"]],"check":"fixture 4","expected":[["a","REDACTED"]],"passed":true},{"actual":[["a",0],["b",false]],"check":"fixture 5","expected":[["a",0],["b",false]],"passed":true},{"actual":[["a",""]],"check":"fixture 6","expected":[["a",""]],"passed":true},{"actual":[["a","abc"]],"check":"fixture 7","expected":[["a","abc"]],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[\"a\", \"xy\"], [\"b\", \"hel\"]], \"expected\": [[\"a\", \"xy\"], [\"b\", \"hel\"]], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[\"a\", \"REDACTED\"]], \"expected\": [[\"a\", \"REDACTED\"]], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [[\"a\", 0], [\"b\", false]], \"expected\": [[\"a\", 0], [\"b\", false]], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [[\"a\", \"\"]], \"expected\": [[\"a\", \"\"]], \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": [[\"a\", \"abc\"]], \"expected\": [[\"a\", \"abc\"]], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}