The Graphite Lab
Sign inBrowse the Catalog

Tools

Code Change Risk Scorer

Reads a code diff and returns a structured risk profile for the change.

Module
Tools
where it lives

What it does

Reads a code diff and returns a structured risk profile for the change

Accepts a code diff and returns a structured risk assessment: which subsystems are touched, where regression risk is concentrated, and how the change compares to the project's historical risk baseline. The output includes a numeric risk score, a list of affected subsystems, and the specific changed lines driving each finding. Configurable against a project's own risk taxonomy.

When you’d reach for it

  • Scoring a pull request as part of CI so high-risk diffs route to a mandatory senior review.
  • Triaging an open pull-request backlog by risk level during sprint planning.
  • Gating an automated deployment against a risk-score threshold before a release proceeds.