feat: 初始化 CS 知识应试强化系统

- 纯 HTML/CSS/JS 单页应用,支持填空题和选择题交互
- 5 个主题共 100 道题(GC/JVM、AI 结构化输出、记忆管理、幻觉、工具链)
- 按主题组织、按题型拆分的 JSON 数据结构
- JSON Schema 校验 + 提示词模板 + 题型模板
- 自定义导入功能(粘贴/上传 JSON)
- 项目文档(需求 + 架构)

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
2026-09-02 18:22:20 +08:00
parent cf589b12f4
commit d3cba0e23c
30 changed files with 4092 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
{
"topic": "example-topic",
"type": "short_answer",
"schema_version": "1.0.0",
"generated": "2026-01-01T00:00:00Z",
"questions": [
{
"id": "dom-sub-top-sa-001",
"type": "short_answer",
"difficulty": 4,
"tags": ["example", "template"],
"question": "请简述 TCP 三次握手的过程及其作用。",
"answer": "TCP 三次握手过程:1) 客户端发送 SYN 报文,seq=x;2) 服务器回复 SYN+ACK 报文,seq=y, ack=x+1;3) 客户端发送 ACK 报文,seq=x+1, ack=y+1。三次握手的目的是确认双方的发送和接收能力正常,同步初始序列号。",
"keywords": ["SYN", "ACK", "seq", "三次握手", "序列号"],
"scoring_rubric": "答对三次握手的完整流程得 60 分;正确说明每步的标志位得 20 分;说明握手目的得 20 分。",
"explanation": "三次握手是 TCP 建立连接的核心机制。第一次握手:客户端发送 SYN;第二次握手:服务器回复 SYN+ACK;第三次握手:客户端确认 ACK。这确保了双方都能发送和接收数据。",
"source": null,
"related": []
}
]
}