Container reset can skip restoring the autograder files without any error
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 63/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 13
- Fork
- 0
- Merge trung bình
- 2 giờ 4 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của kiat/codeAssist
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
kiat/codeAssist#391 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
kiat/codeAssist#364 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
kiat/codeAssist#390 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
kiat/codeAssist#389 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
kiat/codeAssist#388 ·
Tất cả issue của kiat/codeAssist
Issue tương tự
-
area: agents area: docs good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
openapi/gknowledge#23 ·
-
get() for StrEnumCó thể đã có người làm @FeJo5952 đã nhận hôm nay. Đang mởgood first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
collective/icalendar#1921 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Improvement Python Spans
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
getsentry/sentry-python#7994 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
alphagov/notifications-api#5004 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
equinor/radix-flux#3922 ·
Maintainer thường phản hồi trong vòng 1 ngày