Expand description
Pure orchestrator: rules + extracted functions → deviations.
No I/O, no parsing — the caller pre-extracts every function and supplies
them indexed by file path. This keeps the core testable with hand-built
FunctionRefs and lets language adapters parallelize file parsing.
Enums§
Functions§
- detect_
deviations - Run the deviation pipeline.
- score_
pair - Score two functions on the 4 axes (shape / calls / imports / signature) and
return the aggregated
SimilarityScore. Pub so command-level explainers (why) can reuse the exact same scoring asdetect_deviations.
Type Aliases§
- Extracted
Files - All functions extracted from one source file, keyed by relative path string.