diff --git a/kipina-codebench/benchmark.mjs b/kipina-codebench/benchmark.mjs index 965c24e..4239438 100644 --- a/kipina-codebench/benchmark.mjs +++ b/kipina-codebench/benchmark.mjs @@ -583,6 +583,9 @@ async function main() { if (ROUNDS > 1) r.round = round; results.push(r); + // Tallenna tulokset jokaisen kierroksen jälkeen + writeFileSync(`${OUTPUT_DIR}/results.json`, JSON.stringify(results, null, 2)); + const status = r.error ? `✗ ${r.error}` : r.testsPassed === r.testsTotal && r.testsTotal > 0 ? `✓ ${r.testsPassed}/${r.testsTotal}` : `◐ ${r.testsPassed}/${r.testsTotal}`;