diffctx 1.12.0

Selects the minimum code an LLM needs to review a git diff: walks the dependency graph outward from changed lines and stops when extra context stops paying for itself
Documentation
1
2
3
4
5
6
7
8
9
pub mod boltzmann;
pub mod importance;
pub mod needs;
pub mod scoring;

pub use boltzmann::{boltzmann_select, calibrate_beta};
pub use importance::compute_file_importance;
pub use needs::InformationNeed;
pub use scoring::{UtilityState, apply_fragment, compute_density, marginal_gain, utility_value};