The production readiness score summarises how far a codebase is from being safe and practical to run and maintain in production. It is built from seven dimension scores, each on a scale from 0 to 100. The overall score is derived from the seven; it is not judged separately.
Each dimension score starts as a proposal by a large language model, made against a written rubric. Code then compares the proposal with static measurements and moves it if the evidence requires. The overall score is computed from the resulting values.
The seven dimensions#
| Dimension | What it measures |
|---|---|
| Security | Protection against common attacks: secrets handling, input validation, injection safety, authentication and authorisation, transport security. |
| Code Quality | Maintainability: style consistency, linting, function size, complexity, separation of concerns, duplication. |
| Dependencies | Health of third-party components: currency, known vulnerabilities, lockfiles, size of the dependency tree. |
| Documentation | Whether a new engineer can set up, use and understand the system: README, API documentation, inline comments, design records. |
| Observability | Whether the system can be monitored and debugged in production: logging, health checks, metrics, tracing, alerting. |
| Test Coverage | Extent and quality of automated tests: unit, integration and end-to-end tests, and whether they run in CI. |
| Error Handling | Behaviour under failure: consistent handling, retries, graceful degradation, and not leaking internal details. |
The criteria for each dimension are listed in Dimension rubrics.
Levels#
Each score, overall or per dimension, is shown with a level. The levels are fixed ranges of the score:
| Level | Score range |
|---|---|
| Excellent | 80 to 100 |
| Good | 60 to 79 |
| Fair | 50 to 59 |
| Weak | 0 to 49 |
The rubric that the model scores against uses finer bands of ten points with their own names. Those bands guide the choice of a number; the levels above are what the app and reports display.
How the overall score is calculated#
By default, the overall score is the arithmetic mean of the seven calibrated dimension scores, rounded to the nearest whole number. Every dimension counts equally.
When an analysis framework is selected, the dimension it covers is given extra weight in the mean. With an emphasis of 1.5, for example, that dimension counts one and a half times while each of the other six counts once. The result is a weighted mean that tilts the overall score towards the area you chose. The seven dimension scores themselves are not changed by the weighting, so the radar chart and the dimension table show the same values whether or not a framework is selected.
Reading the score#
- Read the dimension scores before the overall score. A mean can hide one weak dimension behind several strong ones.
- Read the findings for a dimension before acting on its score. The findings give the reasons, with file references.
- Compare scores between assessments with the tolerance described in Determinism and reproducibility. A difference of a few points is not in itself evidence of a change.