Use `frictionless` to validate schemas and CSV files
@alexdewar ci sta già lavorando.
Dal 27/8/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
We have schema files in the table schema format in schemas/input which are used primarily to generate documentation for the input format. We will also use a similar mechanism for the output format (#529).
We could use the Python-based frictionless framework to validate all the CSV files for the example models. We're already checking that the files are well-formed with our Rust tests, so this would be primarily to check that the schemas themselves are well-formed (which is kind of the opposite to how they're normally used). It seems you can either do this from the command-line or from a Python script. We should run it on the CI to enforce this.
There seems to be a concept in frictionless called "packages" which I don't entirely understand, but it may be a way we can group all these schemas together somehow (the only way I could get it to work was by running individual schemas against individual files, but that's a bit gross and doesn't enforce file names).
- Lingua principale
- Rust
- Stelle
- 8
- Fork
- 5
- Merge medio
- 11h 31m
- PR unite (30g)
- 33
Guida per i contributori
Apri la guida per i contributori
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 EnergySystemsModellingLab/MUSE2
-
bug documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
EnergySystemsModellingLab/MUSE2#1367 · 1 commento ·
-
Remove the `ironing out iteration 0` prefix from debug files when the ironing out loop is turned off Apertamuse xiii question
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
EnergySystemsModellingLab/MUSE2#1221 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
EnergySystemsModellingLab/MUSE2#1554 ·
-
bug
EnergySystemsModellingLab/MUSE2#1541 · 2 commenti · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
EnergySystemsModellingLab/MUSE2#1526 ·
Tutte le issue di EnergySystemsModellingLab/MUSE2
Issue simili
-
Replayed reasoning items send "content": null, which the Responses API schema does not permit Apertabug CLI custom-model
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
rust-bitcoin/rust-bitcoin#6930 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
fulcrumgenomics/ferro-hgvs#2251 ·
-
A-allocators A-docs C-enhancement T-libs
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100