Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
534 commits
Select commit Hold shift + click to select a range
aa6a19a
precision column and leaderboard rule added to dump
ihsaan-ullah Jul 13, 2024
7fb6998
programs and datasets bug fixed
ihsaan-ullah Jul 13, 2024
71e7eb3
if condition format fixed
ihsaan-ullah Jul 13, 2024
8059896
public competitions: participants count added
ihsaan-ullah Jul 13, 2024
98486d2
Double the soft time limit on the storage analytics snapshop task
OhMaley Jul 15, 2024
2c0cfb3
show in-use for starting kit and public data
ihsaan-ullah Jul 16, 2024
4f48ccc
Merge pull request #1529 from codalab/public_participants
Didayolo Jul 16, 2024
d6287a9
Add question mark on auto migrate
Didayolo Jul 16, 2024
d34edd5
Merge pull request #1536 from codalab/migrate-doc
Didayolo Jul 16, 2024
5f4673e
Merge pull request #1533 from codalab/starting_kit
Didayolo Jul 16, 2024
a6f92a7
Merge pull request #1525 from codalab/dump
Didayolo Jul 16, 2024
729ee01
Merge pull request #1531 from OhMaley/fix/storage/analytics-task-time…
Didayolo Jul 17, 2024
b398385
Downloading submissions witha stream v1
nicomy Jul 17, 2024
a0bb8d4
test fixed
ihsaan-ullah Jul 17, 2024
ae2f48a
unregistered participant handled
ihsaan-ullah Jul 18, 2024
6beee48
removed console prints, and files.length condition updated to not pri…
ihsaan-ullah Jul 18, 2024
4378b90
updated toml file with python version and bpython version, deleted lo…
ihsaan-ullah Jul 18, 2024
da12bd8
Merge pull request #1524 from codalab/detailed_results
Didayolo Jul 18, 2024
314afed
Merge pull request #1539 from codalab/console_prints
Didayolo Jul 18, 2024
4a6a1a5
Change base image for Dockerfile.flower (#1520)
Didayolo Jul 23, 2024
548f001
Resources bundles dumps (#1505)
ihsaan-ullah Jul 23, 2024
ecd8ed8
Merge pull request #1541 from nicomy/submissions_bulk
Didayolo Jul 23, 2024
cbf0ff2
Improve formatting
Didayolo Jul 23, 2024
f1bc022
leaderboard api 500 error resolved (#1527)
ihsaan-ullah Jul 24, 2024
0f8b802
Merge pull request #1550 from codalab/develop
Didayolo Jul 24, 2024
c112a3a
Merge pull request #1543 from codalab/shell_plus
Didayolo Jul 24, 2024
55ecb2b
Merge pull request #1548 from codalab/submission_bulk
Didayolo Jul 24, 2024
92f94d6
Merge pull request #1552 from codalab/develop
Didayolo Jul 25, 2024
baa423a
Merge pull request #1528 from codalab/programs_and_datasets
Didayolo Jul 25, 2024
7cf7a6e
Merge pull request #1544 from codalab/develop
Didayolo Jul 25, 2024
6c81635
Merge pull request #1522 from codalab/collect_static
Didayolo Jul 26, 2024
6014e3c
Update podman containers
cjh1 Aug 1, 2024
7d01068
Changed submission name to add ID when downloading many submissions (…
Didayolo Aug 21, 2024
a37139a
Server Status: submissions limit removed (#1562)
ihsaan-ullah Aug 21, 2024
cf33e33
Email template fixes (#1567)
ihsaan-ullah Aug 22, 2024
79e2850
task dataset/program removal fixed
ihsaan-ullah Aug 22, 2024
37d97c1
Updated docker-compose to docker compose
Aug 29, 2024
cf76c0c
Merge pull request #1571 from codalab/readmeChanges
Didayolo Aug 29, 2024
56bdd5e
Merge pull request #1569 from codalab/tasks_remove_dataset
Didayolo Aug 29, 2024
62c1700
whiltelist emails leaking fixed (#1560)
ihsaan-ullah Aug 29, 2024
d24f565
Updates to server_status and monitor_queues (#1568)
ihsaan-ullah Sep 2, 2024
fba9140
[Feature] Delete orphan files (#1575)
Didayolo Sep 3, 2024
959d776
Fix string concat in case of no email in analytics api
OhMaley Sep 16, 2024
0b4f0a2
Poetry error tentative fix (#1588)
ObadaS Oct 1, 2024
747acb2
`Release PR#1` - Display release version in Codabench footer (#1583)
ihsaan-ullah Oct 1, 2024
7ced144
`Release PR#2` Release version will load dynamically from version.jso…
ihsaan-ullah Oct 1, 2024
de55ef3
`Release PR#3` created workflow for new releases (#1584)
ihsaan-ullah Oct 3, 2024
346bc53
resource interface-> task updates
ihsaan-ullah Oct 4, 2024
8188a98
use competition queue in submission queue on rerun
ihsaan-ullah Oct 5, 2024
b27ad51
phase start time and end time added
ihsaan-ullah Oct 6, 2024
9f1f3cf
flake fixes, add/edit modal title fixed
ihsaan-ullah Oct 7, 2024
eb2a1e3
selenium test updated
ihsaan-ullah Oct 7, 2024
8ce27a0
test updated with some delay
ihsaan-ullah Oct 7, 2024
0ffd85e
date and time pickers cleared before usage
ihsaan-ullah Oct 7, 2024
9d3370d
uploaded time added to task detail
ihsaan-ullah Oct 8, 2024
137251f
Updates Sept 15-22 2024 (#1593)
bbearce Oct 11, 2024
5fc4c2e
Merge pull request #1585 from OhMaley/fix/storage/analytics-api-handl…
Didayolo Oct 11, 2024
b5f8a7e
Merge pull request #1626 from codalab/fix/storage/analytics-api-handl…
Didayolo Oct 11, 2024
3c41aa7
organizers can now delete forum posts (#1613)
ihsaan-ullah Oct 11, 2024
79ef40b
bundles renamed to competition bundles, swapped postions of bundles a…
ihsaan-ullah Oct 11, 2024
cc71857
Rebase tasks_table_enhancements (#1628)
Didayolo Oct 11, 2024
50c7652
Merge pull request #1614 from codalab/rerun_submission_queue
Didayolo Oct 11, 2024
4e55382
task table show details on first two columns click
ihsaan-ullah Oct 12, 2024
ecaea3c
send computation and computation_indexes to backend when saving leade…
ihsaan-ullah Oct 12, 2024
658a2ed
handled submission file_name too long error and fixed the previous er…
ihsaan-ullah Oct 12, 2024
bc3273f
submissions panel and leaderboard now shows submission time in local …
ihsaan-ullah Oct 13, 2024
da4e05c
different header message if there is no current phase
ihsaan-ullah Oct 14, 2024
ae60436
Merge pull request #1612 from codalab/tasks_table_enhancements
Didayolo Oct 14, 2024
3dc257b
Merge pull request #1630 from codalab/computation_columns
Didayolo Oct 14, 2024
d860100
Merge pull request #1631 from codalab/submission_long_name
Didayolo Oct 14, 2024
e5d7c8f
Merge pull request #1634 from codalab/current_phase_ends
Didayolo Oct 14, 2024
231fe22
Convert orphan files deletion task to async using celery task. Update…
Didayolo Oct 14, 2024
08b1d8e
upload task interface added and placeholder api and functions created
ihsaan-ullah Oct 23, 2024
061d8a0
upload function completed on client side, client.js upload_task api f…
ihsaan-ullah Oct 24, 2024
1bd7c6f
Public tasks -- updates to ensure public tasks can be viewed and used…
ihsaan-ullah Oct 25, 2024
919a5d1
Merge pull request #1576 from codalab/develop
Didayolo Oct 29, 2024
05a69d6
fix db inconsistency logs path finding
OhMaley Oct 30, 2024
4f0750b
Merge pull request #1642 from OhMaley/fix/storage/delete-orphan-files
Didayolo Oct 31, 2024
c2cd638
Merge pull request #1643 from codalab/fix/storage/delete-orphan-files
Didayolo Oct 31, 2024
1105efe
task upload backend api completed, upload task tests created, dataset…
ihsaan-ullah Oct 31, 2024
2f820dc
comments added
ihsaan-ullah Oct 31, 2024
09b9897
updates to realease version
ihsaan-ullah Oct 31, 2024
41c2a6b
link to documentation added in the upload task interface
ihsaan-ullah Nov 1, 2024
8987d83
removed count from competition query to fix the codabench
ihsaan-ullah Nov 5, 2024
8fe4274
flake fixed
ihsaan-ullah Nov 5, 2024
84b3946
Merge pull request #1645 from codalab/count_fix
Didayolo Nov 5, 2024
6eda3ca
Merge pull request #1646 from codalab/develop
Didayolo Nov 5, 2024
65a5c46
commented dynamic fetching of comp, users, submissions
ihsaan-ullah Nov 7, 2024
7557488
flake fixes
ihsaan-ullah Nov 7, 2024
7792f39
hide featured and popular competitions from home page
ihsaan-ullah Nov 7, 2024
23820cf
show static competiitons in popular and featured
ihsaan-ullah Nov 7, 2024
e352bec
Merge pull request #1649 from codalab/home_page_speed
ihsaan-ullah Nov 7, 2024
fd81bdc
Merge pull request #1650 from codalab/develop
ihsaan-ullah Nov 7, 2024
faf12fa
Changed timeout from 1 day to 5 days for submissions (MinIO link)
Nov 12, 2024
0e75bf4
Resend activation email functionality added (#1615)
ihsaan-ullah Nov 12, 2024
aa7040d
Merge pull request #1644 from codalab/release_version
Didayolo Nov 12, 2024
64a32ef
Merge pull request #1659 from codalab/submissionTimeout
Didayolo Nov 12, 2024
3f7b465
Merge pull request #1660 from codalab/develop
Didayolo Nov 13, 2024
4b3195c
ingore datapoint with deleted competitions or deleted users
OhMaley Nov 13, 2024
5987112
Merge pull request #1662 from OhMaley/fix/storage/analytics-api-handl…
Didayolo Nov 14, 2024
8fc4573
Merge pull request #1663 from codalab/fix/storage/analytics-api-handl…
Didayolo Nov 14, 2024
88c35cb
Added logs that outputs to stderr to the Postgres service
Nov 18, 2024
95a64ba
participants and submissions count fileds added to competition modal,…
ihsaan-ullah Nov 18, 2024
98b7644
unused import removed - flake8
ihsaan-ullah Nov 18, 2024
f520628
Merge pull request #1667 from codalab/postgresLogs
Didayolo Nov 18, 2024
9641173
Merge pull request #1670 from codalab/develop
Didayolo Nov 18, 2024
f78bf2f
Merge pull request #1616 from codalab/phase_start_end_time
Didayolo Nov 18, 2024
5acb2af
Merge pull request #1671 from codalab/develop
Didayolo Nov 18, 2024
cd16812
Remove hard-coded date from submission_manager.tag
Didayolo Nov 18, 2024
101c335
Merge pull request #1633 from codalab/submission_time
Didayolo Nov 18, 2024
e254c5a
Removed num_entries becasue the count was slowing down the platform (…
ihsaan-ullah Nov 19, 2024
0111400
Merge pull request #1674 from codalab/develop
Didayolo Nov 19, 2024
c6a3deb
Patch the removal of submissions counter on leaderboard (#1675)
Didayolo Nov 19, 2024
7b907be
Merge pull request #1676 from codalab/develop
Didayolo Nov 19, 2024
06b00c6
Remove useless comments
Didayolo Nov 21, 2024
09c626d
Update example_submission.py
nicomy Nov 24, 2024
a3ef6c5
tests added for submissions and participants counts
ihsaan-ullah Nov 26, 2024
ed84800
Merge pull request #1682 from nicomy/patch-1
Didayolo Nov 27, 2024
e676371
Merge pull request #1684 from codalab/doc-patch
Didayolo Nov 27, 2024
76ce48c
commented the failing chahub tests (to be removed later)
ihsaan-ullah Nov 27, 2024
b1eb1f9
default participants count set to 1, script added to update counts fo…
ihsaan-ullah Nov 28, 2024
119d52f
tests updated for the default participants count
ihsaan-ullah Nov 28, 2024
a4cec07
Merge pull request #1669 from codalab/submissions_and_participants_co…
Didayolo Nov 28, 2024
7019d27
submission count fixed for multi-task competitions, updated delete mu…
ihsaan-ullah Nov 29, 2024
6e3b7d2
remove d-r-c and upgrade channels-redis
bbearce Dec 2, 2024
0aed051
Updated version workflow for auto releases
ihsaan-ullah Dec 2, 2024
59851a7
Merge pull request #1687 from codalab/submission_count_updates
Didayolo Dec 3, 2024
0b841b8
Optimization `PR#1` - Featured competitions (#1678)
ihsaan-ullah Dec 3, 2024
34aa5f5
twisted_certifi_requests (#1672)
bbearce Dec 3, 2024
d4ad8a1
Merge pull request #1689 from codalab/release_version_workflow
Didayolo Dec 3, 2024
8891697
Merge pull request #1685 from codalab/develop
Didayolo Dec 3, 2024
7bf0d47
Patch submission_participant_counts.py script
Didayolo Dec 3, 2024
6cbb09f
Merge branch 'develop' of https://github.com/codalab/codabench into d…
Didayolo Dec 3, 2024
1daa2f1
removed release version body from the workflow and version.json to fi…
ihsaan-ullah Dec 3, 2024
258c3ec
Merge branch 'develop' into issue_1446
ihsaan-ullah Dec 3, 2024
08fccf0
poetry.lock regenerate
bbearce Dec 3, 2024
63a70b1
Merge pull request #1688 from codalab/issue_1446
Didayolo Dec 5, 2024
95888cd
Merge pull request #1690 from codalab/release_version_updates
Didayolo Dec 5, 2024
cf90bc6
Merge pull request #1638 from codalab/upload_task
Didayolo Dec 10, 2024
cf0b69e
Merge pull request #1556 from cjh1/podman-containers
ihsaan-ullah Dec 12, 2024
8087831
Merge pull request #1702 from codalab/podman_containers
Didayolo Dec 12, 2024
18cc11c
Optimization `PR#3` - Home page counters (#1699)
ihsaan-ullah Dec 12, 2024
a86526d
Caddy image update
Dec 17, 2024
d1d26c5
Merge pull request #1706 from codalab/caddyUpdate
Didayolo Dec 17, 2024
1cd4389
Added search bar in Django Admin Users page for emails and username (…
ObadaS Dec 17, 2024
0fa1da6
Some more interesting fields for the Users page on the Django Admin I…
ObadaS Dec 19, 2024
65861d0
Search field + more information displayed on the Competition page of …
ObadaS Dec 19, 2024
32f11d9
Merge pull request #1694 from codalab/develop
Didayolo Dec 19, 2024
3c76f6a
Update version.json for release 1.15.0 (#1712)
github-actions[bot] Dec 20, 2024
f2aa2a6
Feature/remove user/soft removal (#1691) (#1716)
Didayolo Dec 23, 2024
9319e3d
Updated the filters to show the new "Is Deleted" (#1717)
ObadaS Dec 23, 2024
423953b
.gitingore update to ignore the home page counters file. Also removed…
Dec 27, 2024
8c82817
Fix/remove user/soft removal (#1724)
ObadaS Jan 16, 2025
8dc57f2
Merge pull request #1719 from codalab/gitIgnoreUpdate
Didayolo Jan 16, 2025
30503a3
Fix URLs in user deletion email (#1729)
Didayolo Jan 16, 2025
8606b17
Merge pull request #1715 from codalab/develop
Didayolo Jan 16, 2025
7e07d60
Update version.json for release 1.16.0
actions-user Jan 16, 2025
cd7b0d2
Merge pull request #1731 from codalab/update-version-1.16.0
Didayolo Jan 16, 2025
33ae5c6
Merge pull request #1732 from codalab/develop
Didayolo Jan 16, 2025
6a5e796
Platform yearly statistics (#1727)
ihsaan-ullah Jan 28, 2025
660ab31
Delete User Updates (#1740)
ihsaan-ullah Feb 4, 2025
0474b32
user id added to DeletedUser modal
ihsaan-ullah Feb 4, 2025
12968b1
Merge pull request #1742 from codalab/delete_user_updates_2
Didayolo Feb 5, 2025
5b19237
Forum Updates - restrictions added for non-participants (#1743)
ihsaan-ullah Feb 6, 2025
57a7f64
Submission soft-delete functionality added (#1738)
ihsaan-ullah Feb 10, 2025
8d6f740
Merge pull request #1741 from codalab/develop
Didayolo Feb 10, 2025
96b2d1d
Update version.json for release 1.17.0
actions-user Feb 10, 2025
e7c007f
Merge pull request #1746 from codalab/update-version-1.17.0
Didayolo Feb 10, 2025
9872f6b
Updated release-version PR title to distinguish from other PRs (#1747)
ihsaan-ullah Feb 11, 2025
fd77f26
styling added for featured comps, featured comps moved to popular and…
ihsaan-ullah Feb 13, 2025
a1c0306
unused comments removed
ihsaan-ullah Feb 13, 2025
6f7a484
resolved issue that made the page tabs unclickable
ihsaan-ullah Feb 13, 2025
0a1fd31
Merge pull request #1751 from codalab/competition_pages_click
Didayolo Feb 13, 2025
10655d5
Fix recent competitions
Didayolo Feb 13, 2025
44c7d7f
Merge pull request #1750 from codalab/home_page_competitions
Didayolo Feb 13, 2025
b5e9aec
task list pagination issues resolved
ihsaan-ullah Feb 19, 2025
d97e3ef
condition added to avoid double approve or deny participants status
ihsaan-ullah Feb 19, 2025
90f666d
results api fixed
ihsaan-ullah Feb 20, 2025
152c56b
Merge pull request #1757 from codalab/competition_results_api
Didayolo Feb 20, 2025
367f94a
Merge pull request #1754 from codalab/task_list
Didayolo Feb 20, 2025
6374a70
Merge pull request #1756 from codalab/accept_participant
Didayolo Feb 20, 2025
5108700
exclude submissions from the leaderboard that are soft deleted
ihsaan-ullah Mar 5, 2025
0d4970f
Merge pull request #1770 from codalab/soft_delete_submission_update
Didayolo Mar 7, 2025
ec6314f
show server error instead of fronend parsing error
ihsaan-ullah Mar 13, 2025
da3ac84
show back button in edit only. Show help in create only
ihsaan-ullah Mar 14, 2025
fd27649
do not allow special chars in usernames
ihsaan-ullah Mar 14, 2025
be03c81
Merge pull request #1781 from codalab/submission_upload
Didayolo Mar 20, 2025
7203cae
Enable/Disable competition forum (#1774)
ihsaan-ullah Mar 21, 2025
087232d
Merge pull request #1783 from codalab/create_comp_ui
Didayolo Mar 21, 2025
197f334
Merge pull request #1784 from codalab/username_special_chars
Didayolo Mar 21, 2025
661a680
Email in lowercase (#1769)
ihsaan-ullah Mar 21, 2025
5b3fbd8
latest competition fields added to dump (#1786)
ihsaan-ullah Mar 21, 2025
2883349
User quota is updated to GB from Bytes (#1749)
ihsaan-ullah Mar 23, 2025
68a1e08
File Sizes cleanup (#1752)
ihsaan-ullah Mar 24, 2025
4cd2f65
Merge pull request #1759 from codalab/develop
Didayolo Mar 25, 2025
f2187b6
reseting file sizes task removed
ihsaan-ullah Mar 26, 2025
6196a54
Resource interface: quota unit is now GB instead of B
ihsaan-ullah Mar 26, 2025
510f9c8
Merge pull request #1797 from codalab/reset_file_size
Didayolo Mar 26, 2025
cea14be
Merge pull request #1798 from codalab/quota_in_GB
Didayolo Mar 26, 2025
40ddc47
Create CODE_OF_CONDUCT.md
ihsaan-ullah Mar 28, 2025
855b74b
Merge pull request #1802 from codalab/code_of_conduct
Didayolo Apr 1, 2025
393ebe2
Added log rolling to limit log size to 5GB for now, can be changed
Apr 2, 2025
7758675
Merge pull request #1806 from codalab/caddyLogRolling
Didayolo Apr 3, 2025
914f5e3
Maintenance mode option added in Caddyfile, used by creating a mainte…
ObadaS Apr 9, 2025
5ab466e
Merge pull request #1800 from codalab/develop
Didayolo Apr 9, 2025
522ae0c
Update version.json for release 1.18.0
actions-user Apr 9, 2025
45adbe3
Merge pull request #1813 from codalab/update-version-1.18.0
Didayolo Apr 9, 2025
d188aea
Add remove button for cancelled submissions (#1808)
Didayolo Apr 13, 2025
d7e8580
Update compute_worker.py
Didayolo Apr 16, 2025
b2e86d9
Add permissions check for bulk download
Didayolo Apr 22, 2025
f120f09
flake8 fix
Didayolo Apr 22, 2025
b714a60
Merge pull request #1830 from codalab/worker-timeout-message
Didayolo Apr 23, 2025
78f5a76
Merge pull request #1834 from codalab/fix-download-permission
Didayolo Apr 23, 2025
5f167a7
Add hide_score_output option (#1838)
Didayolo Apr 29, 2025
c1884de
code removed that was copying submission files to predictions dir
ihsaan-ullah May 5, 2025
578f5cc
version update workflow removed
ihsaan-ullah May 12, 2025
929a6cb
Merge pull request #1847 from codalab/manual_versioning
Didayolo May 14, 2025
02694da
Add hide_prediction_output feature
Didayolo May 14, 2025
200a683
Calendar lock fixed, additional check added for start and end date
ihsaan-ullah May 15, 2025
9376366
Simplify code
Didayolo May 15, 2025
4d99dc7
Merge pull request #1852 from codalab/end_date
Didayolo May 15, 2025
b8bba75
Version bump
May 15, 2025
ff8ab57
Removed time and updated date to today
May 15, 2025
90227a0
Merge pull request #1851 from codalab/hide_prediction_output
Didayolo May 15, 2025
0108a9f
Merge pull request #1855 from codalab/versionbump
Didayolo May 15, 2025
632111a
Caddy image update
May 22, 2025
79091f4
fix Caddyfile indentation
curious-broccoli May 27, 2025
450b70a
Merge pull request #1863 from curious-broccoli/format-caddyfile
Didayolo May 27, 2025
16d73c3
Merge pull request #1841 from codalab/submission_duplicate_in_predict…
Didayolo Jun 5, 2025
3aff869
Merge pull request #1864 from codalab/format-caddyfile
Didayolo Jun 5, 2025
abcbfe2
Merge pull request #1860 from codalab/caddyUpdate
Didayolo Jun 19, 2025
c2d57ad
Do not allow signup with email with `*` (#1882)
ihsaan-ullah Jun 20, 2025
ac30787
User model filters - remove `deleted` (#1887)
ihsaan-ullah Jun 20, 2025
587442f
Filters added in public competitions page (#1896)
ihsaan-ullah Jun 26, 2025
d237a83
Delete non active users (#1885)
ihsaan-ullah Jun 26, 2025
f092601
public competitions api documentation added
ihsaan-ullah Jun 27, 2025
1d28f63
Merge pull request #1897 from codalab/documentation_public_competitions
Didayolo Jun 30, 2025
0ba2994
option added to download all participants
ihsaan-ullah Jul 3, 2025
a5d5230
code commented for clarity
ihsaan-ullah Jul 3, 2025
e163cf5
latex rendering problems fixed
ihsaan-ullah Jul 4, 2025
b1cdb57
Put back copy of submission files
Didayolo Jul 11, 2025
dc19e4a
Merge pull request #1923 from codalab/revert-copy-compute-worker
Didayolo Jul 14, 2025
60055ea
clamp length of competition search results description
curious-broccoli Jul 14, 2025
aaff5c8
Merge pull request #1928 from curious-broccoli/clamp-search-description
Didayolo Jul 15, 2025
00d3c45
Merge pull request #1929 from codalab/clamp-search-description
Didayolo Jul 15, 2025
850c1f9
Removed `num entries` from leaderboard (#1912)
ihsaan-ullah Jul 15, 2025
9f790f1
Merge pull request #1910 from codalab/latex_rendering
Didayolo Jul 15, 2025
b34376f
Merge pull request #1903 from codalab/download_participants
Didayolo Jul 15, 2025
645c852
Improved organization delete error + Remove organization reference fr…
ihsaan-ullah Jul 15, 2025
9a44d2b
File size for submissions clarified (#1925)
ihsaan-ullah Jul 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
jobs:
test:
machine:
image: ubuntu-2004:2022.07.1
image: ubuntu-2204:2024.01.2
steps:
- checkout

Expand Down Expand Up @@ -34,18 +34,18 @@ jobs:
- run:
name: Build containers and collect static
command: |
docker-compose -f docker-compose.yml -f docker-compose.selenium.yml up -d
docker-compose -f docker-compose.yml -f docker-compose.selenium.yml exec django python manage.py collectstatic --noinput
docker compose -f docker-compose.yml -f docker-compose.selenium.yml up -d
docker compose -f docker-compose.yml -f docker-compose.selenium.yml exec django python manage.py collectstatic --noinput

- run: docker-compose exec django flake8 src/

- run:
name: pytest
command: docker-compose -f docker-compose.yml -f docker-compose.selenium.yml exec django py.test src/ -m "not e2e"
command: docker compose -f docker-compose.yml -f docker-compose.selenium.yml exec django py.test src/ -m "not e2e"

- run:
name: e2e tests
command: docker-compose -f docker-compose.yml -f docker-compose.selenium.yml exec django py.test src/tests/functional/ -m e2e
command: docker compose -f docker-compose.yml -f docker-compose.selenium.yml exec django py.test src/tests/functional/ -m e2e
no_output_timeout: 60m

- store_artifacts:
Expand Down
1 change: 1 addition & 0 deletions .env_circleci
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RABBITMQ_DEFAULT_USER=rabbit-username
RABBITMQ_DEFAULT_PASS=rabbit-password-you-should-change
RABBITMQ_PORT=5672
RABBITMQ_HOST=rabbit
WORKER_CONNECTION_TIMEOUT=100000000 # milliseconds

FLOWER_BASIC_AUTH=root:password-you-should-change

Expand Down
18 changes: 17 additions & 1 deletion .env_sample
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,24 @@ DB_PORT=5432
DJANGO_SETTINGS_MODULE=settings.develop
ALLOWED_HOSTS=localhost,example.com
SUBMISSIONS_API_URL=http://django:8000/api
MAX_EXECUTION_TIME_LIMIT=600 # time limit for the default queue (in seconds)

# Local domain definition
DOMAIN_NAME=localhost:80

# SSL style domain definition
TLS_EMAIL=your@email.com
# DOMAIN_NAME=example.com:443
# TLS_EMAIL=your@email.com

RABBITMQ_HOST=rabbit
RABBITMQ_DEFAULT_USER=rabbit-username
RABBITMQ_DEFAULT_PASS=rabbit-password-you-should-change
RABBITMQ_MANAGEMENT_PORT=15672
RABBITMQ_PORT=5672
WORKER_CONNECTION_TIMEOUT=100000000 # milliseconds
#RABBITMQ_HTTP_PROXY=http://proxy-example:3128
#RABBITMQ_HTTPS_PROXY=http://proxy-example:3128
#RABBITMQ_NO_PROXY=localhost,172.0.0.0/8

FLOWER_PUBLIC_PORT=5555

Expand All @@ -37,6 +42,9 @@ SELENIUM_HOSTNAME=selenium
#EMAIL_HOST_PASSWORD=pass
#EMAIL_PORT=587
#EMAIL_USE_TLS=True
#DEFAULT_FROM_EMAIL="Codabench <noreply@example.com>"
#SERVER_EMAIL=noreply@example.com


# -----------------------------------------------------------------------------
# Storage
Expand All @@ -59,6 +67,7 @@ AWS_STORAGE_PRIVATE_BUCKET_NAME=private
AWS_S3_ENDPOINT_URL=http://minio:9000/
AWS_QUERYSTRING_AUTH=False


# -----------------------------------------------------------------------------
# Limit for re-running submission
# This is used to limit users to rerun submissions
Expand All @@ -67,6 +76,13 @@ AWS_QUERYSTRING_AUTH=False
RERUN_SUBMISSION_LIMIT=30


# -----------------------------------------------------------------------------
# Enable or disbale regular email sign-in an sign-up
# -----------------------------------------------------------------------------
ENABLE_SIGN_UP=True
ENABLE_SIGN_IN=True


# # S3 storage example
# STORAGE_TYPE=s3
# AWS_ACCESS_KEY_ID=12312312312312312331223
Expand Down
55 changes: 55 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Code of Conduct

## 1. Introduction

Welcome to Codabench! We are committed to fostering an open, inclusive, and respectful community. The purpose of this Code of Conduct is to ensure a safe and welcoming environment for everyone who contributes to this project.

## 2. Expected Behavior

We expect all participants in our community to:
- Be respectful and considerate in all interactions.
- Use welcoming and inclusive language.
- Give constructive feedback and accept it gracefully.
- Be collaborative and help foster a positive community.
- Respect differing viewpoints and experiences.

## 3. Unacceptable Behavior

The following behaviors are not tolerated:
- Harassment, discrimination, or offensive comments based on race, gender, sexual orientation, disability, religion, or any other personal characteristic.
- Personal attacks, insults, trolling, or inflammatory remarks.
- Posting inappropriate content, including hate speech, sexualized material, or violence.
- Spamming, advertising, or other disruptive behavior.
- Any other behavior that disrupts the integrity and inclusivity of the community.

## 4. Scope

This Code of Conduct applies to all interactions related to this project, including:
- Issues, pull requests, and discussions on GitHub.
- Communication via social media, forums, or other project-related channels.
- Any other interactions between members of this community.

## 5. Reporting Issues

If you witness or experience any behavior that violates this Code of Conduct, please report it to **info@codalab.org**. All reports will be reviewed and handled confidentially.

## 6. Enforcement

Violations of this Code of Conduct may result in:
- A warning.
- Temporary or permanent suspension from project participation.
- Reporting to relevant authorities if necessary.

All enforcement decisions are made at the discretion of the project maintainers.

## 7. Attribution

This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/), version 2.1.

---

### Questions?
If you have any questions or concerns, please reach out to **info@codalab.org**.



23 changes: 23 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# HOW YOU CAN CONTRIBUTE TO THE CODABENCH PROJECT

## 1. Being a Codabench user.

- Create a user account on https://codalab.lisn.fr and on https://codabench.org.
- Register on https://codabench.org to this existing competition (IRIS-tuto) https://www.codabench.org/competitions/1115/ and make a submission (from https://github.com/codalab/competition-examples/tree/master/codabench/iris): sample_result_submission and sample_code_submission. See https://github.com/codalab/codabench/wiki/User_Participating-in-a-Competition
- Create your own private competition (from https://github.com/codalab/competition-examples/tree/master/codabench/ ). See https://github.com/codalab/codabench/wiki/Getting-started-with-Codabench

## 2. Setting a local instance of Codabench.

- Follow the tutorial in codabench wiki: https://github.com/codalab/codabench/wiki/Codabench-Installation. According to your hosting OS, you might have to tune your environment file a bit. Try without enabling the SSL protocol (doing so, you don't need a domain name for the server). Try using the embedded Minio storage solution instead of a private cloud storage.
- If needed, you can also look into https://github.com/codalab/codabench/wiki/How-to-deploy-Codabench-on-your-server

## 3. Using one's local instance

- Create your own competition and play with it. You can look at the output logs of each different docker container.
- Setting you as an admin of your platform (https://github.com/codalab/codabench/wiki/Administrator-procedures#give-superuser-privileges-to-an-user) and visit the Django Admin menu: https://github.com/codalab/codabench/wiki/Administrator-procedures#give-superuser-privileges-to-an-user

## 4. Setting an autonomous computer-worker on your PC

- Configure and launch the docker container: https://github.com/codalab/codabench/wiki/Compute-Worker-Management---Setup
- Create a private queue on your new own competition on the production server codabench.org: https://github.com/codalab/codabench/wiki/Queue-Management#create-queue
- Assign your own compute-worker to this private queue instead of the default queue.
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
***This is a template, please remove any non-relevant details to your issue***

If you are competition participant:
-----------------------------------

- This Github repository is about the **platform** itself.
- If you problem is specific to a competition, **please contact directly its organizers**.

If you are an organizer and have problem hosting your competition:
------------------------------------------------------------------

- Please post a link to your competition.


If you are having trouble using the site:
-----------------------------------------

- What browser and version are you using?
- What is the URL of the problem? Codalab is an open source project, we may not be supporting the instance you are using!
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ var/
var_*/
certs/
backups/
logs/

src/static/output.css
src/static/output.js
Expand All @@ -34,3 +35,8 @@ server_config.yaml

.DS_Store
.DS_Store?

caddy_config/
caddy_data/

home_page_counters.json
47 changes: 35 additions & 12 deletions Caddyfile
Original file line number Diff line number Diff line change
@@ -1,29 +1,52 @@
{$DOMAIN_NAME} {
# HTTPS options:
# HTTPS Options
tls {$TLS_EMAIL}

# Test HTTPS setup
# tls {$TLS_EMAIL} {
# ca https://acme-staging-v02.api.letsencrypt.org/directory
# }


# Removing some headers for improved security:
header / -Server
header -Server

@noRedirect {
not path /maintenance.html
not path /offline.png
}
@maintenanceModeActive file {
root /srv
try_files maintenance.on
}
handle @maintenanceModeActive {
root * /srv
redir @noRedirect /maintenance.html
file_server {
status 503
}
}

# Serves static files, should be the same as `STATIC_ROOT` setting:
root /var/www/django
root * /var/www/django
file_server

# Serving dynamic requests:
proxy / django:8000 {
except /static /media
transparent
websocket
@noStatic {
not path /static/*
not path /media/*
}


# Serving dynamic requests:
reverse_proxy @noStatic django:8000

# Allows to use `.gz` files when available:
gzip
encode gzip

# Logs:
log stdout
errors stdout
# Logs, will keep 5 GB
log {
output file /var/log/caddyaccess.log {
roll_size 5000MiB
}
}
}
19 changes: 13 additions & 6 deletions Containerfile.compute_worker_podman
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ FROM fedora:37
RUN dnf -y update && \
# https://bugzilla.redhat.com/show_bug.cgi?id=1995337#c3
rpm --setcaps shadow-utils 2>/dev/null && \
dnf -y install podman fuse-overlayfs python3.8 python3-pip \
dnf -y install podman fuse-overlayfs python3.9 \
--exclude container-selinux && \
dnf clean all && \
rm -rf /var/cache /var/log/dnf* /var/log/yum.*

# Setup user
# Setup user
RUN useradd worker; \
echo -e "worker:1:999\nworker:1001:64535" > /etc/subuid; \
echo -e "worker:1:999\nworker:1001:64535" > /etc/subgid;
Expand Down Expand Up @@ -47,16 +47,23 @@ RUN echo -e "[registries.search]\nregistries = ['docker.io']\n" > /etc/container
ENV PYTHONUNBUFFERED 1
ENV CONTAINER_ENGINE_EXECUTABLE podman

# Get pip for 3.8
RUN python3.8 -m ensurepip --upgrade

WORKDIR /home/worker/compute_worker

ADD compute_worker/ /home/worker/compute_worker

RUN chown worker:worker -R /home/worker/compute_worker

RUN pip3.8 install -r /home/worker/compute_worker/compute_worker_requirements.txt
RUN curl -sSL https://install.python-poetry.org | python3.9 -
# Poetry location so future commands (below) work
ENV PATH $PATH:/root/.local/bin
# Want poetry to use system python of docker container
RUN poetry config virtualenvs.create false
RUN poetry config virtualenvs.in-project false
# So we get 3.9
RUN poetry config virtualenvs.prefer-active-python true
COPY ./compute_worker/pyproject.toml ./
COPY ./compute_worker/poetry.lock ./
RUN poetry install

CMD celery -A compute_worker worker \
-l info \
Expand Down
21 changes: 15 additions & 6 deletions Containerfile.compute_worker_podman_gpu
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ RUN curl -s -L https://developer.download.nvidia.com/compute/cuda/repos/rhel9/x8
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm && \
dnf -y update && \
dnf module install -y nvidia-driver:latest-dkms && \
dnf -y install podman fuse-overlayfs python3.8 python3-pip nvidia-container-runtime nvidia-container-toolkit \
dnf -y install podman fuse-overlayfs python3.9 nvidia-container-runtime nvidia-container-toolkit \
cuda --exclude container-selinux && \
dnf clean all && \
rm -rf /var/cache /var/log/dnf* /var/log/yum.*

# Setup user
# Setup user
RUN useradd worker; \
echo -e "worker:1:999\nworker:1001:64535" > /etc/subuid; \
echo -e "worker:1:999\nworker:1001:64535" > /etc/subgid;
Expand Down Expand Up @@ -49,15 +49,24 @@ RUN mkdir /codabench && \
chown worker:worker /codabench && \
# Set up podman registry for dockerhub
echo -e "[registries.search]\nregistries = ['docker.io']\n" > /etc/containers/registries.conf && \
# Get pip for 3.8
python3.8 -m ensurepip --upgrade

WORKDIR /home/worker/compute_worker

ADD compute_worker/ /home/worker/compute_worker

RUN chown worker:worker -R /home/worker/compute_worker && \
pip3.8 install -r /home/worker/compute_worker/compute_worker_requirements.txt
RUN curl -sSL https://install.python-poetry.org | python3.9 -
# Poetry location so future commands (below) work
ENV PATH $PATH:/root/.local/bin
# Want poetry to use system python of docker container
RUN poetry config virtualenvs.create false
RUN poetry config virtualenvs.in-project false
# So we get 3.9
RUN poetry config virtualenvs.prefer-active-python true
COPY ./compute_worker/pyproject.toml ./
COPY ./compute_worker/poetry.lock ./
RUN poetry install

RUN chown worker:worker -R /home/worker/compute_worker

CMD nvidia-smi && celery -A compute_worker worker \
-l info \
Expand Down
21 changes: 15 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
FROM python:3.8
FROM python:3.9.20

RUN apt-get update && apt-get install -y gcc build-essential && rm -rf /var/lib/apt/lists/*

ENV PYTHONUNBUFFERED 1
ENV PYTHONUNBUFFERED=1

RUN curl -sSL https://install.python-poetry.org | python3 - --version 1.8.3
# Poetry location so future commands (below) work

ENV PATH=$PATH:/root/.local/bin
# Want poetry to use system python of docker container
RUN poetry config virtualenvs.create false
RUN poetry config virtualenvs.in-project false

COPY pyproject.toml poetry.lock ./

# Install dependencies
RUN poetry install

ADD requirements.dev.txt .
ADD requirements.txt .
RUN pip install -U pip
RUN pip install -r requirements.dev.txt

WORKDIR /app
Loading