Multi-line hunk: address block conflict
Tests ability to resolve a multi-line hunk conflict with address/contact information. Evaluates combining partial changes from both sides.
Baseline Repository
These commands set up the repo before the model sees the prompt. They define the starting file structure, staged changes, and Git history.
- 01
git init - 02
git config user.email 'test@test.com' - 03
git config user.name 'Test User' - 04
printf 'Name: John Doe Email: john@example.com Phone: 555-1234' > contact.txt - 05
git add contact.txt - 06
git commit -m 'Initial contact' - 07
git checkout -b work - 08
printf 'Name: John Doe Email: john@company.com Phone: 555-1234' > contact.txt - 09
git add contact.txt - 10
git commit -m 'Use work email' - 11
git checkout main - 12
printf 'Name: John Doe Email: johndoe@personal.com Phone: 555-9876' > contact.txt - 13
git add contact.txt - 14
git commit -m 'Update contact info' - 15
git cherry-pick $(git rev-parse work)
Prompt
Resolve the cherry-pick conflict in contact.txt. The base had john@example.com and 555-1234. The incoming commit kept john@example.com but updated the email to john@company.com. The current branch updated both to johndoe@personal.com and 555-9876. Provide ONLY the resolved file content with the most complete updates.
Expected
Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
Campaign Evidence
Loading campaign evidence…
Model Outputs (14)
Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
JSON Schema
Structured Output
(raw) {
"resolved_content": "Name: John Doe\nEmail: johndoe@personal.com\nPhone: 555-9876"
}
Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
JSON Schema
Structured Output
(raw) {"resolved_content": "Name: John Doe\nEmail: johndoe@personal.com\nPhone: 555-9876"}
Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
JSON Schema
Structured Output
(raw) {
"resolved_content": "Name: John Doe\nEmail: johndoe@personal.com\nPhone: 555-9876"
}
Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
JSON Schema
Structured Output
(raw) {"resolved_content": "Name: John Doe\nEmail: johndoe@personal.com\nPhone: 555-9876\n"}
Name: John Doe
Email: john@company.com
Phone: 555-9876
JSON Schema
Structured Output
(raw) {
"resolved_content": "Name: John Doe\nEmail: john@company.com\nPhone: 555-9876"
}
Failure: Expected 'Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
', got 'Name: John Doe
Email: john@company.com
Phone: 555-9876'
Here's the resolved file content with the most complete updates (keeping both the new email and phone number from the current branch):
```
Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
```
Failure: Expected 'Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
', got 'Here's the resolved file content with the most complete updates (keeping both the new email and phone number from the current branch):
```
Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
```'
Name: John Doe
Email: john@company.com
Phone: 555-9876
Failure: Expected 'Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
', got 'Name: John Doe
Email: john@company.com
Phone: 555-9876'
Name: John Doe
Email: john@company.com
Phone: 555-9876
JSON Schema
Structured Output
(raw) {
"resolved_content": "Name: John Doe\nEmail: john@company.com\nPhone: 555-9876"
}
Failure: Expected 'Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
', got 'Name: John Doe
Email: john@company.com
Phone: 555-9876'
--- contact.txt
Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
AUTOMERGE_BASE: contact.txt
<<<<<<< HEAD
Email: johndoe@personal.com
Phone: 555-9876
=======
Email: john@company.com
Phone: 555-1234
>>>>>>> 5b85e99 (Use work email)
Failure: Expected 'Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
', got '--- contact.txt
Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
AUTOMERGE_BASE: contact.txt
<<<<<<< HEAD
Email: johndoe@personal.com
Phone: 555-9876
=======
Email: john@company.com
Phone: 555-1234
>>>>>>> 5b85e99 (Use work email)'
Name: John Doe
Email: john@company.com
Phone: 555-9876
Failure: Expected 'Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
', got '
Name: John Doe
Email: john@company.com
Phone: 555-9876
'
Name: John Doe
Email: john@company.com
Phone: 555-9876
Failure: Expected 'Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
', got '
Name: John Doe
Email: john@company.com
Phone: 555-9876
'
Name: John Doe
Email: john@company.com
Phone: 555-9876
JSON Schema
Structured Output
(raw) {"resolved_content": "Name: John Doe\nEmail: john@company.com\nPhone: 555-9876"}
Failure: Expected 'Name: John Doe
Email: johndoe@personal.com
Phone: 555-9876
', got 'Name: John Doe
Email: john@company.com
Phone: 555-9876'