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
+20
View File
@@ -0,0 +1,20 @@
{
"topic": "example-topic",
"type": "fill_blank",
"schema_version": "1.0.0",
"generated": "2026-01-01T00:00:00Z",
"questions": [
{
"id": "dom-sub-top-fb-001",
"type": "fill_blank",
"difficulty": 3,
"tags": ["example", "template"],
"question": "HTTP 协议默认使用 ______ 端口,HTTPS 默认使用 ______ 端口。",
"answer": ["80", "443"],
"answer_rule": "ordered",
"explanation": "HTTP 默认端口为 80,HTTPS 默认端口为 443。这是网络编程的基础知识。answer_rule 设为 ordered 表示答案顺序必须与题目中的空白顺序一致。",
"source": null,
"related": []
}
]
}