fix(contest): expand grade appeals inline and show reply states #431
All Vouch review confidence checks passed
Residual risk 0.32 = Change Risk (0.37) × (1 − Review Confidence (0.13)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 215 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: 13% · 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.322
Real PR Conversation Timeline
1 comments
"Review active on #431"
general
weight: 0.35
copilot-pull-request-reviewer[bot]
問題與變更
申訴管理原本需要逐筆按「查看申訴」開啟對話,列表也沒有使用者頭像或能區分待回覆方的狀態。這次讓整筆列表可直接展開,查看原始題目、作答、評語與對話,並在原處回覆、結案或前往批改。
waiting_for欄位,維持既有 open/closed 與權限範圍,無 migration。快速重複送出只建立一則留言,多筆展開使用唯一輸入框 ID。本 PR 從 dev 獨立建立,只包含申訴調整與驗證截圖;沒有納入考試工作區 PR #430 或主要工作樹的其他未提交變更。
驗證
--all均通過。畫面截圖
截圖來自本分支的真實 UI 元件,API 使用合成測試資料,沒有真實學生內容。可用
npm run test:workbench-browser -- grade-appeals.spec.ts --reporter=line重現。桌面:直接展開,回覆後顯示等待考生回覆
<img src="https://raw.githubusercontent.com/quan0715/QJudge/e8c9b4a37213322270d93acdc58de64db5ad3e20/docs/verification/grade-appeals-ui-20261106/desktop-expanded-replied.png" alt="桌面申訴列表直接展開並顯示等待考生回覆" width="960" />
桌面:結案狀態與原有 Reset
<img src="https://raw.githubusercontent.com/quan0715/QJudge/e8c9b4a37213322270d93acdc58de64db5ad3e20/docs/verification/grade-appeals-ui-20261106/desktop-closed-list.png" alt="桌面申訴結案狀態與原有 Reset" width="960" />
手機深色:展開內容與回覆欄
<img src="https://raw.githubusercontent.com/quan0715/QJudge/e8c9b4a37213322270d93acdc58de64db5ad3e20/docs/verification/grade-appeals-ui-20261106/mobile-dark-expanded.png" alt="390px 手機深色申訴展開內容與回覆欄" width="390" />