sumo_qa_format_qa_scorecard
Computes QA readiness from ledger evidence, coverage, mutation, and context; returns ready, ready with accepted residuals, blocked, or insufficient evidence, refusing stale or uncovered blockers.
Instructions
Compute QA readiness ("is this ready to merge") from existing evidence:
ready, ready_with_accepted_residuals, blocked or insufficient_evidence.
Infers no risk; an uncovered blocker or stale evidence refuses ready.
Optional inputs: ledger_rows (rows of risk_id, risk,
source_anchor, test, evidence_status: planned / passing / failing /
stale / accepted_residual, residual: open / accepted / mitigated /
blocker), context_bundle (as sumo_qa_format_context_bundle takes),
coverage / mutation (absent means not measured), scope, and
local_head_sha, without which a bundle naming a head_sha cannot
support ready.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | ||
| coverage | No | ||
| mutation | No | ||
| ledger_rows | No | ||
| max_reasons | No | ||
| context_bundle | No | ||
| local_head_sha | No |