Skip to main content

Module shadow

Module shadow 

Source
Expand description

Counterfactual cost and quality reporting for completed tasks.

Re-exports§

pub use comparison::ShadowReport;
pub use recommendation::ShadowTask;

Modules§

baseline
Baseline simulation without LeanCTX optimizations.
comparison
Aggregate baseline-versus-treatment comparison.
persistence
JSON persistence and retention for Shadow Mode reports.
recommendation
LeanCTX treatment measurement and applied-optimization evidence.
runtime
Opt-in runtime buffer for Shadow Mode reports.

Structs§

ShadowEngine
Runs the LeanCTX treatment beside a deterministic baseline without context reduction. Each task is compared with its own host-chosen model; only context changes count as savings.

Functions§

run_comparison