evaluate_then_fix
Evaluate code and automatically generate fix patches for all auto-fixable findings, returning a verdict and ready-to-apply patches for a streamlined review and fix workflow.
Instructions
Evaluate code and automatically generate fix patches for all findings that have auto-fix support. Returns the evaluation verdict alongside ready-to-apply patches. Use this for a single-step 'review + fix' workflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The source code to evaluate and fix. | |
| config | No | Optional inline configuration (same format as .judgesrc) | |
| context | No | Optional context about the code. | |
| language | Yes | The programming language (e.g., 'typescript', 'python'). | |
| minConfidence | No | Minimum finding confidence to include (0-1, default: 0) | |
| includeAstFindings | No | Include AST/code-structure findings (default: true) |