mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-06 16:50:08 +08:00
Merge the three core module rewrites from eval branch while preserving all existing dev features (chat, co_writer, guide, ideagen, research, API, frontend, Docker, etc.). Solve: Plan->ReAct->Write architecture (3 agents) with ToolRegistry for selective tool injection via YAML definitions. Question: Idea->Evaluate->Generate->Validate four-stage closed loop with coding question type and validator rejection mechanism. Personalization: Three ReAct agents (Reflection/Summary/Weakness) with TraceForest/TraceTree, event-driven integration with solve/question via EventBus (SOLVE_COMPLETE/QUESTION_COMPLETE) and MemoryReader. Also includes: benchmark pipeline, start.py CLI, shared module improvements (LLM client, RAG parsers, EventBus flush, etc.). Made-with: Cursor
17 lines
510 B
Python
17 lines
510 B
Python
# Simulation Module - Student Agent, Conversation & Simulator Tools
|
|
#
|
|
# Modules:
|
|
# - student_agent: LLM-based student role-playing agent
|
|
# - conversation: Multi-turn conversation runner
|
|
# - tools: workspace-isolated solve / question / answer tools
|
|
|
|
from benchmark.simulation.student_agent import StudentAgent
|
|
from benchmark.simulation.tools import generate_questions, solve_question, submit_answers
|
|
|
|
__all__ = [
|
|
"StudentAgent",
|
|
"solve_question",
|
|
"generate_questions",
|
|
"submit_answers",
|
|
]
|