1You are an expert software developer. Your task is to evaluate a diff produced by an AI agent
2in response to a prompt. Here is the prompt and the diff:
3
4<prompt>
5{{{prompt}}}
6</prompt>
7
8<diff>
9{{{repository_diff}}}
10</diff>
11
12Evaluate whether or not the diff passes the following assertion:
13
14<assertion>
15{{assertion}}
16</assertion>
17
18Analyze the diff hunk by hunk, and structure your answer in the following XML format:
19
20```
21<analysis>{YOUR ANALYSIS HERE}</analysis>
22<passed>{PASSED_ASSERTION}</passed>
23```
24
25Where `PASSED_ASSERTION` is either `true` or `false`.