Grading follow-ups from PR #394
@DarioDeSilva がすでに取り組んでいます。
2026年10月27日 から。
評価
この issue はまだ評価されていません。
説明
A few small leftovers from the #394 review. None of them blocked the merge.
Timeout handling
upload_assignment_autograderstill stores NULL whenautograder_timeoutis left out.upload_submissionfalls back to 300, butcode_editor.py::submit_codeuses the raw value, so editor submissions get no time limit at all. The fix is to store the default when the field is missing, or to resolve the timeout in one place that every grading path uses.- The timeout has no upper bound. A huge value fails the INTEGER column only after the image is built, and large valid values hold the assignment lock for that long. nginx cuts requests off at 300s anyway, so a cap of around 600 seems reasonable.
Grade script
- If
setprivis missing from the image, or the autograder file is missing, the script exits 93. That gets recorded as a score-0 "Autograder Error" even though student code never ran. Exit codes 125/126/127 inside the script could map to a setup exit code instead. - A hang during reset or copy-in, or an exec-level 137 during setup, is still recorded against the student. This is rare and needs an infrastructure failure.
results.jsonand the autograder log have no size limit before they're read into backend memory.
Cleanup
- Use
KILLED_EXIT_CODEin the script and tests instead of a bare137. Drop the unreachableGRADE_EXIT_TIMED_OUTentry fromstudent_code_ran. - Add the submission id and partial stderr to the hung-exec warning.
- The "Failed to prepare/cleanup container" messages now also cover Docker CLI errors. Reword them.
Stress test
test_submission_burst.py --cleanupdeletes the assignment but leaves the generated students enrolled in the course.
- 主要言語
- Python
- スター
- 13
- フォーク
- 0
- 平均マージ
- 9日 7時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
kiat/codeAssist のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
kiat/codeAssist#391 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
kiat/codeAssist#364 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
kiat/codeAssist#393 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 63/100
kiat/codeAssist#392 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
kiat/codeAssist#390 ·
kiat/codeAssist の issue をすべて見る
似ている issue
-
[BUG]: Compliance rules never see Unity Catalog views as views対応中かも @wagnercsantos が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
databrickslabs/ontos#1348 ·
メンテナーはふだん 3 日以内に返信
-
`forum_pr_poster` action will always return `none` when checking for pre-existing feedback threads, even if a feedback thread already exists.対応中かも @pgmzeta が今日担当しました。 オープンE-Verified P-Major
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
goonstation/goonstation#28259 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
woonstadrotterdam/monumenten#70 ·
メンテナーはふだん 15 日以内に返信
-
binding:python bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
The Browser tab fails with a Wayland error when Open Terminal runs from a Wayland desktop sessionオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
open-webui/open-terminal#210 ·