Count mode with git grep -c
Tests ability to use count mode with git grep -c. Evaluates aggregation-style search output interpretation.
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 tests - 05
echo 'def login(user): pass def logout(user): pass def login_as_admin(): pass' > src/auth.py - 06
echo 'def test_login(): pass def test_logout(): pass' > tests/test_auth.py - 07
echo 'def render(): pass def redirect(): pass' > src/views.py - 08
git add . - 09
git commit -m 'Add all source files' - 10
echo 'git grep -c login' > .grep_command - 11
git add .grep_command - 12
git commit -m 'Add grep sentinel'
Prompt
Here is the output of a git grep -c command that shows per-file counts of 'login'. For which file(s) is the count greater than zero? Output ONLY the filenames, one per line, nothing else.
Expected
src/auth.py
tests/test_auth.py
Campaign Evidence
Loading campaign evidence…
Model Outputs (14)
src/auth.py
tests/test_auth.py
src/auth.py
tests/test_auth.py
JSON Schema
Structured Output
(raw) {"files": ["src/auth.py", "tests/test_auth.py"]}
src/auth.py
tests/test_auth.py
src/auth.py
tests/test_auth.py
JSON Schema
Structured Output
(raw) {
"files": [
"src/auth.py",
"tests/test_auth.py"
]
}
src/auth.py
tests/test_auth.py
src/auth.py
tests/test_auth.py
JSON Schema
Structured Output
(raw) {
"files": [
"src/auth.py",
"tests/test_auth.py"
]
}
src/auth.py
tests/test_auth.py
src/auth.py
tests/test_auth.py
JSON Schema
Structured Output
(raw) {
"files": [
"src/auth.py",
"tests/test_auth.py"
]
}
src/auth.py
tests/test_auth.py
src/auth.py
tests/test_auth.py
JSON Schema
Structured Output
(raw) {
"files": [
"src/auth.py",
"tests/test_auth.py"
]
}
src/auth.py
tests/test_auth.py
src/auth.py
tests/test_auth.py
JSON Schema
Structured Output
(raw) {
"files": [
"src/auth.py",
"tests/test_auth.py"
]
}
src/auth.py
tests/test_auth.py
src/auth.py
tests/test_auth.py
JSON Schema
Structured Output
(raw) {"files": ["src/auth.py", "tests/test_auth.py"]}