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
@@ -151,6 +151,12 @@ export interface FlowchartCaseReport {
|
||||
passed: number
|
||||
total: number
|
||||
cases: FlowchartCaseResult[]
|
||||
/**
|
||||
* 没走对时 AI 对着老师的答案指出的「真正要改的那个框」(Mermaid 编号)。和每组的 wrongAt
|
||||
* 不同:wrongAt 是程序找到的出结果的框,错的根子常常在它前面(判断条件写反了之类)。
|
||||
* 「哪里错 / 怎么改」两句存在提交的 ai_feedback / ai_suggestions 里。2026-10-19 之前的报告没有它
|
||||
*/
|
||||
focus?: string | null
|
||||
}
|
||||
|
||||
export const flowchartUpdateSchema = z.object({
|
||||
|
||||
Reference in new issue
Block a user