feat(流程图): 没走对的图,AI 对照答案说出错在哪个框、该怎么改,并把那个框标红
原来只有程序拼出的现象(「输出 a」输出的是 2,应该是 8),指的是出结果的框, 错的根子常在前面,学生和老师都看不出该改哪里。跑完以后再请 AI 看题目、图、 没走对的几组和老师的答案,写「哪里错了 / 可以这样改」两句,指出真正要改的框; 提交列表右栏的图和题目页画布上标红它。等级照旧只由跑出来的结果定, 点评失败或像代码就不要,退回只显示逐组结果。老提交不补。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8bd3d998ae
commit
d2fc0382ec
6 files changed
+256
-15
No files matched your search
@@ -26,6 +26,7 @@ export function caseReport(details: Record<string, unknown> | null | undefined)
|
||||
passed: cases.filter((row) => row.ok).length,
|
||||
total: cases.length,
|
||||
cases,
|
||||
focus: typeof details.focus === "string" ? details.focus : null,
|
||||
} satisfies FlowchartCaseReport
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user