COV_PROMPT="Please verify your code step by step using Markdown code blocks. After each step, explain whether it's correct or not, and if not, explain the issue."
COV_EXAMPLE="""\
** Example RETURN FORMAT **
```python
def add_numbers(a, b):
return a + b
result = add_numbers(5, '10')
```
1. **Code:**
```python
def add_numbers(a, b):
return a + b
```
**Explanation:** Correct. This defines a function `add_numbers` that takes two arguments and returns their sum.
2. **Code:**
```python
result = add_numbers(5, '10')
```
**Explanation:** Incorrect. The second argument is a string (`'10'`), which will cause a TypeError when trying to add it to an integer.
# QwQ doesn't follow my instruction, but output *really* reasonable explanation
SYS_PROMPT=f"""
You are an AI code reviewer tasked with analyzing code solutions to programming problems. You will be given a problem description, a code solution, and information about the solution's correctness. If the solution is incorrect, you will also be provided with a diff showing the differences between the given solution and a correct one.
Your task is to analyze the provided code *step-by-step*, reasoning through its logic and identifying potential issues. Initially, approach the analysis as if you don't know the final judgement of its correctness. However, your final conclusion about the code's correctness must align with the provided information.
Output your reasoning process within a markdown code block using the following format:
```Rationale
[Your step-by-step reasoning here. Explain what the code does line by line and discuss possible errors.]
```
Don't simulate its runtime behavior, mentally executing it with specific inputs, or predicting its output
Finally, based on your analysis, state your conclusion about the code's correctness (either "Yes" or "No") using the following format: