feat: 诊断(任务书 18 第一块):诊断数学、四种提交、一次运行跑多个实验、账本与材料、flow 诊断各步

消融默认关,关掉时解释阶段一并跳过;选诊断实验用信息价值减成本。
eval/diagnosis/research.json 为第三块配置。vocab 字段说明的出口文字随提示词一起改,见下一次提交的 prompts/ 与同文件改动(本次含在内)。

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-05 10:36:20 -04:00
parent f39f8410e7
commit 852600df02
69 changed files with 6607 additions and 214 deletions
+3 -1
View File
@@ -7,7 +7,7 @@ export { buildMaterial } from "./build.ts";
export type { CodeChanges, PromptFile, Prompts, StudyFacts, TaskRequest } from "./inputs.ts";
export { queryMaterial, readPrompts } from "./prompts.ts";
// flow 推进时读账本也用这一份(本批基线、基线分数、留池候选、各候选合并了哪些原提案),不另写一份。
export { Board, validScore } from "./read.ts";
export { Board, validScore, type MergedExperiment } from "./read.ts";
export {
callId,
candidateId,
@@ -17,6 +17,7 @@ export {
clauseKey,
critiqueId,
DECISION_KINDS,
DIAGNOSIS_NOT_RUN, diagnosisExplanationId, diagnosisId, diagnosisKey, diagnosisNotRunEvent,
entryId,
experimenterId,
verifierId,
@@ -33,6 +34,7 @@ export {
type DecisionKind,
type DecisionShapes,
type DedupOutput,
type DiagnosisDedupOutput, type DiagnosisLocationTable, type DiagnosisSettlement,
type FrozenProtocol,
type LocationTable,
type Settlement,