Duplicate key error
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Run test-score-upload-from-sciunit.ipynb and reproduce the duplicate-key error at the data upload endpoint. Review the linked Slack discussion for Dario's preliminary thoughts and inspect how the existing URL uniqueness constraint is handled. The expected upload behavior and the final acceptance criteria still need clarification.
Written by the indexing model from the issue text.
Description
If you run the test-score-upload-from-sciunit.ipynb notebook in this repo, you will now get:
ERROR:scidash_api.client:SERVER -> SERVER ERROR: ['IntegrityError at /data/upload/data.json\nduplicate key value violates unique constraint "sciunitmodels_modelclass_url_0a12bafd_uniq"\nDETAIL: Key (url)=(https://github.com/scidash/neuronunit/blob/master/neuronunit/models/NeuroML2/LEMS_2007One.xml) already exists.
This was discussed in the #scidash channel on Slack and Dario has preliminary thoughts here: https://asuiconlab.slack.com/archives/CL7JKNG10/p1598466199014200
- Dominant language
- Jupyter Notebook
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MetaCell/scidash-api
-
some issues running test-suite-upload-from-sciunit.ipynbMay be free again @NeZanyat claimed this 2888 days ago, and no pull request is open. Open
MetaCell/scidash-api#39 · 10 comments · 1 assignee ·
All issues in MetaCell/scidash-api
Similar issues
-
bug No Code Attached Yet
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
joomla/joomla-cms#48556 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
john-kurkowski/tldextract#382 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CircuitVerse/CircuitVerse#7967 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CopilotKit/aimock#491 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
deepset-ai/haystack#13092 ·
Maintainers usually reply within 1 day