Tag an older commit
Tests ability to tag an older (non-HEAD) commit. Evaluates retroactive-tagging command knowledge.
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' > app.txt - 05
git add app.txt - 06
git commit -m 'First commit' - 07
echo 'v2' > app.txt - 08
git add app.txt - 09
git commit -m 'Second commit' - 10
echo 'v3' > app.txt - 11
git add app.txt - 12
git commit -m 'Third commit'
Prompt
Tag the commit with message 'First commit' as 'v0.1'. Output ONLY the git command, nothing else.
Expected
git tag v0.1 HEAD~2
Campaign Evidence
Loading campaign evidence…
Model Outputs (14)
git tag -a v0.1 58b14f6 -m "First commit"
git tag v0.1 4baea00
JSON Schema
Structured Output
(raw) {"command": "git tag v0.1 4baea00"}
git tag -a v0.1 eb0183e -m 'First commit'
git tag -a v0.1 8723b83 -m 'First commit'
JSON Schema
Structured Output
(raw) {
"command": "git tag -a v0.1 8723b83 -m 'First commit'"
}
git tag -a v0.1 ce38bde -m 'First commit'
JSON Schema
Structured Output
(raw) {"command": "git tag -a v0.1 ce38bde -m 'First commit'"}
git tag v0.1 8fdaf14
git tag -a v0.1 53250b5 -m "First commit"
JSON Schema
Structured Output
(raw) {
"command": "git tag -a v0.1 53250b5 -m \"First commit\""
}
git tag v0.1 10da856
git tag -f v0.1 55fb709
JSON Schema
Structured Output
(raw) {
"command": "git tag -f v0.1 55fb709"
}
git tag -a v0.1 -m "v0.1" 65db02f
git tag v0.1 aef435f
git tag v0.1 2c17aec
JSON Schema
Structured Output
(raw) {"command": "git tag v0.1 2c17aec"}
Failure: Failed assertions: [{'type': 'git_output', 'command': 'git log v0.1 --oneline -1', 'contains': 'First commit'}]
```bash
git tag v0.1 27cc6c5
```
Failure: Failed assertions: [{'type': 'git_output', 'command': 'git tag -l', 'contains': 'v0.1'}, {'type': 'git_output', 'command': 'git log v0.1 --oneline -1', 'contains': 'First commit'}]
git tag -a v0.1 02e6ed4
JSON Schema
Structured Output
(raw) {"command": "git tag -a v0.1 02e6ed4"}
Failure: Failed assertions: [{'type': 'git_output', 'command': 'git tag -l', 'contains': 'v0.1'}, {'type': 'git_output', 'command': 'git log v0.1 --oneline -1', 'contains': 'First commit'}]