Expand description
§tokmd-analysis-effort
Deterministic effort-estimation support for analysis receipts.
This crate turns repository inventory plus optional analysis enrichers into a
top-level tokmd_analysis_types::EffortEstimateReport.
The engine is intentionally layered:
- build an authored-vs-total size basis,
- run a deterministic baseline model over authored KLOC,
- widen or narrow the estimate using observed repo signals,
- explain the result with drivers and confidence reasons,
- optionally attach a base/head delta estimate.
The implementation is local and receipt-driven. It uses repository files and already-computed analysis reports; it does not call external services.
§Inputs
The effort builder can consume:
ExportDatafor per-file size, language, and module context,DerivedReportfor totals, tests, polyglot spread, and baseline derived metrics,- optional
GitReport,ComplexityReport,ApiSurfaceReport, andDuplicateReportfor richer driver extraction and confidence scoring.
§Output contract
The main output is tokmd_analysis_types::EffortEstimateReport, which
contains:
size_basisresultsconfidencedriversassumptions- optional
delta
Rendering layers should treat this crate as the source of estimate semantics and should not infer missing values on their own.
Re-exports§
pub use model::build_effort_report;pub use request::DeltaInput;pub use request::EffortLayer;pub use request::EffortModelKind;pub use request::EffortRequest;
Modules§
- classify
- cocomo2
- cocomo81
- confidence
- delta
- drivers
- model
- monte_
carlo - request
- Request and control types for effort estimation.
- size_
basis - uncertainty