We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ad2611 commit d27e643Copy full SHA for d27e643
evals/buffbench/agent-runner.ts
@@ -103,7 +103,7 @@ export async function runAgentOnCommit({
103
cost = result.sessionState.mainAgentState.creditsUsed / 100
104
105
execSync('git add .', { cwd: repoDir, stdio: 'ignore' })
106
- diff = execSync('git diff HEAD', {
+ diff = execSync(`git diff ${commit.parentSha}`, {
107
cwd: repoDir,
108
encoding: 'utf-8',
109
})
0 commit comments