Container reset can skip restoring the autograder files without any error
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 63/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 13
- Fork
- 0
- Merge medio
- 2h 4m
- PR unite (30g)
- 1
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di kiat/codeAssist
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
kiat/codeAssist#391 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
kiat/codeAssist#364 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
kiat/codeAssist#393 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
kiat/codeAssist#390 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
kiat/codeAssist#389 ·
Tutte le issue di kiat/codeAssist
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Deltares/imod-python#1940 ·
I maintainer di solito rispondono entro 1 giorno
-
effort: low prio: low ready
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
digitalfabrik/integreat-cms#4621 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
ioos/compliance-checker#1375 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno