score_risk
Compute risk level from code change signals: sum boolean flags and numeric thresholds to categorize as Low (0-1), Medium (2-3), or High (4+).
Instructions
Compute risk level (Low/Medium/High) from boolean signals. Pure function. 0-1=Low, 2-3=Medium, 4+=High.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| touches_auth | No | ||
| touches_money | No | ||
| touches_migration | No | ||
| files_count | No | ||
| loc_changed | No | ||
| new_module | No | ||
| api_contract_change | No |