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
+20
View File
@@ -103,6 +103,23 @@ export {
worldBits,
type Placement,
} from "./bits.ts";
export {
diagnosisModel,
evaluateDiagnosisCombos,
selectDiagnosis,
settleDiagnosis,
type DiagnosisCombo,
type DiagnosisDecision,
type DiagnosisDirection,
type DiagnosisExplanation,
type DiagnosisModel,
type DiagnosisModelInput,
type DiagnosisParams,
type DiagnosisRuleInput,
type ExperimentOutcome,
type SettleDiagnosisInput,
type SkippedReason,
} from "./diagnosis.ts";
export { ablationCellLimit, forwardBatchSize, runBalance, type RunState } from "./budget.ts";
export { authorVsMerged, trackRecord, type Phase, type Tally } from "./record.ts";
export { assignEntries, type EntryAssignment } from "./entries.ts";
@@ -110,8 +127,11 @@ export { decisionSeed, seededRandom, seededSample } from "./random.ts";
export {
BATCH_RULES,
CELL_RULES,
DIAGNOSIS_RULES,
runBatchRule,
runCellRule,
runDiagnosisRule,
type BatchRuleName,
type CellRuleName,
type DiagnosisRuleName,
} from "./registry.ts";