Populate the UK prepayment-meter input from LCFS
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- data-engineering
Direzione di ricerca
Start with packages/microcosm-build/src/microcosm/build/uk_runtime/lcfs_consumption.py, especially the consumption-stage code linked in the issue, and trace how LCFS donor fields are cleaned, imputed, and exported. Find the UK stage tests and add focused coverage for the requested classification and propagation cases. Done means the input is exported, the weighted estimate is reported, and its comparison clearly states benchmark differences.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
PolicyEngine/policyengine-uk#2098 adds the household input uses_energy_prepayment_meter to calculate the Great Britain Energy Price Guarantee prepayment discount from July 2023 through March 2024. Microcosm's current UK LCFS consumption stage does not read a gas or electricity payment-method field and does not include this boolean in UK_LCFS_CONSUMPTION_OUTPUT_COLUMNS. Population simulations therefore default the model input to false and calculate no prepayment discount.
The government reported that the July 2023 change covered around three million prepayment-meter households across Great Britain and reduced a typical annual bill by around £21. Prepayment meter customers to pay less for energy from today
Current implementation: uk_runtime/lcfs_consumption.py
Requested implementation
- Identify the LCFS gas and electricity payment-method fields and document their code values.
- Derive a household-level
uses_energy_prepayment_meterboolean, including an explicit rule for mixed payment methods and missing responses. - Carry or impute the boolean from the LCFS donor into the UK household frame and include it in the exported PolicyEngine UK dataset.
- Add focused UK stage tests for donor cleaning, output propagation, deterministic assignment, and export compatibility.
- Report the weighted number and share of Great Britain households classified as using a prepayment meter.
- Compare that result with an official benchmark, stating differences in reference period, geography, and whether the benchmark counts households, customers, accounts, or meters.
Related issue and repository boundary
PolicyEngine/policyengine-uk-data#539 tracks the same missing input in the UK input pipeline and will remain open. This issue tracks the implementation required in Microcosm's direct LCFS consumption stage and current UK population build. The two implementations should use the same source-field interpretation and classification rules.
Dependency
The model can calculate the discount for an individual household when a caller supplies uses_energy_prepayment_meter. A Microcosm population release must carry this input before the discount has a nonzero aggregate effect in population simulations.
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 6
- Merge medio
- 2g 4h
- PR unite (30g)
- 192
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 PolicyEngine/microcosm
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
PolicyEngine/microcosm#1431 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
PolicyEngine/microcosm#1220 ·
I maintainer di solito rispondono entro 1 giorno
-
Update two stale comments about the export-mass reviewed-exclusion registerForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
PolicyEngine/microcosm#1108 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
PolicyEngine/microcosm#475 ·
I maintainer di solito rispondono entro 1 giorno
-
After the UK switch, publish UK national, dense and local-area builds only through the emitterForse già presa @anth-volk l’ha presa oggi. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
PolicyEngine/microcosm#1536 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di PolicyEngine/microcosm
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
micropython/micropython#19906 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
FinanceFlash/unvibecode#597 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
TomAnthony/YourOwnWeigh#21 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG]: Compliance rules never see Unity Catalog views as viewsForse già presa @wagnercsantos l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
databrickslabs/ontos#1348 ·
I maintainer di solito rispondono entro 3 giorni
-
Deprecated datetime.utcnow() is called on every log line (DeprecationWarning on Python 3.12+)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni