mengping03/TeachArena-bucket / REPRODUCTION_STAGE3.md
mengping03's picture
|
download
raw
4.11 kB

Reproducing Stage 3 (Teaching Workflows)

This package adds the executable runtime for Stage 3 (tasks/stage2_teaching_workflows.json), complementing the already-released tasks, environment_db.json, policy*.md, and evaluator/. With it, an agent can call the tool suite against a stateful mock LMS initialized from environment_db.json, and the released evaluator/ predicates (ENV / GOAL / PROCESS / content-quality) can be checked against the resulting state.

What's here

runtime/                        # mock LMS runtime — THIS is the reported configuration
  tau2/domains/canvas_tutoring/ #   mock Canvas tools + data model (CanvasTools)
  tau2/domains/edu_agent/       #   environment.py (tool registration) + tool kits
optional_http_mode/             # OPTIONAL, not used for reported scores (see below)
  canvas_http_tools.py          #   real/Dockerized Canvas HTTP tools

Reported configuration = mock mode

All reported/leaderboard Stage-3 scores were produced in mock mode (EDU_CANVAS_MODE=mock): the stateful mock LMS in runtime/ serves the tools from environment_db.json. The Google-Slides tools (gs_*) also run db-backed in mock mode (no Google credentials or network calls are needed to reproduce).

optional_http_mode/ (a real/Dockerized Canvas backend) and the dormant real-API branches inside the slides tools are provided only as an optional / future direction. They are not the configuration behind any reported number. If you run them, do not compare the results to the released leaderboard.

Dependencies

The runtime files are laid out to drop into a tau²-bench checkout under tau2/domains/. They rely on the tau² framework primitives (tool registry / is_tool / ToolType, the combined tool kit, and the environment DB loader). Install tau² first, then place these files under src/tau2/domains/.

Placing the released data files

The runtime expects these filenames under DATA_DIR/tau2/domains/edu_agent/ (DATA_DIR is the tau² data directory). Map the released files as follows:

Released file Expected path / name
environment_db.json .../edu_agent/edu_agent_db_v1.json
tasks/stage2_teaching_workflows.json .../edu_agent/tasks_v1.json
policy.md .../edu_agent/policy.md
policy_situated_tutoring.md .../edu_agent/policy_situated_tutoring.md

The tutoring/ and canvas_tutoring/ modules are included only because the EduAgent data model and mock tools inherit from them; running EduAgent Stage 3 loads only the EduAgent DB above and does not require any tutoring/ or canvas_tutoring/ DB/task files.

Sketch of a run

  1. Load environment_db.json into the EduAgent DB and initialize the mock environment (environment.py, EDU_CANVAS_MODE=mock).
  2. Expose the registered tool suite to your agent; run each task in tasks/stage2_teaching_workflows.json.
  3. Score the trajectory with the released evaluator/ modules (ENV × NL × GOAL × (0.5 + 0.5·CQ) × PROCESS).

Notes for faithful reproduction

  • Content-generation tools are intentionally absent. There are no generate_* / evaluate_response LLM-delegation tools: by the standard agent-benchmark convention (tau-bench / SWE-bench), the agent is the LLM and authors/evaluates content itself, then calls create_quiz / send_canvas_message / etc.
  • per_kc_correct. get_quiz_submissions exposes a per_kc_correct field. We recommend disabling this field for agent runs: per-KC correctness is an aggregate that, strictly speaking, only the oracle should access — agents are intended to infer KC-level gaps themselves from per-question results and the question_name KC tags returned by list_quiz_questions.
  • Web-search tasks are not deterministically reproducible. The search tools call external services (e.g., SerpAPI — requires your own key — DuckDuckGo, Semantic Scholar), so tasks that depend on live web search will vary by run; this is inherent to that task type.

Xet Storage Details

Size:
4.11 kB
·
Xet hash:
ba843f86e3c8df4442d4c894632c64bc971aeb27b4e123a5f890d441b5b77ba9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.