evaluate_diff
Analyze only modified lines in a code diff by running all 45 judges on the full file and filtering findings to the specified line changes. Supports PR reviews and incremental analysis.
Instructions
Evaluate only the changed lines in a code diff. Runs all 45 judges on the full file but filters findings to only those affecting the specified changed lines. Ideal for PR reviews and incremental analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The full file content (post-change) | |
| config | No | Optional inline configuration (same format as .judgesrc) | |
| context | No | Optional context about the change | |
| language | Yes | The programming language | |
| changedLines | Yes | Array of 1-based line numbers that were changed (added or modified) | |
| minConfidence | No | Minimum finding confidence to include (0-1, default: 0) | |
| includeAstFindings | No | Include AST/code-structure findings (default: true) |