Analyze PR risk
analyze_pr_riskIdentify quality risks in a pull request before merging. Get a risk score, risk drivers, affected categories, similar historical bugs, coverage gaps, and recommended tests to prevent regressions.
Instructions
Analyze a pull request for quality risk. Returns overall risk score (0-100), risk drivers, impacted categories, similar historical bugs, coverage gaps, and recommended tests to run. Use before merging to catch regressions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_title | Yes | Pull request title. | |
| changed_files | No | List of changed file paths (e.g., ['src/checkout.ts', 'src/payment.ts']). | |
| pr_description | No | Pull request body, summary, or description of changes. |