Add to model ability to point to config file(s) which resulted in that record
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- backend-api-design
Direzione di ricerca
Non vengono indicati file del repository, test o punti di ingresso dell'implementazione. Inizia esaminando l'esempio ValidationOrigin e i riferimenti collegati bids-validator e OpenNeuro, quindi chiarisci il modello di provenienza e il comportamento previsto per la relativa segnalazione prima dell'implementazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
thinking about bids-validator config file which could change level of a specific type of a result. While reporting to the user it might be useful to instruct why any given record got to be like it is
in dandi-cli we associate each result with a singular
class ValidationOrigin:
name: str
version: str
bids_version: str | None = None
(I recall us working on refactoring to have standard and standard_version). So likely we would like to either add some explicit List[ConfigurationOrigin] construct depicting origin of the configuration (file, env var, ...) and then tools being able to annotating results with information about specific configuration file which effected that result. Thinking of the case where e.g. for openneuro there could be validator config provided by the dataset and then the one with overloads from openneuro.
User of the website then ATM just provided with a list of errors or warnings but there would be no specific description that e.g. error of having no subjects is specific to openneuro (its configuration for bids-validator, ref: https://github.com/OpenNeuroOrg/openneuro/pull/3184), and not of dataset itself or the original standard.
ref:
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 1
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di con/validation
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
con/validation#2 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
con/validation#1 · 20 commenti ·
Tutte le issue di con/validation
Issue simili
-
schema_dict_to_pydantic_model TypeError on JSON Schema type arrays → extract falls back to free-text Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
browser-use/browser-use#5904 ·
-
type: enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ynput/ayon-python-api#363 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug severity:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100