Skip to content

Edit Task and Task Validation #1078

Description

@ihsaan-ullah

A Task in Codabench is considered atomic. A discussion is needed for the following:

  1. What is task validation and how it is done
  2. Should a task be updated? When and how

Some discussion below:

Task Validation

A task is considered validated when one of the following happens:

  1. Task runs its solution successfully (to be verified if it works)
  2. Task runs a submitted submission successfully (it does not work)

After either of the above is done i.e. Task is validated, this task cannot be updated anymore. If event after task needs to be updated, this should be discussed and planned properly. Some suggestion below:

  • invalidate a task before it is updated
  • remove all the submissions which have used this task and then invalidated the task

Task Updation

A task can be updated only if it is not validated. How can a task be modified:

  • update the current (invalidated) task by changing title, description, program or dataset (In this case task id stays the same)
  • create a new task from current task and modify title, description, program or dataset. (In this case task id is newly created and old task stays the same)
  • Add functionality to upload a zip of task which will contain
    • a yaml file with task title, description and/or dataset/program keys
    • datasets/programs zips/directories

More:

  • Task updation is a critical feature and should be discussed first before any final action is taken
  • A big warning message should be displayed for the organizers when updating a task

Requests:

Several people requested the discussed features. They should be invited to the discussion:

Related issues and PRs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    DiscussionNeeds to be discussed before we can come up with specifications and begin the issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions