feat: AI batch grading (beta) and subagent sidebar display #362
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.36) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 180 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.311
Real PR Conversation Timeline
1 comments
"Review active on #362"
general
weight: 0.35
chatgpt-codex-connector[bot]
問題
助教用 AI 批改紙本考卷時,必須一題一題啟動、等待、review、送出,整場考試要一直守在畫面前。
變更
AI 整批批改(Beta)
task_type: grading.batch),每題一個 run;run 內由 deepagents 子代理評分,AI 只填grade_<qid>.csv。batch-grade(only_if_ungraded+question_id)寫入成績,記錄progress.csv與written_<qid>.csv;任何收尾錯誤都會留下失敗紀錄,不會擋住佇列。子代理側欄顯示
parent_tool_call_id標記子代理事件;event reducer 不再讓巢狀工具覆蓋task的紀錄。task畫成可展開的子代理卡片(待辦、工具步驟、交回結果),子代理文字不再混進主回覆;run 結束後會接續同一 session 的下一個排隊 run。後端
batch-grade新增only_if_ungraded、question_id。ai:chat不變),讓排隊中的背景 run 仍拿得到憑證。驗證
apps/contests/tests/exam/test_exam_answers.py36 passed、apps/oauth41 passed(臨時 PostgreSQL/Redis)tsc -b乾淨;Carbon gate 0 blocker;architecture/naming/exports 通過風險
is_active與考試管理權限檢查。若要回復,把MCP_RESOURCE_TOKEN_LIFETIME_SECONDS改回 300。🤖 Generated with Claude Code