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

Unused datasets cleanup counts solution datasets and deletes their solutions

Aperta
#2,645 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@ihsaan-ullah ci sta già lavorando.

Dal 9/10/2026.

  • #2646 di @ihsaan-ullah — aperta

Valutazione

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

Direzione di ricerca

The unused-dataset counter and the delete button share one query, so the fix starts there in the Resources quota and cleanup code. Check how solution datasets are linked to solutions and whether the query excludes them. Pull request #2646 is already open against this issue, so confirm its status before starting work. Done means the counter and the delete action both skip solution datasets.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

On the Resources page, the quota cleanup counts solution datasets under "Unused Datasets and Programs", even when a solution that's linked to a task is using them.

The counter only treats a dataset as used if a task uses it. Solutions point to their dataset in a different way, so a solution dataset always looks unused.

The "Delete unused datasets/programs" button uses the same query, so clicking it would delete those solution datasets, and the solutions using them would be deleted along with them.

Steps to reproduce
  1. Create a competition from this bundle: Solution-Test-Bundle.zip
  2. Open Resources → Quota and cleanup.
  3. "Unused Datasets and Programs" includes the solution's dataset.
Proposed:

because the use of solution is not very clear for now, we will remove it from the deletion so that we don't do any unintended delete. Later on when the use of solution becomes clear, we can carefully design how to delete unused solutions.

Lingua principale
Python
Stelle
183
Fork
80
Merge medio
2g 16h
PR unite (30g)
35

Preparare l'ambiente

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 codalab/codabench

Tutte le issue di codalab/codabench

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.