Repository navigation
Releases
v1.38
Upgrade instructions
Upgrade
From now on (#2774), the upgrade should include docker compose pull instead of docker compose build.
Workers
Compute workers need to be upgraded (see documentation for upgrading the workers) (#2669).
WARNING: The instance need to be up-to-date. If only the worker is upgraded but not the instance, it could cause bugs.
Manually fetch the papers citing Codabench
To populate manually the Hall of Papers (#2782). Anyway, a daily task does it.
docker compose exec django python manage.py shell -c "from papers.tasks import sync_citing_papers; sync_citing_papers()"Convert existing email addresses
500 error in signup (fixed by #2611) was caused by entering the same email already registered but with some capital letters. For example instead of writing [email protected] a user enters [email protected] or [email protected]. Now that signup converts email to lowercase, we need to run the following code once this is deployed to convert all emails to lowercase.
Activate django shell plus
docker compose exec django ./manage.py shell_plus
get count of users with capitals in email
User.objects.exclude(email__isnull=True).filter(email__regex=r'[A-Z]').count()convert emails to lowercase
from django.db import IntegrityError, transaction
from profiles.models import User
failed_users = []
for user in User.objects.exclude(email__isnull=True):
if user.email != user.email.lower():
original_email = user.email
user.email = user.email.lower()
try:
# Each save is undone on its own if it fails, so the loop keeps going
with transaction.atomic():
user.save()
except IntegrityError:
# Another account already has this email in lowercase, e.g. "[email protected]" when "[email protected]" exists
failed_users.append((user.id, user.username, original_email))
for user_id, username, email in failed_users:
print(f"Could not convert id={user_id} username={username} email={email}")get count of users agint to verify
User.objects.exclude(email__isnull=True).filter(email__regex=r'[A-Z]').count()Changes
Fixes
- Submission Delete - clean up everything when a submission is deleted
- Datasets Delete - delete dataset files from storage and fix quota cleanup counters
- SignUp - fix signup 500 errors, block banned users, add account tests
- Fix public profile 404 when username differs from slug
Enhancement and UI
- Redesign Part 3 - Redesigned and reorganized profile pages
- Redesign Part 4 - New design for public competitions page
- Leaderboard and Submissions tab - flag submissions scored on an outdated task
- Dashboard - Added a new Competitions Serializer for faster loading time
- Home page benchmarks - One benchmark per organizer in Popular and Recent
- Better container packaging & extra security
- Improve "Participants" table - Pagination, new columns, sorting
- Add settings to allow SES email backend to be used
New
- Let competition admins see hidden leaderboard columns
- Tags Suggestions Modal on Competition Publication
- Added Page Featuring Papers Citing Codabench
Compute worker
Documentation
- Documentation - Improve upgrading and backup instructions
- Merged podman and docker compute worker documentation
- Documentation - Reorganized Admin Procedures and document Auto-Tagging tool
- Documentation - Add upgrade instructions for v1.37 and v1.38
Cleanup
- Cleanup - Minor cleanup in the code
- Remove the scroll down button "Advanced ⚙" in phase editor
- Re-Organized .env_sample and removed proxy in docker-compose.yml
Security
v1.37.1
Release Notes
Improvements
Fixed dashboard private competitions visibility
Remove time.sleep() from the submission websocket consumer
Bug Fix
v1.37
Upgrade instructions
Initialize the default tags in the database:
docker compose exec django ./manage.py init_tagsFeatures
- [New Feature] Add Dashboard page #2690
- Restrict the "Dashboard" page to platform administrators #2732
- Leaderboard - show submitter next to organization name #2733
Fix
- Hot fix on gunicorn options #2731
- Submission destroy by API fixed (8f02e56)
- Align tests to new behavior of SubmissionViewSet.destroy #2734
- Close database connections after rendering the 403 and 404 pages #2706
Cleanup
v1.36.1
v1.36
Release notes
Manual Intervention
You will have to update the compute worker image to use the new re-run feature.
If you are on the latest tag, you can just run these commands :
docker compose pull && docker compose up -d
New Features
- News Page - Added news page + empty page
- Enabling manual run for child submissions.
- Redesign Part 2 - user menu, settings, profile and organizations pages, competition and resources
- idempotent rerun and dynamic submissions
- Add ARM platform for compute worker image
Improvements
Documentation
v1.35
New Features
Instance
- New feature, Atomic migrations: Migration for each submission
- Announcements - Platform-wide announcements added
- Submissions - add organizer Resubmit to run a submission on the current phase tasks
- Parallel phases, enable phase to happen at the same time than the others
Compute Worker
- Compute worker reference data folder
- Added sha256 checksum info in the compute worker logs for downloaded files
Improvements
User interface
- Redesign - New design for home page
- Resource Interface - Fix time ago text
- Better Re-Run and Re-Submit icons
Instance
- fix timeout problems from redis 8 in django channels
- Run tests in parallel to save time
- Submission Status - fix multi-task submission status
- Leaderboard Ranking - rank n/a scores last on the leaderboard
- Allow custom domain to be used with public S3 bucket
- Leaderboard - Show the parent submission ID for multi-task submissions
- Tasks API - let competition organizers update a task used by their competition
- Leaderboard Ranking - Fix Force Best choosing a submission with N/A scores
- Leaderboard Ordering - Reject repeated score uploads for a submission
- Leaderboard - Fix Force Last showing n/a for multi-task submissions
- API - Submission get_detail_result access checks updated
Compute worker
Documentation
Security and stability
v1.34
Release Notes
Improvements
- feature improvements: default queue and collapse button
- Redesign home page announcements with levels, titles and priority
- Competition detail serializer now uses a list of public fields for non-admins
- Show child submissions in organizer and competition tables
- UI improvement for participant routing
- Add bulk download of prediction and scoring results + cleaning
- Minor UI change: Move and rename save button in task editor
- Add "Leave Organization" button
- Emails - Standardize email plain-text templates and link generation
- Add zip-contents hint to the Add Dataset/Program upload form
- Cleanup - removed duplicate code in clients.js
- Run E2E and Unit tests in parallel to reduce overall time
- Rerun Submission - Allow admins to rerun submissions in any status
Documentation
- Documentation - document how to change RabbitMQ credentials
- Documentation - Update deployment documentation
Bug Fixes
- Fixed factory_boy post-generation deprecation warnings in test factories
- Submission get_details now returns detailed result only when detailed results are enabled
- Add back competition detail fields for non-admins
- Competition Dump - Improve competition dump names and keep phase times
- Fix AttributeError in SubmissionCreationSerializer when data is None
- Fix organizer username in participation request/approval/denial emails
Security
v1.33
Release notes
Improvements
- Update external competitions list styling
- Attempt to fix E2E multitask test
- Update account deletion pop up
- Order competitions newest first in CompetitionViewSet
Bug Fixes
Security
v1.32
Release Notes
Upgrade instructions
Django migration:
docker compose exec django ./manage.py migrate
Re-build containers:
docker compose build --no-cache && docker compose up -d
New Features
Compute worker
- Forbid the compute worker from pulling competition images
- Option to stop compute worker from sending logs and/or prediction files to Codabench
Instance
Improvements
- Raise RAM limit for Site Worker in docker-compose.yml
- Privacy link updated
- Add pagination to GET /api/competitions and fix participating_in leak
- Remove robot submissions and bot user feature
Bug Fixes
- Fix organization name not showing on leaderboard for multi-task competitions
- Submission API: Enforce phase start/end window on submission creation
- Queue creation error improved
- Fix Django migrations
- Switch to quay.io for mc and minio images
- Deny anonymous access to /api/submissions/ list and retrieve