852600df02
消融默认关,关掉时解释阶段一并跳过;选诊断实验用信息价值减成本。 eval/diagnosis/research.json 为第三块配置。vocab 字段说明的出口文字随提示词一起改,见下一次提交的 prompts/ 与同文件改动(本次含在内)。 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
45 lines
1.5 KiB
TypeScript
45 lines
1.5 KiB
TypeScript
import { join } from "node:path";
|
||
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: join(import.meta.dirname, "..", "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: join(import.meta.dirname, "..", "prompts"),
|
||
devEntry: false,
|
||
flow: {
|
||
preset: "full",
|
||
roundZero: { enabled: true, discussions: 2 },
|
||
firstPrediction: true,
|
||
critique: true,
|
||
diagnosis: { enabled: false },
|
||
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" } };
|
||
}
|