Remove untracked files in a specific directory
Tests ability to remove untracked files in a specific directory path. Evaluates scoped 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
mkdir -p src test - 05
echo 'main' > src/main.py - 06
git add src test - 07
git commit -m 'Initial commit' - 08
echo 'temp' > src/temp.py - 09
echo 'fixture' > test/temp.py - 10
echo 'root' > root.txt
Prompt
Remove untracked files only inside the 'src' directory, leaving other untracked files alone. Output ONLY the git command, nothing else.
Expected
git clean -f src/
Campaign Evidence
Loading campaign evidence…
Model Outputs (14)
git clean -f src/
git clean -f src/temp.py
JSON Schema
Structured Output
(raw) {
"command": "git clean -f src/temp.py"
}
git clean -f src/
git clean -f src/
JSON Schema
Structured Output
(raw) {
"command": "git clean -f src/"
}
git clean -f src/
JSON Schema
Structured Output
(raw) {"command": "git clean -f src/"}
git clean -f -- src/
git clean -f -- src/
JSON Schema
Structured Output
(raw) {
"command": "git clean -f -- src/"
}
git clean -fdx src/
git clean -f src/
git clean -f src
JSON Schema
Structured Output
(raw) {
"command": "git clean -f src"
}
git clean -f src/
git clean -f src
JSON Schema
Structured Output
(raw) {"command": "git clean -f src"}
```bash
git clean -f -d -- src/
```
Failure: Failed assertions: [{'type': 'file_not_exists', 'path': 'src/temp.py'}]
git clean -Xd 'src/'
JSON Schema
Structured Output
(raw) {
"command": "git clean -Xd 'src/'"
}
Failure: Failed assertions: [{'type': 'file_not_exists', 'path': 'src/temp.py'}]