feat(question_gen): QuestionGenerator Protocol + 模块公开 API

app/ports.py 追加 QuestionGenerator Protocol(预留 LLM 出题接口)。
app/question_gen/__init__.py re-export load_benchmark 和 stratified_sample。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-07 04:48:21 -04:00
parent 8d515ff01f
commit d8a903fb54
3 changed files with 72 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
"""出题模块 — benchmark 加载与分层采样。"""
from app.question_gen.loader import load_benchmark, stratified_sample
__all__ = ["load_benchmark", "stratified_sample"]