Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Container reset can skip restoring the autograder files without any error

Aperta
#392 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
63/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, python
Ambito
backend

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di kiat/codeAssist

Tutte le issue di kiat/codeAssist

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.