Follow-ups from #2160: qualifying-age docstring, UC work-related groups property-file speed, changelog fragment example
I maintainer di solito rispondono entro 2 giorni
@juaristi22 ci sta già lavorando.
Dal 17/10/2026.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 88/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- documentation, testing
Direzione di ricerca
Tre follow-up indipendenti, ognuno con il proprio obiettivo indicato. (1) Trova la docstring di has_attained_state_pension_credit_qualifying_age (grep sotto policyengine_uk/) e applica la formulazione suggerita riguardo la data di nascimento del 6 novembre 1953; la formula resta intatta. (2) Aggiungi pytestmark = pytest.mark.usefixtures("cloned_uk_tax_benefit_system") in cima a policyengine_uk/tests/test_uc_work_related_groups_properties.py, copiando il pattern di test_ni_class_4_properties.py, poi esegui il file per confermare che tutti e 14 i test passano. (3) In docs/engineering/skills/github-prs.md righe 43-48, rimuovi il - iniziale dall'esempio di fragment del changelog affinché il template predefinito di towncrier non renderizzi - - . Completato quando i test passano e l'esempio non inizia più con un punto elenco.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Three small follow-ups found while reviewing #2160. Each is outside that PR's scope.
- Qualifying-age documentation. The
documentationofhas_attained_state_pension_credit_qualifying_age(from #1907) says men born before 6 December 1953 "reach it before their own State Pension age of 65". For a man born on 6 November 1953, the qualifying age (Pensions Act 1995 Sch 4 para 1 table 1: "6th November 1953 to 5th December 1953", 6 November 2018) falls on his 65th birthday. A check of every birth date from 1880 to 5 December 1953 found that is the only date where the two coincide. Suggested wording: "reach it before their own State Pension age of 65 (on it, for a birth on 6 November 1953)". The formula is unaffected. - Property-file speed.
policyengine_uk/tests/test_uc_work_related_groups_properties.pylacks thepytestmark = pytest.mark.usefixtures("cloned_uk_tax_benefit_system")used by the repo's other property files (test_ni_class_4_properties.py,test_ni_class_4_profits_properties.py,test_trading_allowance_properties.py,test_bus_fare_reforms.py,test_ni_class_4_maximum.py). So it loads the model again for everySimulation. On a loaded host, an unmodified local run reached 3 tests in 90 minutes. With the fixture applied to every test, all 14 passed in 2,035 s. - Changelog fragment example.
docs/engineering/skills/github-prs.md(lines 43-48) shows a fragment that starts with-.[tool.towncrier]sets no template, so towncrier's default template adds the bullet itself, and such fragments render as- -inCHANGELOG.md. There are 94 such lines on main, including in 2.122.2 and 2.121.0. Drop the-from the example. Optionally, normalise the existing- -lines.
- Lingua principale
- Python
- Stelle
- 52
- Fork
- 34
- Merge medio
- 3g 7h
- PR unite (30g)
- 278
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-uk
-
Northern Ireland business rates statistic is twice the OBR NI line: regional vs district ratesForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
PolicyEngine/policyengine-uk#2343 ·
I maintainer di solito rispondono entro 2 giorni
-
Scottish Carer Supplement rate has no upratingForse già presa @MaxGhenis l’ha presa 21 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
PolicyEngine/policyengine-uk#1957 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
PolicyEngine/policyengine-uk#1740 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
PolicyEngine/policyengine-uk#614 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
PolicyEngine/policyengine-uk#368 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di PolicyEngine/policyengine-uk
Issue simili
-
type-bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
push_gh-pages fails on master branch on forksForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertagood first issue infrastructure
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
kuznia-rdzeni/coreblocks#1135 ·
-
good first issue server
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
documentation priority: high
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
a-lex-s/mealie-telegram-bot#54 ·
I maintainer di solito rispondono entro 1 giorno