Skip to content

Conversation

RishabhJain2018
Copy link
Member

… deletion

  • Introduced a new script cleanup_submissions.py to automate the cleanup of expired submissions from EvalAI challenges, including features for logging, safety checks, and AWS CloudWatch integration.
  • Added comprehensive unit tests in test_cleanup_submissions.py to validate the functionality of the cleanup script, covering various scenarios including dry run and execute modes, as well as edge cases for submissions and challenges.
  • Implemented logging setup and error handling to ensure robust operation during the cleanup process.

… deletion

- Introduced a new script `cleanup_submissions.py` to automate the cleanup of expired submissions from EvalAI challenges, including features for logging, safety checks, and AWS CloudWatch integration.
- Added comprehensive unit tests in `test_cleanup_submissions.py` to validate the functionality of the cleanup script, covering various scenarios including dry run and execute modes, as well as edge cases for submissions and challenges.
- Implemented logging setup and error handling to ensure robust operation during the cleanup process.
… deletion

- Introduced a new script `cleanup_submissions.py` to automate the cleanup of expired submissions from EvalAI challenges, featuring logging, safety checks, and AWS CloudWatch integration.
- Added comprehensive unit tests in `test_cleanup_submissions.py` to validate the functionality of the cleanup script, covering various scenarios including dry run and execute modes, as well as edge cases for submissions and challenges.
- Implemented logging setup and error handling to ensure robust operation during the cleanup process.
…ovements

- Added functionality to list challenges by category (ongoing, past, upcoming, not approved by admin) sorted by S3 space usage.
- Implemented calculations for S3 space usage for each challenge's submissions.
- Introduced new command-line options for dry run and execute modes, allowing for targeted cleanup of past challenges and those not approved by admin.
- Improved logging to provide detailed summaries and error handling during the deletion process.
- Removed outdated unit test files to streamline the testing suite.
…ery features

- Added functionality to delete test annotation files from challenges not approved by admin and older than 30 days.
- Introduced a custom challenge query option for flexible challenge selection using Django ORM syntax.
- Improved logging for better visibility during the deletion process, including detailed statistics for test annotations.
- Updated command-line interface to support new options for test annotations and custom queries.
Copy link

codecov bot commented Sep 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.87%. Comparing base (1197274) to head (418d86f).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4783   +/-   ##
=======================================
  Coverage   91.87%   91.87%           
=======================================
  Files          85       85           
  Lines        7105     7105           
=======================================
  Hits         6528     6528           
  Misses        577      577           
Flag Coverage Δ
backend 96.66% <ø> (ø)
frontend 87.14% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Accounts & Authentication 100.00% <ø> (ø)
Challenges Management 95.34% <ø> (ø)
Job Processing 98.19% <ø> (ø)
Participants & Teams 100.00% <ø> (ø)
Challenge Hosts 100.00% <ø> (ø)
Analytics 100.00% <ø> (ø)
Web Interface 100.00% <ø> (ø)
Frontend (Gulp) 87.14% <ø> (ø)
All Models 97.58% <ø> (ø)
All Views 100.00% <ø> (ø)
All Serializers 98.82% <ø> (ø)
Utility Functions 96.79% <ø> (ø)
Core Configuration 82.35% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1197274...418d86f. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant