Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Store the metadata v3 reads in the v2 catalog, from PolicyEngine.py's public records

Offen
#4,022 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 3 Tagen

@anth-volk arbeitet bereits daran.

Seit 22.10.2026.

  • #4023 von @anth-volk — offen

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
api, backend, databases

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}/metadata publishes 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

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus PolicyEngine/policyengine-api

Alle Issues in PolicyEngine/policyengine-api

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.