Remove traced_reads() from scripts/audit_parameters.py once policyengine-core records scale and by-path reads
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 0
- フォーク
- 0
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PolicyEngine/us-cliffs-2017 のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
PolicyEngine/us-cliffs-2017 の issue をすべて見る
似ている issue
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NousResearch/hermes-official-plugins#538 ·
メンテナーはふだん 3 日以内に返信
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidate対応中かも @houzhongyu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MakazhanAlpamys/Soup#3415 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信