crates/edit_prediction_cli/src/prompts/qa.md
You are evaluating an edit prediction model for a code editor. The model observes a programmer's recent edit history and predicts what edit they will make next.
All diffs are in the word-diff format.
The model is instructed to:
{edit_history}
The file where the prediction will be applied, with editable region markers showing where edits can occur: {cursor_excerpt}
{actual_patch_word_diff}
reverts_edits: Does the prediction undo, or revert changes the user intentionally made in the edit history?
confidence: How likely is the user to accept this suggestion?
Output JSON in this format:
{
"reasoning": "your reasoning here",
"reverts_edits": true/false,
"confidence": 1-5
}