From 131ee41ac8d073b9765b6d8f0a8a69a1c338528d Mon Sep 17 00:00:00 2001 From: jacobxu666 Date: Thu, 20 Aug 2026 14:58:17 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E8=AE=BE=E8=AE=A1=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E4=B8=8E=20C1=20=E8=A3=81=E5=AE=9A=E5=AF=B9=E9=BD=90(=E6=96=B0?= =?UTF-8?q?=E5=BB=BA=E5=BA=94=E7=94=A8=E9=A2=98=E5=9B=BA=E5=AE=9A=20answer?= =?UTF-8?q?=20=E6=A8=A1=E5=BC=8F,=E5=AD=98=E9=87=8F=20rubric=20=E5=8F=AA?= =?UTF-8?q?=E8=AF=BB)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../specs/2026-08-20-structured-question-editor-design.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/superpowers/specs/2026-08-20-structured-question-editor-design.md b/docs/superpowers/specs/2026-08-20-structured-question-editor-design.md index 3a083c4..eb1c414 100644 --- a/docs/superpowers/specs/2026-08-20-structured-question-editor-design.md +++ b/docs/superpowers/specs/2026-08-20-structured-question-editor-design.md @@ -71,7 +71,7 @@ export function answersMatch(expected: string[], given: string): boolean; // 任 - **judge**:题干 + 解析 + 对/错单选 - **choice**:题干 + 选项列表(增/删/编辑,单选正确答案)+ 解析 - **fill**:题干 + 参考答案数组(增/删/编辑)+ 解析 - - **solve**:题干 + 分值 + judgeMode 开关(rubric → 评分点列表(point/score)+ 参考解答;/ answer → 最终答案数组 + 参考解答可选)+ 解析 + - **solve**:题干 + 分值 + **新建题固定「仅最终答案(秒判)」模式**(最终答案数组 + 参考解答可选);存量 rubric 题只读徽标「AI 逐评分点判分(存量题,保留原评分点)」+ 参考解答(必填语义),不提供评分点编辑(2026-08-20 用户裁定:新题仅 answer,无判分模式开关) - 非法时客户端给出对应提示(与服务端同文案);保存仍走现有 `saveExamPaper`(JSON 序列化 QuizQ 数组)。 - 服务端 validateQuestionsJson 扩展: - solve:rubric 模式沿用现行(reference + points 必填);answer 模式要求 `answers` 非空数组 + points 必填,reference 可选;answer 模式不得带 rubric。