Store the metadata v3 reads in the v2 catalog, from PolicyEngine.py's public records
I maintainer di solito rispondono entro 3 giorni
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 18
- Fork
- 33
- Merge medio
- 2g 18h
- PR unite (30g)
- 36
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un 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 PolicyEngine/policyengine-api
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
PolicyEngine/policyengine-api#3911 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
PolicyEngine/policyengine-api#3910 ·
I maintainer di solito rispondono entro 3 giorni
-
Stop serving economy results cached with ×100 decile relative changesForse già presa @anth-volk l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
PolicyEngine/policyengine-api#4025 ·
I maintainer di solito rispondono entro 3 giorni
-
Request UK constituency and local-authority impacts separately from the national economy resultForse già presa @anth-volk l’ha presa oggi. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
PolicyEngine/policyengine-api#4021 ·
I maintainer di solito rispondono entro 3 giorni
-
Publish v2 catalog regions from the Public API's own region reference filesForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
PolicyEngine/policyengine-api#4019 ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di PolicyEngine/policyengine-api
Issue simili
-
[oblt-aw][autodoc] Update workflow docs for gh-aw v0.92.5 and detector permission scopeForse già presa @github-actions l’ha presa oggi. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
feat(ide): VS Code access through the shipped MCP server (config doc and tool-list smoke test)Apertaroadmap-100
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
comp/tools P2 tool/browser tool/file type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
NousResearch/hermes-agent#143418 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
python-hyper/uritemplate#164 ·