{ "topic": "ai-hallucination", "type": "single_choice", "schema_version": "1.0.0", "generated": "2026-09-02T00:00:00Z", "questions": [ { "id": "sc-001", "type": "single_choice", "difficulty": 3, "tags": [ "ai", "hallucination", "critic" ], "question": "Critic 评估维度中,完整性(Completeness)的权重是多少?", "explanation": "完整性的权重是 0.25。", "source": null, "related": [], "options": { "A": "0.15", "B": "0.2", "C": "0.25", "D": "0.3" }, "answer": "C" }, { "id": "sc-002", "type": "single_choice", "difficulty": 3, "tags": [ "ai", "hallucination", "critic" ], "question": "以下哪项不属于自动评估层?", "explanation": "Critic Agent 评分属于 AI 评估层,不属于自动评估层。", "source": null, "related": [], "options": { "A": "Schema 校验", "B": "单测通过率", "C": "Critic Agent 评分", "D": "Lint 零告警" }, "answer": "C" }, { "id": "sc-003", "type": "single_choice", "difficulty": 3, "tags": [ "ai", "hallucination", "critic" ], "question": "当 AI 生成内容与输入上下文不一致时(如文档说 A,回答说 B),属于哪种幻觉?", "explanation": "忠实性幻觉指生成内容与输入上下文不一致。", "source": null, "related": [], "options": { "A": "事实性幻觉", "B": "忠实性幻觉", "C": "推理性幻觉", "D": "指令性幻觉" }, "answer": "B" }, { "id": "sc-004", "type": "single_choice", "difficulty": 3, "tags": [ "ai", "hallucination", "critic" ], "question": "以下哪项不是上下文组成的组成部分?", "explanation": "模型参数不是上下文组成部分。上下文由 System Prompt、Knowledge Base、History 和 Retrieved Context 组成。", "source": null, "related": [], "options": { "A": "System Prompt", "B": "Knowledge Base", "C": "Model Parameters(模型参数)", "D": "Retrieved Context" }, "answer": "C" }, { "id": "sc-005", "type": "single_choice", "difficulty": 3, "tags": [ "ai", "hallucination", "critic" ], "question": "Hook 机制中,自动化检查的正确顺序是?", "explanation": "正确顺序:Pre-commit Hook(类型检查)→ Lint Hook → 单测 Hook → 合并。", "source": null, "related": [], "options": { "A": "Lint → 类型检查 → 单测 → 合并", "B": "类型检查 → Lint → 单测 → 合并", "C": "单测 → 类型检查 → Lint → 合并", "D": "类型检查 → 单测 → Lint → 合并" }, "answer": "B" }, { "id": "sc-006", "type": "single_choice", "difficulty": 3, "tags": [ "ai", "hallucination", "critic" ], "question": "注入领域知识作为 Skill 的目的是什么?", "explanation": "Skill 在 AI 不了解项目特定技术栈或业务领域时注入领域知识。", "source": null, "related": [], "options": { "A": "加速模型推理", "B": "减少 token 使用", "C": "帮助不了解项目特定技术栈或业务领域的 AI", "D": "替代人类开发者" }, "answer": "C" }, { "id": "sc-007", "type": "single_choice", "difficulty": 3, "tags": [ "ai", "hallucination", "critic" ], "question": "RAG 流程中,嵌入和向量检索之后的下一步是什么?", "explanation": "RAG 流程:问题 → 嵌入 → 向量检索 → Top-K 文档 → 上下文组装 → LLM → 回答。", "source": null, "related": [], "options": { "A": "LLM 生成回答", "B": "Top-K 文档检索", "C": "上下文组装", "D": "基于文档的回答" }, "answer": "B" }, { "id": "sc-008", "type": "single_choice", "difficulty": 3, "tags": [ "ai", "hallucination", "critic" ], "question": "CLAUDE.md 示例中,接口使用什么前缀命名?", "explanation": "CLAUDE.md 示例规定接口使用 I 前缀命名。", "source": null, "related": [], "options": { "A": "_interface", "B": "I", "C": "Int", "D": "Interface" }, "answer": "B" }, { "id": "sc-009", "type": "single_choice", "difficulty": 3, "tags": [ "ai", "hallucination", "critic" ], "question": "统一返回类使用什么格式?", "explanation": "项目规范统一使用 Result 包装:{code, message, data}。", "source": null, "related": [], "options": { "A": "{status, error, result}", "B": "{success, message, payload}", "C": "{code, message, data}", "D": "{result, description, body}" }, "answer": "C" }, { "id": "sc-010", "type": "single_choice", "difficulty": 3, "tags": [ "ai", "hallucination", "critic" ], "question": "在 AI 辅助的瀑布模型中,进入下一阶段前必须完成什么?", "explanation": "每个阶段需要人工验收后才能进入下一阶段。", "source": null, "related": [], "options": { "A": "AI 自验证", "B": "自动化测试", "C": "人工验收", "D": "同行评审" }, "answer": "C" } ] }