Remove ignored build artifacts with nested directories
Tests ability to remove ignored build artifacts in nested directories. Evaluates complex cleanup with directory hierarchies.
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 '*.o *.pyc __pycache__/ build/ ' > .gitignore - 05
echo 'src' > main.py - 06
git add .gitignore main.py - 07
git commit -m 'Initial commit' - 08
echo 'obj' > module.o - 09
mkdir -p __pycache__ - 10
echo 'cache' > __pycache__/main.pyc - 11
mkdir -p build/dist - 12
echo 'binary' > build/dist/app - 13
echo 'untracked' > notes.md
Prompt
Remove all ignored files and directories while preserving untracked files. Output ONLY the git command, nothing else.
Expected
git clean -f -X -d
Campaign Evidence
Loading campaign evidence…
Model Outputs (14)
git clean -fdX
JSON Schema
Structured Output
(raw) {"command": "git clean -fdX"}
git clean -fdX
git clean -fdX
JSON Schema
Structured Output
(raw) { "command": "git clean -fdX" }
git clean -Xfd
git clean -fdX
JSON Schema
Structured Output
(raw) {
"command": "git clean -fdX"
}
git clean -fdX
git clean -fdX
JSON Schema
Structured Output
(raw) {
"command": "git clean -fdX"
}
git clean -fX
Failure: Failed assertions: [{'type': 'dir_not_exists', 'path': '__pycache__'}, {'type': 'dir_not_exists', 'path': 'build'}]
git clean -X -f
Failure: Failed assertions: [{'type': 'dir_not_exists', 'path': '__pycache__'}, {'type': 'dir_not_exists', 'path': 'build'}]
```bash
git clean -fdX
```
Failure: Failed assertions: [{'type': 'file_not_exists', 'path': 'module.o'}, {'type': 'dir_not_exists', 'path': '__pycache__'}, {'type': 'dir_not_exists', 'path': 'build'}]
git clean -X -d
JSON Schema
Structured Output
(raw) {"command": "git clean -X -d"}
Failure: Failed assertions: [{'type': 'file_not_exists', 'path': 'module.o'}, {'type': 'dir_not_exists', 'path': '__pycache__'}, {'type': 'dir_not_exists', 'path': 'build'}]
git clean -d -x
JSON Schema
Structured Output
(raw) {"command": "git clean -d -x"}
Failure: Failed assertions: [{'type': 'file_not_exists', 'path': 'module.o'}, {'type': 'dir_not_exists', 'path': '__pycache__'}, {'type': 'dir_not_exists', 'path': 'build'}]
git clean -i
Failure: Failed assertions: [{'type': 'file_not_exists', 'path': 'module.o'}, {'type': 'dir_not_exists', 'path': '__pycache__'}, {'type': 'dir_not_exists', 'path': 'build'}]
git clean -d -i --exclude=notes.md
JSON Schema
Structured Output
(raw) {"command": "git clean -d -i --exclude=notes.md"}
Failure: Failed assertions: [{'type': 'file_not_exists', 'path': 'module.o'}, {'type': 'dir_not_exists', 'path': '__pycache__'}, {'type': 'dir_not_exists', 'path': 'build'}]