Skip to content

Conversation

@ihsaan-ullah
Copy link
Collaborator

@ihsaan-ullah ihsaan-ullah commented Jul 7, 2025

Description

Creating a compeittion from UI where phase has public data or starting kit was failing because from the front end the startingkit/pub_data was sent as a dict instead of their ids. Now with this change, the dict is converted to ids just like it is done in the competition update method.

Issues this PR resolves

A checklist for hand testing

  • Create a new competition using the UI, Add public data and starting kit to a new phase, check that you don't get any error.
  • When competition is created, check that the public data and starting kit are properly added to the competition.

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

@ObadaS
Copy link
Collaborator

ObadaS commented Dec 10, 2025

To be rebased

@ObadaS ObadaS merged commit 90cfc91 into develop Dec 10, 2025
1 check passed
@ObadaS ObadaS deleted the public_data branch December 10, 2025 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem creating Phase: Errors(s) saving benchmark: phases: public_data: Incorrect type. Expected pk value, received dict.

4 participants