Skip to content

savePredictions

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/agent-core/src/benchmark/swebench-evaluator.ts

Save TaskResults as a JSONL predictions file for the SWE-bench harness. Skips results with empty/whitespace-only patches.

Signature

ts
function savePredictions(results: TaskResult[], outputPath: string, modelName: string): void

Parameters

NameType
resultsTaskResult[]
outputPathstring
modelNamestring

Returns: void

Was this page helpful?

Download as PDF