HumanBrainProject / HumanBrainProject/hbp-validation-framework

Models being created without having names

Open
#286 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

REST API v2
Dominant language
Python
Stars
5
Forks
12
PR merge metrics
No merged PRs in 30d

Description

On the web apps, model name is a mandatory field. But the APIs seem to allow models to be created without names. E.g.:
https://model-catalog.brainsimulation.eu/#model_id.400e4aa1-bb9e-4615-ba16-dc71c44b7c2f

Note: it is presently unclear which fields are mandatory for models and tests. This has varied quite a bit over time, and so even I am a bit clueless. I mostly resort to trial and error when trying to identify mandatory fields... not ideal!

Related to: https://github.com/HumanBrainProject/hbp-validation-client/issues/86

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the nameless-model case through the APIs and compare it with the web app behavior shown in the model-catalog URL. Read the related validation-client issue 86 and identify where model and test mandatory fields are defined. Done means the API consistently rejects models without required names and the mandatory-field behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.