Multiple merged branches
Tests ability to identify multiple merged branches for deletion. Evaluates git branch --merged output parsing with several branches.
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
echo 'v1' > version.txt - 05
git add version.txt - 06
git commit -m 'Initial version' - 07
git checkout -b fix-a - 08
echo 'fix a' > a.txt - 09
git add a.txt - 10
git commit -m 'Fix A' - 11
git checkout main - 12
git merge fix-a - 13
git checkout -b fix-b - 14
echo 'fix b' > b.txt - 15
git add b.txt - 16
git commit -m 'Fix B' - 17
git checkout main - 18
git merge fix-b - 19
git checkout -b feature-new - 20
echo 'new feature' > new.txt - 21
git add new.txt - 22
git commit -m 'New feature'
Prompt
Look at the branches in this repository. Which branches should be deleted because they are fully merged into main? List ONLY the branch names to delete, one per line. If none, respond with 'none'.
Expected
fix-a
fix-b
Campaign Evidence
Loading campaign evidence…
Model Outputs (14)
fix-a
fix-b
fix-a
fix-b
fix-a
fix-b
JSON Schema
Structured Output
(raw) {
"branches_to_delete": [
"fix-a",
"fix-b"
]
}
fix-a
fix-b
fix-a
fix-b
JSON Schema
Structured Output
(raw) {"branches_to_delete": ["fix-a", "fix-b"]}
fix-a
fix-b
fix-a
fix-b
JSON Schema
Structured Output
(raw) {
"branches_to_delete": [
"fix-a",
"fix-b"
]
}
fix-a
fix-b
main
Failure: Extra: ['main']
fix-a
fix-b
main
JSON Schema
Structured Output
(raw) {"branches_to_delete": ["fix-a", "fix-b", "main"]}
Failure: Extra: ['main']
fix-a
fix-b
fix-a
fix-b
JSON Schema
Structured Output
(raw) {"branches_to_delete": ["fix-a", "fix-b"]}
fix-a
fix-b
feature-new
fix-a
fix-b
JSON Schema
Structured Output
(raw) {"branches_to_delete": ["feature-new", "fix-a", "fix-b"]}
Failure: Extra: ['feature-new']
Invalid JSON. Output:
JSON Schema
Structured Output
Structured Output Error
Failed to parse structured JSON response: Expecting value: line 1 column 1 (char 0)
Failure: Failed to parse structured JSON response: Expecting value: line 1 column 1 (char 0)