re_evaluate_with_context
Re-evaluate source code by incorporating developer context, disputed findings, and accepted rule IDs to adjust evaluation results with confidence filtering.
Instructions
Re-evaluate code with developer-provided context from a multi-turn conversation. Accepts disputed findings, accepted findings, and additional context to adjust the evaluation. This is the agentic feedback loop — the developer explains their intent and the tribunal re-evaluates with that context, applying auto-tune and confidence filtering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The source code to re-evaluate | |
| filePath | No | File path for context-aware evaluation | |
| language | Yes | Programming language (e.g., typescript, python, go) | |
| deepReview | No | Whether to include the LLM deep-review prompt section in the result | |
| focusAreas | No | Specific areas to focus the re-evaluation on (e.g., ['security', 'performance']) | |
| relatedFiles | No | Cross-file context for more accurate evaluation | |
| maxPromptChars | No | Maximum character budget for LLM prompts. Controls truncation of source code, related files, and context strings in deep-review prompts. Set to 0 to disable all truncation. Default: 100000. | |
| acceptedRuleIds | No | Rule IDs the developer accepts (these will not be filtered) | |
| disputedRuleIds | No | Rule IDs the developer disputes as false positives (e.g., ['SEC-001', 'PERF-003']) | |
| confidenceFilter | No | Minimum confidence threshold — findings below this are dropped (default: 0.5) | |
| developerContext | No | Free-form explanation from the developer about their intent, design decisions, or why certain findings are incorrect |