# savePredictions

**Kind:** Function

**Source:** [`atloria-monorepo/libs/agent-core/src/benchmark/swebench-evaluator.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/agent-core/src/benchmark/swebench-evaluator.ts#L84)

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

| Name | Type |
|---|---|
| `results` | `TaskResult[]` |
| `outputPath` | `string` |
| `modelName` | `string` |

**Returns:** `void`
