Skip to content

Commit f5cafb0

Browse files
author
Frank
committed
sync
1 parent 94bca82 commit f5cafb0

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

github/run.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ const result = await Eval.run(agent, model, task, {
1616

1717
// Store result
1818
await writeFile(resultPath, JSON.stringify(result));
19+
20+
process.exit();

github/summarize-runs.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ const results = await Promise.all(
1616
const summary = await Summarizer.summarizeRuns(results);
1717

1818
await writeFile(runsSummaryPath, JSON.stringify(summary));
19+
20+
process.exit();

github/summarize-tasks.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ const runsSummaries = await Promise.all(
1919
const summary = await Summarizer.summarizeTasks(runsSummaries);
2020

2121
await writeFile(tasksSummaryPath, JSON.stringify(summary));
22+
23+
process.exit();

scripts/run-benchmark.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ try {
3939
console.error("Warning: Failed to fetch previous run ID:", error);
4040
}
4141

42-
const ret = await $`gh workflow run run-benchmark.yml --field agent=${
42+
await $`gh workflow run run-benchmark.yml --field agent=${
4343
values.agent
44-
} --field model=${values.model} --field tasks=${tasks.join(",")}`.text();
44+
} --field model=${values.model} --field tasks=${tasks.join(",")}`;
4545

4646
console.log(`Workflow dispatched successfully`);
4747
console.log(`Agent: ${values.agent}`);
@@ -51,9 +51,6 @@ tasks.forEach((task) => {
5151
console.log(` - ${task}`);
5252
});
5353

54-
console.log(ret);
55-
process.exit();
56-
5754
// Wait for the new workflow run to be created and get its URL
5855
console.log("\nWaiting for workflow run to be created...");
5956
let workflowUrl: string | null = null;

0 commit comments

Comments
 (0)