并行 dispatch 改动(前一 commit)把每个 prompt 内 10 个调用 Promise.all 集合后再批量 append。问题是任何 1 个调用卡满 120s ARK timeout 都会 把其它 9 个已完成 row 的落盘也推迟,破坏了 scores.jsonl 作为 partial- state-on-crash 的设计。 把 fs.appendFileSync 移进 runOne:每个 row 由 scoreRun 返回后立即 落盘。fs.appendFileSync 是 Node 同步 syscall,单线程 event loop 下 绝不会与另一次 append 交错,所以不需要 mutex。 |
||
|---|---|---|
| .. | ||
| ab-corpus | ||
| bundle-skill.ts | ||
| ensure-agent-native.cjs | ||
| patch-srvx-bun.ts | ||
| publish-beta.sh | ||
| unpublish.sh | ||