Three-way: conflicting port and protocol settings in same line range
Tests ability to resolve a three-way rebase conflict with port and protocol. Evaluates multi-dimensional conflict with rebase context.
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 'PORT=8080 PROTOCOL=http' > config.txt - 05
git add config.txt - 06
git commit -m 'Initial config' - 07
git checkout -b branch-a - 08
printf 'PORT=8443 PROTOCOL=https' > config.txt - 09
git add config.txt - 10
git commit -m 'Use HTTPS port' - 11
git checkout main - 12
git checkout -b branch-b - 13
printf 'PORT=9090 PROTOCOL=http' > config.txt - 14
git add config.txt - 15
git commit -m 'Change to non-standard port' - 16
git checkout main - 17
git merge branch-a - 18
git rebase branch-b
Prompt
Resolve the rebase conflict in config.txt. Three different configurations were attempted: base PORT=8080/PROTOCOL=http, branch being rebased PORT=9090/PROTOCOL=http, main's version PORT=8443/PROTOCOL=https (from branch-a merge). Prefer the HTTPS configuration when there is a conflict. Provide ONLY the resolved config.txt content.
Expected
PORT=8443
PROTOCOL=https
Campaign Evidence
Loading campaign evidence…
Model Outputs (14)
PORT=8443
PROTOCOL=https
PORT=8443
PROTOCOL=https
JSON Schema
Structured Output
(raw) {
"resolved_content": "PORT=8443\nPROTOCOL=https"
}
PORT=8443
PROTOCOL=https
PORT=8443
PROTOCOL=https
JSON Schema
Structured Output
(raw) {
"resolved_content": "PORT=8443\nPROTOCOL=https"
}
PORT=8443
PROTOCOL=https
JSON Schema
Structured Output
(raw) {"resolved_content": "PORT=8443\nPROTOCOL=https"}
PORT=8443
PROTOCOL=https
PORT=8443
PROTOCOL=https
PORT=8443
PROTOCOL=https
PORT=8443
PROTOCOL=https
JSON Schema
Structured Output
(raw) {"resolved_content": "PORT=8443\nPROTOCOL=https"}
PORT=8443
PROTOCOL=https
PORT=8443
PROTOCOL=https
JSON Schema
Structured Output
(raw) {"resolved_content": "PORT=8443\nPROTOCOL=https"}
Here's the resolved `config.txt` content with the HTTPS configuration preferred:
```
PORT=8443
PROTOCOL=https
```
Failure: Expected 'PORT=8443
PROTOCOL=https
', got 'Here's the resolved `config.txt` content with the HTTPS configuration preferred:
```
PORT=8443
PROTOCOL=https
```'
PORT=8443\nPROTOCOL=https
JSON Schema
Structured Output
(raw) {
"resolved_content": "PORT=8443\\nPROTOCOL=https"
}
Failure: Expected 'PORT=8443
PROTOCOL=https
', got 'PORT=8443\nPROTOCOL=https'
[resolved] PORT=8443\nPROTOCOL=https
JSON Schema
Structured Output
(raw) {
"resolved_content": "[resolved] PORT=8443\\nPROTOCOL=https"
}
Failure: Expected 'PORT=8443
PROTOCOL=https
', got '[resolved] PORT=8443\nPROTOCOL=https'