UK metadata: moduleName is empty for every variable, and modelled_policies is a file path
Maintainer antworten meist innerhalb von 3 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 57/100
Rechercherichtung
Start by tracing the UK metadata response for GET /uk/metadata and compare it with the US response, focusing on how variables' module paths populate moduleName and how programs.yaml is loaded into modelled_policies. Check the relevant API tests and add coverage for both fields. Done means UK variables expose module names and modelled_policies contains parsed YAML data.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
Two fields in GET /uk/metadata (policyengine-uk 2.130.1) differ from /us/metadata:
moduleNameis empty for every UK variable. All 1,163 variables havemoduleName: "". For the US, 6,104 of 6,167 variables have it (for examplehousehold.income.person.tip_income). The app groups household inputs by module, so every UK input lands in one "Other" group.modelled_policiesis a file path, not data. It is the string/opt/venv/lib/python3.12/site-packages/policyengine_uk/programs.yaml. For the US it is the parsed object. It looks like the path toprograms.yamlis returned without the file being loaded.
Request
- Fill
moduleNamefor UK variables the same way as for the US (from the variable's module path in policyengine-uk). - Return the parsed
programs.yamlcontent inmodelled_policiesfor the UK.
Context
The app works around (1) with a list of UK inputs keyed by name, and skips (2), in PolicyEngine/policyengine-app-v2.
- Vorherrschende Sprache
- Python
- Sterne
- 18
- Forks
- 33
- Ø Merge
- 2 T. 15 Std.
- Gemergte PRs (30 T.)
- 35
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus PolicyEngine/policyengine-api
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 88/100
PolicyEngine/policyengine-api#3911 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
PolicyEngine/policyengine-api#3910 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Let a saved reform or household point at a new v2 policy or household without changing its IDEvtl. vergeben @anth-volk hat das heute übernommen. Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
PolicyEngine/policyengine-api#4004 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Releases do not check that each environment calls its own simulation serviceEvtl. vergeben @anth-volk hat das heute übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 46/100
PolicyEngine/policyengine-api#4002 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 18/100
PolicyEngine/policyengine-api#4000 ·
Maintainer antworten meist innerhalb von 3 Tagen
Alle Issues in PolicyEngine/policyengine-api
Ähnliche Issues
-
Validate non-divisible effective batch sizes in the Unsloth LoRA backendEvtl. vergeben @debesh-biswas hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
reflex-dev/reflex#7634 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
documentation
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 82/100
topoteretes/cognee#6239 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
ranaroussi/yfinance#3009 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Test discovery aborts on GPU builds without cuStateVec: check_cuStateVec expects a failed result but set_config() now raises RuntimeErrorEvtl. vergeben @dmeliksetian hat das heute übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Qiskit/qiskit-aer#2495 ·
Maintainer antworten meist innerhalb von 1 Tag