[Incident][108dev] Questions submission 500 on /api/questions/grader/interaction
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 20/100
Research direction
Inspect the POST /api/questions/grader/interaction endpoint and its questions orchestration path; verify handling for unresolved or graderless case_id values and the QuestionEvaluationResult-shaped response. Confirm answer submission no longer returns 500, then check the tutor-questions-108dev deployment target.
Written by the indexing model from the issue text.
Description
Summary
Frontend questions page fails when submitting an answer.
Observed error:
- POST /api/questions/grader/interaction -> 500 Internal Server Error
- Console surfaced AxiosError during answer submission.
Root Cause
case_id selected in UI may reference an assembly without graders (or unresolved assembly), which currently raises a ValueError inside questions orchestration and bubbles to 500.
Fix implemented (code)
- Added resilient fallback in questions API endpoint:
- catches ValueError/RuntimeError from evaluation orchestration
- returns HTTP 200 with baseline feedback payload in QuestionEvaluationResult shape
- prevents frontend hard failure while Foundry assembly provisioning is stabilized.
Deployment
Break-glass direct live deployment will update utor-questions-108dev with this fix.
Related: #139 #141
- Dominant language
- Python
- Stars
- 17
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure-Samples/tutor
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Azure-Samples/tutor#230 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Azure-Samples/tutor#229 · 1 comment ·
-
frontend priority:P2 type:tech-debt
Difficulty 5/5 Over a week Newbie friendliness 35/100
Azure-Samples/tutor#224 · 3 comments ·
-
component:ci-cd frontend priority:P1 type:tech-debt
Difficulty 5/5 Over a week Newbie friendliness 35/100
Azure-Samples/tutor#223 · 2 comments ·
-
frontend priority:P1 type:feature
Difficulty 5/5 Over a week Newbie friendliness 30/100
Azure-Samples/tutor#222 · 1 comment ·
All issues in Azure-Samples/tutor
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100