Skip to content

Upload task from resource interface

Placeholder Ihsan Ullah requested to merge upload_task into develop

@ 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

  • use the provided zip files to upload a task
  • try to break the uploading by planting errors either in files, keys or the yaml file

Any relevant files for testing

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

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

Merge request reports

Loading