Parameter metadata for the keywords of registered recipe types
I maintainer di solito rispondono entro 1 giorno
Una pull request collegata è già stata integrata.
- #451 di @jtravs — integrata
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 22/100
Direzione di ricerca
Start with the registered types in src/solprop/recipe/registry.py (the Factory around line 140) and the existing route metadata in solprop.recipe.metadata, which the S9 consistency tests exercise. Add a summary, level, default, unit, display unit and manual anchor for each keyword of the 24 + 16 registered types beside their factories, then extend the S9 tests to cover them. Done when every registered keyword has an entry and those tests pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What is missing
SEP 41's parameter metadata (S9, solprop.recipe.metadata) describes every keyword of the gnlse, capillary and waveguide routes and the execution settings. Each entry gives the form, unit, display unit, level, group, summary, default or resolver, and manual anchor. A registered type (Factory) carries only the units of its keywords. This covers GaussianPulse, the grids, PressureGradient, profiles, MaterialSelection, the spatial grids, SpatialPulse, SpatialMedium, the responses, SpatialAbsorber and the rest of the 24 + 16 registered types.
Why it matters
A front end builds its forms, tooltips and newcomer/advanced levels from this metadata, so that it holds no copy of solprop's defaults or wording. Every table of a recipe has none of it today: a second pulse, a pressure gradient, a profile, and the whole setup of the radial, free and planar routes, whose [build] is entirely tables. A script user reading solprop check messages gets the same gap.
Context
- SEP 41 phase 1 and phase 4 (free-space half) reports, PR #376.
- The front end's design, section 12.1 and section 21 (
docs/dev/gui/design.md), where this is P2. Needed by its milestones M3 (guided routes) and M5 (free space).
To do
- Give each registered type's keywords the same entry as a route keyword (summary, level, default, range where there is one, display unit, manual anchor), defined beside the factory.
- Hold them to the target signatures and the manual's headings with the tests that hold S9's.
- Expose them through the same public call as the route metadata.
Done when
Every keyword of every registered type has an entry, and the existing S9 consistency tests cover them.
- Lingua principale
- Python
- Stelle
- 3
- Fork
- 3
- Merge medio
- 6h 29m
- PR unite (30g)
- 119
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi 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 LupoLab/solprop
-
A recipe missing a required keyword raises a bare TypeError from build, modes and preview_inputApertaarea: gui bug priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
The TDSE steady-current certificate can refuse a resolved taper on a band far above its frequenciesApertaarea: tdse enhancement priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 60/100
I maintainer di solito rispondono entro 1 giorno
-
The band-edge term that floors comparisons between windows is recorded only in an archived SEPApertaarea: boundaries documentation priority: low
Difficoltà 2/5 Mezza giornata Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
area: backends bug priority: low
Difficoltà 2/5 Mezza giornata Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
area: gui enhancement priority: low
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di LupoLab/solprop
Issue simili
-
DBFS append mode silently overwrites existing filesForse già presa @IlyaKhalafi l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
fsspec/filesystem_spec#2429 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
volcengine/OpenViking#7014 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
fedora-copr/copr#4600 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ansys/pydpf-core#3620 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno