fix: 终审修复——test_case_id 格式校验、modify 空变更报错、异常兜底与文档补充

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-03 06:26:00 -06:00
parent 67079b5304
commit 5af9d67fe2
5 changed files with 7 additions and 2 deletions

View File

@@ -44,6 +44,8 @@ SQL 题目前沿用传统题的展示结构:「输入/输出」两段富文本
- query 模式:`expected``{columns, rows}` 结果集
- modify 模式:`expected``{"changed_tables": [{name, columns, rows, total_rows, truncated}]}`,只含有变化的表
- modify 模式中被标准答案 DROP 的表以 `{"name", "columns"(原结构), "rows": [], "total_rows": 0, "truncated": false, "dropped": true}` 条目出现前端渲染为「XX 表已被删除」
- modify 模式若标准答案未改动任何表,保存时报错(视为出题配置问题)
### 生成逻辑