Combined cleanup of untracked and ignored with directories in specific path
Tests ability to perform combined cleanup of untracked and ignored files with directories in a specific path. Evaluates advanced multi-flag cleanup.
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 '*.log tmp/ ' > .gitignore - 05
mkdir -p src - 06
echo 'main' > src/app.py - 07
git add .gitignore src - 08
git commit -m 'Initial commit' - 09
echo 'debug' > src/debug.log - 10
mkdir -p src/tmp - 11
echo 'cache' > src/tmp/data - 12
echo 'untracked' > src/new.py - 13
echo 'root junk' > root.log
Prompt
Remove all untracked and ignored files and directories from the src/ directory only. Output ONLY the git command, nothing else.
Expected
git clean -f -x -d src/
Campaign Evidence
Loading campaign evidence…
Model Outputs (14)
git clean -fdx src/
git clean -fdx src/
JSON Schema
Structured Output
(raw) { "command": "git clean -fdx src/" }
git -C src clean -fdx
git clean -fdx -- src/
git clean -xfd src/
JSON Schema
Structured Output
(raw) {
"command": "git clean -xfd src/"
}
git clean -fdx src/
git clean -fdx src/
JSON Schema
Structured Output
(raw) {"command": "git clean -fdx src/"}
git clean -fdx src/
JSON Schema
Structured Output
(raw) {
"command": "git clean -fdx src/"
}
git clean -fX src/
JSON Schema
Structured Output
(raw) {
"command": "git clean -fX src/"
}
Failure: Failed assertions: [{'type': 'file_not_exists', 'path': 'src/new.py'}]
git clean -fdX src/
JSON Schema
Structured Output
(raw) {"command": "git clean -fdX src/"}
Failure: Failed assertions: [{'type': 'file_not_exists', 'path': 'src/new.py'}]
git clean -fd src/
Failure: Failed assertions: [{'type': 'file_not_exists', 'path': 'src/debug.log'}, {'type': 'dir_not_exists', 'path': 'src/tmp'}]
git clean -fd src/
Failure: Failed assertions: [{'type': 'file_not_exists', 'path': 'src/debug.log'}, {'type': 'dir_not_exists', 'path': 'src/tmp'}]
git clean -fd src
JSON Schema
Structured Output
(raw) {"command": "git clean -fd src"}
Failure: Failed assertions: [{'type': 'file_not_exists', 'path': 'src/debug.log'}, {'type': 'dir_not_exists', 'path': 'src/tmp'}]
```bash
git clean -fd src/
```
Failure: Failed assertions: [{'type': 'file_not_exists', 'path': 'src/debug.log'}, {'type': 'dir_not_exists', 'path': 'src/tmp'}, {'type': 'file_not_exists', 'path': 'src/new.py'}]