Check verification debt
check_verification_debtEstimate a software team's verification debt from team parameters. Computes the four published metrics (generation-to-verification ratio, review depth, unverified-merge rate, two-week churn) and an annual cost estimate, with the full calculation path, labeled assumptions, thresholds, and sources (GitClear, Sonar, Faros, Veracode). Deterministic arithmetic from published models - no benchmark claims. Only team_size is required; every additional parameter refines the estimate. Set lang='de' for a German report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Report language (default: en) | |
| team_size | Yes | Number of developers on the team (required) | |
| prs_per_month | No | Total merged PRs per month (default: team_size x prs_per_engineer_per_month) | |
| hourly_rate_eur | No | Loaded cost per engineer hour in EUR (default: 75, assumption) | |
| ai_share_percent | No | Share of merges that are AI-assisted, in percent (default: 60, assumption) | |
| ai_merges_per_month | No | AI-assisted merges per month (enables the unverified-merge rate) | |
| merged_loc_per_week | No | Merged changed lines of code per week (enables the GVR and review-depth metrics) | |
| rework_rate_percent | No | Share of AI-assisted changes reworked for a defect within 14 days, in percent (default: 2, the illustrative rate from /cost-of-verification-debt - replace it with your own reason-coded rate) | |
| two_week_churn_percent | No | Share of new lines revised or reverted within 14 days, in percent. A warning signal in the metrics block; it never enters the cost model, because it measures lines and the cost model counts changes | |
| reviewer_hours_per_week | No | Reviewer hours actually spent per week (enables the GVR metric) | |
| hours_per_reworked_change | No | Average hours per reworked change (default: 6, assumption) | |
| prs_per_engineer_per_month | No | Merged PRs per engineer per month (default: 20, derived from the published worked report on /measure-verification-debt) | |
| incident_allowance_eur_per_year | No | Annual incident allowance in EUR (default: 0; add one only when you have a locally defined incident class, frequency and expected-loss method) | |
| ai_merges_with_evidence_per_month | No | AI-assisted merges per month with recorded validation evidence (enables the unverified-merge rate) | |
| review_reconstruction_hours_per_pr | No | Average reviewer hours spent reconstructing intent per AI-assisted PR (default: 0.5, assumption) | |
| substantive_review_comments_per_week | No | Substantive review comments per week, excluding bots and nitpicks (enables the review-depth metric) |