Remove traced_reads() from scripts/audit_parameters.py once policyengine-core records scale and by-path reads
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Start in scripts/audit_parameters.py at traced_reads(), TracedLeaf, the get_traced_child patch and the TracingParameterNode.__getattr__ patch. First confirm the installed policyengine-core release contains PolicyEngine/policyengine-core#664, then run the audit and compare the produced CSV with the current output to verify ParameterRecorder results are unchanged. Remove the now-duplicated tracing code, update the docstring paragraph about what core's tracer misses, and finish when the audit still produces the same CSV.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
PolicyEngine/policyengine-core#664 makes core's tracer record both kinds of read that traced_reads() in scripts/audit_parameters.py adds:
- scale reads through
.calc, recorded with a description of the schedule; - reads by path, such as
parameters.gov.X(instant), recorded at the parameter's path and instant.
With that core, the get_traced_child patch records each scale read a second time, and the TracingParameterNode.__getattr__ patch replaces core's own handling of reads by path. ParameterRecorder keys reads by name, so the CSV does not change, but traced_reads() and TracedLeaf can be removed. The docstring's paragraph on what core's tracer misses then needs updating.
Do this after the first policyengine-core release that contains #664.
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 0
- Merge medio
- 1g 19h
- PR unite (30g)
- 2
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/us-cliffs-2017
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 28/100
Tutte le issue di PolicyEngine/us-cliffs-2017
Issue simili
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
NousResearch/hermes-official-plugins#538 ·
I maintainer di solito rispondono entro 3 giorni
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidateForse già presa @houzhongyu l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
MakazhanAlpamys/Soup#3415 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni