get_risk_score
Calculate a 0-100 QA risk score for a code change, combining test gap, fix completeness, hotspot recurrence, blast radius, and churn to identify contributing risk factors.
Instructions
QA risk score for a change: 0-100 with level (low/medium/high) and contributing factors.
Combines test gap, fix completeness, hotspot recurrence, blast radius, and churn.
Returns: {score: int, level: "low"|"medium"|"high", factors: [{name, detail, points}]}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>"
},
"name": "get_risk_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr | No | ||
| base | No | ||
| head | No | ||
| repo | Yes |