Three-way: conflicting port and protocol settings in same line range
Tests ability to resolve a three-way conflict with port and protocol settings. Evaluates preference-based conflict resolution with multiple configuration dimensions.
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
printf 'PORT=9090 PROTOCOL=http' > config.txt - 13
git add config.txt - 14
git commit -m 'Change to non-standard port' - 15
git cherry-pick $(git rev-parse branch-a)
Prompt
Resolve the cherry-pick conflict in config.txt. The base PORT was 8080/PROTOCOL=http. The incoming commit changed both to PORT=8443/PROTOCOL=https. The current branch (main) has PORT=9090/PROTOCOL=http. 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
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
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 preferring the HTTPS configuration:
```
PORT=8443
PROTOCOL=https
```
Failure: Expected 'PORT=8443
PROTOCOL=https
', got 'Here's the resolved `config.txt` content preferring the HTTPS configuration:
```
PORT=8443
PROTOCOL=https
```'