Expand description
Pluggable cost estimation models.
Four built-in models:
- COCOMO Basic — classic Boehm 1981, three project types
- COCOMO II — modern 2000 calibration, scale factors + cost drivers
- Putnam/SLIM — Rayleigh-curve manpower model
- LOCOMO — LLM Output Cost Model (AI-era code generation cost)
Structs§
- Cocomo
Basic Model - COCOMO I Basic model (Boehm 1981).
- CocomoII
Model - COCOMO II Post-Architecture model (Boehm 2000).
- Code
Metrics - Code metrics extracted per-language or globally.
- Cost
Config - Shared cost parameters (salary-based models).
- Estimation
Comparison - Multi-model comparison report.
- Estimation
Report - Complete estimation report.
- Language
Estimation - Per-language estimation breakdown.
- Locomo
Model - LOCOMO — estimates cost/time to regenerate code with an LLM.
- Putnam
Model - Putnam/SLIM model.
Enums§
- Project
Type - COCOMO project complexity type.
Constants§
- COCOM
O2_ SF_ NOMINAL - Nominal values for the 5 COCOMO II scale factors.
Traits§
- Estimation
Model - Pluggable estimation model.
Functions§
- estimate
- Generate estimation report from analysis summary.
- estimate_
all - Run all given models and produce a comparison report.