Container reset can skip restoring the autograder files without any error
还没有人认领这个 Issue。
评估
调研方向
Read the container creation and reset paths changed by #375, focusing on where the autograder files are saved and restored. Trace how a failed save is handled and how reset reports success when the saved copy is missing. Done when a failed save causes the container to be discarded or a missing copy makes reset fail, preventing later submissions from reusing modified files.
由索引模型根据 Issue 内容生成。
描述
A container reset can skip restoring the autograder's files without reporting an error.
When an assignment's container is created, #375 saves a copy of the autograder files (/autograder/source). Before each submission, the reset puts that saved copy back, so nothing one student's code changed affects the next student.
If saving that copy fails when the container is created, the code only logs a warning and keeps using the container. After that, every reset skips the restore step and still reports success. Anything a student's code writes into /autograder/source (for example, editing a test file) then stays there for every later submission to that assignment.
Fix: if the copy can't be saved, throw the container away so the next submission creates a fresh one. Or make the reset fail when the saved copy is missing.
- 主要语言
- Python
- 星标
- 13
- 派生
- 0
- 平均合并
- 2 小时 4 分钟
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 ·
-
难度 4/5 3-5 天 新手友好度 52/100
kiat/codeAssist#390 ·
-
难度 4/5 3-5 天 新手友好度 42/100
kiat/codeAssist#389 ·
相似的 Issue
-
vis.image() reports "Unsupported number of image channels: 224" for an HxWxC image可能已有人在做 @piyush182004 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
fossasia/visdom#1997 · 3 条评论 ·
维护者通常 6 天内回复
-
Byse new domain未关闭
难度 2/5 1-3 小时 新手友好度 62/100
Gujal00/ResolveURL#1525 ·
维护者通常 1 天内回复
-
Serialisation fails with pydantic 2.14: wrap serialisers pass SerializationInfo as index_key可能已有人在做 @hugohills-regnosys 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
finos/rune-python-runtime#45 ·
-
[Bug]: LangGraph Store sync put bypasses namespace validation可能已有人在做 @ktz03 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
volcengine/OpenViking#6050 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
hummingbot/condor#283 ·
维护者通常 1 天内回复