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:
@@ -1,5 +1,18 @@
|
|||||||
"""出题模块 — benchmark 加载与分层采样。"""
|
"""出题模块 — benchmark 加载、分层采样与赛题合成。"""
|
||||||
|
|
||||||
from app.question_gen.loader import load_benchmark, stratified_sample
|
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",
|
||||||
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user