Failure Clusterer
Path:
loom-sprint-scaffold/loom/src/synthesis/core/failure-clusterer.tsRelative: loom/src/synthesis/core/failure-clusterer.tsSubproject: loom-sprint-scaffoldCategory: otherLines: 181Bytes: 6,193Imports: 1Exports: 5
Content Preview
- /**
- * H5.1 — Failure Clusterer.
- *
- * Groups trace failures by (tool, normalized error signature, variety_class).
- * Error normalization strips ids, paths, and numbers into placeholders so that
- * semantically identical errors produce the same cluster key.
- *
- * Output: ranked failure-mode report entries with example trace refs (event_ids).
- *
- * Pure functions, table-tested. No side effects, no I/O.
- */
- import type { EnrichedTraceEvent, FailureModeReportEntry } from "../../types";
- // ── Help