An assessment is reproducible if assessing the same code with the same options gives the same result. Codeego treats reproducibility as a design requirement: a score or an estimate that changes between identical runs cannot support a decision. The controls below apply to every assessment, on every plan.
Controls#
- Deterministic decoding
- The model runs at temperature 0 with a fixed random seed and without nucleus sampling, so that it makes the same choice at each step when given the same input.
- Fixed context schedule
- During the scoring pass, older tool results are condensed on a fixed turn schedule rather than at moments that depend on timing, so the model sees the same conversation in each run.
- Rounding rules in the prompt
- The model is instructed to choose the lower of two adjacent scores when in doubt and to round dimension scores to multiples of 5. Precision beyond that is not meaningful and would only add noise.
- Calibration in code
- Dimension scores are held between ceilings and floors derived from static metrics, and complexity signals are clamped to ranges derived from the same metrics. See Model output and its constraints.
- Estimates in code
- Hours, cost ranges and maintenance cost are computed by formula from measured size, bounded signals and the team scenario. The model's own estimates are discarded.
- Result cache
- When code that was already assessed is submitted again by the same user or organisation, with the same options, the stored scores, findings and technical report are reused instead of running the model again. Identity is established by commit SHAs for Git sources and by a hash of every file for archives. The cache entry is tied to the version of the prompts, models and decoding settings; when any of these changes, earlier entries are no longer used. Assessments run with the Enterprise CLI do not use the cache.
- Scenario re-pricing in code
- The team scenario (work mode, team location, AI adoption) is applied in code after scoring. A new assessment of the same code with a different scenario reuses the cached analysis and recomputes the estimates exactly. Technology facts and recommendation prices are refreshed on each run.
Remaining variation#
Without a cache hit, the model runs again, and small differences can remain even with deterministic decoding (for example, from the inference service itself). The method is regression-tested against a pinned set of reference codebases, each assessed five times, with these acceptance targets:
| Quantity | Target across repeated runs |
|---|---|
| Overall score | Standard deviation of at most 1.5 points |
| Each dimension score | Standard deviation of at most 2 points |
| Estimated hours | Spread (maximum minus minimum) of at most 5% of the mean |
| Ends of the cost range | Within ±3% |
| Categorical values (languages, signal levels) | Identical |
Large multi-service codebases written in many languages vary more, and the reference set allows them a wider tolerance. The wording of reports is not covered by these targets; their figures are.
Re-running changed code#
A new commit, or an archive with any file changed, is a new input. The cache does not apply, and the analysis runs in full. Differences between the two results then have two sources: the change in the code, and the residual variation described above.
- Changes smaller than the rounding step (5 points per dimension) may not appear in the score.
- A difference of a few points in one dimension is within normal variation unless the findings for that dimension also change.
- Changes that cross an evidence threshold, such as adding a README, CI configuration or a substantial test suite, can move a ceiling or floor and change the score in a single step.
- Hours follow the measured size directly. Adding or removing code changes the estimate in proportion, adjusted by the factors described in The investment estimate.
To compare two versions, read the findings alongside the scores. A score change accompanied by a new or resolved finding reflects the code; a score change without one is more likely to be variation.