Skip to main content

Module pipeline

Module pipeline 

Source

Structs§

HeavyLatencyMs
ScoredState
Per-instance heavy-phase outputs cached for reuse across many (tau, core_budget_fraction) selection cells. The selection / post-pass / render pipeline then runs against this state cheaply.

Functions§

build_diff_context
compute_scored_state
Heavy phase: clone/parse/fragment/discover/tokenize/score. Independent of tau/core_budget_fraction. Designed to be computed ONCE per instance and reused across an arbitrary number of selection cells.
raw_diff_text
The unified diff of diff_range as git prints it, minus the file sections diff mode never discloses: secret-like paths, ignored paths, and lock files (#112). Additive output for --with-raw-diff (#150) — it feeds no selection state, so selection is bit-identical with and without it.
select_with_params
Light phase: selection + 3 post-passes + render. Cheap. Re-runnable against the same ScoredState with different (tau, core_budget_fraction) to sweep a calibration grid without re-doing the heavy phase.