Priced recommendations

On Expert assessments, each recommendation becomes a remediation action with a criticality level, an effort estimate in hours and a cost range in EUR. This page explains how they are produced.

On the Expert plan, recommendations are not free text. Each one is a remediation action: a concrete piece of work, such as upgrading a runtime or adding tests to an untested module, with a criticality level and, where it can be sized, an estimate of effort and cost. The figures are produced in code from measured facts about the codebase; the model classifies the work but never writes hours or amounts.

How an action is built#

  1. The model proposes a list of actions. For each action it states the type of work, the repository it applies to, the findings it addresses, its scope (isolated, one module, or cross-cutting) and its difficulty (low, medium or high). Every critical issue must be addressed by at least one action; warnings should be.
  2. Version numbers, component identifiers and vulnerability identifiers in an action must come from a set of verified facts collected in code: the runtimes and frameworks detected with their versions, their end-of-life status, and the known vulnerabilities in the dependency lockfiles. References that do not match a verified fact are discarded.
  3. Code adds safety-net actions for material facts that no proposed action covers: a runtime or framework past or near its end of life, a dependency with a critical or high-severity vulnerability, or a critical issue with no action addressing it.
  4. Code assigns the criticality and sizes each action, then sorts the list by criticality.

Criticality#

Each action is labelled CRITICAL, HIGH, MEDIUM or LOW. The level is taken from the strongest available source, in this order of precedence:

  • Facts. A component already past its end of life makes the action critical; one reaching end of life within six months makes it high. A known vulnerability contributes its own severity. End-of-life dates come from a dated snapshot of the public endoflife.date dataset, and vulnerabilities from the OSV.dev database; the action text names the fact and its source.
  • Findings. An action that addresses a critical issue is critical. An action that addresses a warning is at least medium.
  • Assessment. Only when no fact or finding applies does the model's own judgement of criticality stand.

What is priced and how#

Effort is sized from measurements of the codebase, not estimated by the model. The inputs depend on the type of action:

Runtime and framework upgrades
The amount of code written in the languages the component affects, and the distance between the current release and the target release. More code and a larger jump mean more effort.
Vulnerable dependency remediation
The number of affected packages, and whether the fix requires a new major version (more effort) or a patch release (less).
Dependency refresh
The number of declared dependencies. Effort grows with the count, but more slowly than the count itself.
Test coverage
The gap between the amount of test code present and a target proportion of test code to source code. If the target is already met, the action is not priced.
Refactoring, security hardening, observability, CI/CD, infrastructure as code, documentation
A base effort for the type of work, scaled with the size of the codebase within fixed lower and upper bounds.
Other
Actions that fit none of the types above are listed but not priced, and show Not estimated.

The base effort is then adjusted for the scope and difficulty of the action and for the team scenario (work mode and AI adoption). The cost range applies the hourly rate band of the selected team location to the hours, in the same way as the investment estimate. Hours are rounded to a whole number, with a minimum of one hour.

Where priced recommendations appear#

  • On the assessment page, in the Recommendations box of Detailed Findings. Each row shows the criticality, the action, why it matters, and the cost range with the approximate hours. Below the list, Estimated cost gives the total of all priced actions.
  • In the technical report, in a Remediation Effort Estimates section with the hours of each action and their total. The technical report contains no money amounts.
  • In the economic report, in a Remediation Cost Estimates section with hours and cost ranges. This section appears only when the economic valuation was included.

Remediation is priced separately from the investment estimate. The investment estimate values the work already done; the remediation total estimates work still to do. The two figures should not be added together.