codalab / codalab/codabench

Cleaning data from deleted competitions

Open
#2,059 5 comments 0 reactions 1 assignee View on GitHub

@Didayolo is already working on this.

Since Mar 16, 2026.

Enhancement
Dominant language
Python
Stars
176
Forks
74
Avg merge
5d 3h
Merged PRs (30d)
21

Description

Hi, we are looking to clean up our local instance of codabench. I see that if I delete a competition and then delete all orphan files, the submissions related files are successfully removed from the django admin as well as from s3, but the competition bundle, reference_data.zip, input_data.zip, scoring_program.zip, ingestion_program.zip still remain in django and in s3. Additionally in the django admin as well the Columns, Leaderboards, Submission scores, and Tasks created from that deleted competition still remain. I also noticed that logos from deleted competitions are still stored in s3. Are there existing methods to prune these associated items from the deleted competition so they aren’t in the django database and s3 anymore?
Thank you

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.