Skip to main content

Module pipeline

Module pipeline 

Source
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§

PipelineError

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 as detect_deviations.

Type Aliases§

ExtractedFiles
All functions extracted from one source file, keyed by relative path string.