Store the metadata v3 reads in the v2 catalog, from PolicyEngine.py's public records
Maintainer antworten meist innerhalb von 3 Tagen
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
Rechercherichtung
Start with the catalog publishing code and its format 2 records, then inspect PolicyEngine.py's public records at PolicyEngine/policyengine.py#701 and the /{country}/metadata route. Compare the metadata for the US and UK to check every new field, and review how earlier catalog versions leave those fields empty. Done means the published catalog matches both routes and the Public API uses a PolicyEngine.py release that provides the fields.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
The app's newer workspace (v3) reads several metadata fields from /{country}/metadata that the v2 catalog does not store: each model's entities (key, plural name, whether it is the person entity) and basic inputs (the household builder's default fields); each variable's input and hidden-input flags, its module, the parameter that names what it adds or subtracts, and the labels of its enum values; each parameter's economy and household flags; and bracket schedules as nodes of the parameter tree with their labels.
Without these fields, v3 cannot load its metadata from the v2 routes. PolicyEngine.py now publishes them in its public records (PolicyEngine/policyengine.py#701), so the catalog can take them from there instead of from the country package's tax-benefit system or a private PolicyEngine.py method.
What is needed:
- Store the fields when a catalog version is published (catalog format 2), read only from PolicyEngine.py's public records.
- Keep catalog versions published earlier unchanged: their new fields stay empty.
- Check each new field against what
/{country}/metadatapublishes for the US and the UK. - Move the Public API's PolicyEngine.py dependency to the release that publishes the fields.
- Vorherrschende Sprache
- Python
- Sterne
- 18
- Forks
- 33
- Ø Merge
- 2 T. 18 Std.
- Gemergte PRs (30 T.)
- 36
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
-
Remove the v1 user routes and keep complete simulation and report results finalEvtl. vergeben @MaxGhenis hat das heute übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
PolicyEngine/policyengine-api#4028 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Publish v2 catalog regions from the Public API's own region reference filesEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 38/100
PolicyEngine/policyengine-api#4019 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Remove the routes only the legacy site used, check health at /health, and stop serving Canada, Nigeria and IsraelEvtl. vergeben @anth-volk hat das vor 1 Tag übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
PolicyEngine/policyengine-api#4016 ·
Maintainer antworten meist innerhalb von 3 Tagen
Alle Issues in PolicyEngine/policyengine-api
Ähnliche Issues
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 85/100
WLAN-Pi/wlanpi-profiler#341 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Memory leak: the shared `validation_aborted_error` keeps every traceback it is raised throughEvtl. vergeben @Fire162 hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
graphql-python/graphql-core#287 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
roman-corgi/ctc-dip#160 ·
Maintainer antworten meist innerhalb von 1 Tag
-
type-bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
render_findings.py reads and writes in the host's default encoding, so findings.html breaks on a cp1252 Windows hostEvtl. vergeben @Aaqibhafeezkhan hat das heute übernommen. Offenbug good first issue mentored python size: XS up-for-grabs
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
dheerajjha/mcp-migrate#366 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag