Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions agent_test_sample.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
def add_numbers(a, b):
"""Add two numbers."""
# Deliberate bug for testing the PR review agent
return a - b
Comment on lines +3 to +4

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The function is intended to add two numbers, but it currently performs subtraction. The deliberate bug should be corrected to perform addition.

Suggested change
# Deliberate bug for testing the PR review agent
return a - b
return a + b

Loading