0ac1e01613
src/jev 3 个文件 515 行:判重、查冻结条款、查代码改动三个函数,九问问法和阈值照参考项目,只改说法和字段名,阈值注明未在新项目材料上校准,等真实数据。 新增 npm run test:jev(真实 Jev 三处各问一次)。vocab 加 JevJudgment。 ledger 表结构版本 3:callEnded 四种结局对上 agents,墙钟时间用 Measured(恢复时补写出错、原因"进程中断"、测不到);退回、提交记录都带 jev。 config 加必填的 models.jev。 用户原话:"这次就给提交记录加一个和退回记录同样的 Jev 判断字段";"墙钟时间改用 Measured,恢复时写出错加测不到(原因'进程中断')"。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
1.3 KiB
TypeScript
43 lines
1.3 KiB
TypeScript
import type { ResearchConfig } from "../src/config/index.ts";
|
||
|
||
// 两份写全的合法配置:完整流程一份、朴素循环一份。数值取方法.md 6.11 的现行值和参考项目真实用过的配置
|
||
// (/home/iomgaa/rb-acceptance/15-real-1/research.json:运行 13 次、每批 2、M = 1、修复 1 次、轻量检查 2 次各 5 秒)。
|
||
|
||
const glm = { provider: "iomgaa", model: "glm-5.3", thinking: "medium" } as const;
|
||
|
||
export function fullConfig(): ResearchConfig {
|
||
return {
|
||
studyId: "circle-full-1",
|
||
task: "tasks/circle_packing",
|
||
models: {
|
||
researchers: [{ ...glm }, { ...glm }, { ...glm }],
|
||
experimenter: { ...glm },
|
||
verifier: { ...glm },
|
||
jev: "jev-latest",
|
||
},
|
||
proposalLimit: 1,
|
||
batchLimit: 2,
|
||
runs: 13,
|
||
factorLimit: 3,
|
||
maxRepairs: 1,
|
||
lightChecks: { maxCount: 2, seconds: 5 },
|
||
promptDir: "prompts",
|
||
devEntry: false,
|
||
flow: {
|
||
preset: "full",
|
||
roundZero: { enabled: true, discussions: 2 },
|
||
firstPrediction: true,
|
||
critique: true,
|
||
ablation: { enabled: true, cellRule: "valueMinusCost" },
|
||
batchRule: "bestExpected",
|
||
openReserve: 0.1,
|
||
knowledgeUse: 0.5,
|
||
decay: 0.5,
|
||
},
|
||
};
|
||
}
|
||
|
||
export function naiveConfig(): ResearchConfig {
|
||
return { ...fullConfig(), studyId: "circle-naive-1", flow: { preset: "naive" } };
|
||
}
|