refactor(question_gen): __init__.py 追加 synthesizer re-export

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-09 05:49:05 -04:00
parent 93c9be8bfa
commit fad8147d71
+15 -2
View File
@@ -1,5 +1,18 @@
"""出题模块 — benchmark 加载分层采样。"""
"""出题模块 — benchmark 加载分层采样与赛题合成"""
from app.question_gen.loader import load_benchmark, stratified_sample
from app.question_gen.synthesizer import (
TASK_TYPE_LEVEL_MAP,
AnchorContext,
generate_one,
sample_anchor,
)
__all__ = ["load_benchmark", "stratified_sample"]
__all__ = [
"load_benchmark",
"stratified_sample",
"TASK_TYPE_LEVEL_MAP",
"AnchorContext",
"generate_one",
"sample_anchor",
]