学生拿不到 info(每个点带 output_md5,只给管理员),测试点表格从来只有管理员看得见, 学生这边只有一句「答案错误」—— 从 2/8 交到 6/8 的人,感受是连输五次。 - 提交详情新增 caseSummary,后端从 info 数出通过数下发,不放开原文。 比赛提交、SQL 题(被杀的测试点会 break,total 偏小)、无逐点结果时为 null - 结果面板标题缀上通过数并加进度条,提交详情页标题同步;一个都没过时不缀 - POST /ai/hint 对编译失败跳过失败次数门槛,throttleAi 照旧;前端显示条件同口径 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013TecwAowmYcoNZRheSyTgH
This commit is contained in:
1 parent
a833819679
commit
9132901cc7
7 files changed
+85
-9
No files matched your search
@@ -113,6 +113,9 @@ export const aiAnalysisRequestSchema = z.object({
|
||||
/**
|
||||
* 解锁「让 AI 分析我的代码」所需的失败提交数。前端拿它决定按钮露不露面、
|
||||
* 后端拿它卡 POST /ai/hint —— 放在契约里就是为了不让两边各写一个 3。
|
||||
*
|
||||
* 编译失败不受这个门槛限制:报错只关乎语法、不涉及解法,而英文编译报错恰恰是
|
||||
* 零基础学生最先撞上、最容易直接放弃的那堵墙。
|
||||
*/
|
||||
export const HINT_MIN_FAILURES = 3
|
||||
|
||||
|
||||
Reference in new issue
Block a user