codalab / codabench

Codabench is a flexible, easy-to-use and reproducible benchmarking platform. Check our paper at Patterns Cell Press https://hubs.li/Q01fwRWB0
Apache License 2.0
76 stars 28 forks source link

Upload task from resource interface #1638

Open ihsaan-ullah opened 4 weeks ago

ihsaan-ullah commented 4 weeks ago

@ mention of reviewers

@Didayolo

A brief description of the purpose of the changes contained in this PR.

This new feature is for uploading a task. A zip file with task.yaml and zips of datasets/programs are required to upload a task

You can use already existing datasets/programs by using their keys in your yaml. Check the following two valid tasks:

You can also use a mix of keys and files

Screenshots:

Click the upload task button in the tasks tab in the resource interface to start uploading a task zip

Screenshot 2024-10-31 at 7 31 16 PM

Select a zip file in the filed field and click upload to finish uploading

Screenshot 2024-11-01 at 12 49 00 PM

Documentation in wiki:

I renewed the resource interface documentation including task upload here: https://github.com/codalab/codabench/wiki/Resource-Management

Issues this PR resolves

A checklist for hand testing

Any relevant files for testing

You can use the following files to test that uploading fails when there are problems:

Checklist