Subdirectory changes
Tests ability to generate a commit message for changes in a subdirectory (src/). Evaluates path-aware commit descriptions.
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/components - 05
echo 'component1' > src/components/Component1.jsx - 06
echo 'component2' > src/components/Component2.jsx - 07
git add src/
Prompt
Generate a concise commit message (max 50 characters) describing the changes in this diff. Focus on the action taken (e.g., 'Add', 'Fix', 'Update').
Expected
Add React components to src
Campaign Evidence
Loading campaign evidence…
Model Outputs (14)
Add Component1 and Component2
JSON Schema
Structured Output
(raw) { "commit_message": "Add Component1 and Component2" }
Add Component1 and Component2
Add Component1 and Component2
Add Component1 and Component2
Add Component1 and Component2
Add Component1, Component2
JSON Schema
Structured Output
(raw) {"commit_message": "Add Component1, Component2"}
Add component1 and component2
JSON Schema
Structured Output
(raw) {"commit_message": "Add component1 and component2"}
Add Component1 and Component2
JSON Schema
Structured Output
(raw) {
"commit_message": "Add Component1 and Component2"
}
Add Component1.jsx and Component2.jsx
JSON Schema
Structured Output
(raw) { "commit_message": "Add Component1.jsx and Component2.jsx" }
Add Component1 and Component2
JSON Schema
Structured Output
(raw) {"commit_message": "Add Component1 and Component2"}
Add initial components
Add Component1 and Component2
JSON Schema
Structured Output
(raw) {"commit_message": "Add Component1 and Component2"}
Add Component1 and Component2 files
Add Component1 and Component2 files