On the gradient path a .net model ends the whole fit on any simulation failure, where an SBML model scores the same failure as a failed point
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 57/100
調査の方向性
Start with pybnf/bngsim_model/net_model.py:1272-1290 and compare the .net exception handling with the SBML path; read #1019 and AGENTS.md for the intended failed simulation behavior. Find the existing backend tests and add coverage for configuration-level refusals, point-dependent refusals, and integrator failures on both backends. Done means configuration-level refusals end the run while point-dependent refusals and integrator failures count as failed points.
索引モデルが issue の本文から書いたものです。
説明
When a sensitivity request is set, the .net execute path turns any backend exception other than a timeout into a PybnfError (pybnf/bngsim_model/net_model.py:1272-1290), which ends the fit. The SBML path scores a run-time SensitivityUnsupportedError as a failed point.
Why it matters. Some run-time refusals depend on the parameter values. One example is a parameter exactly on a max() kink, which is where an L-BFGS-B bound projection lands. The same point therefore ends a .net fit but is skipped by an SBML fit. A genuine integrator failure at an extreme point also ends a .net gradient fit, though AGENTS.md treats that as a failed simulation.
#1019's review chose the SBML behaviour on purpose: ending the fit on a run-time refusal stopped fits that recover.
Fix: decide one rule for both backends, and test it on both:
- a configuration-level refusal ends the run;
- a point-dependent refusal or integrator failure is a failed point.
- 主要言語
- Python
- スター
- 25
- フォーク
- 25
- 平均マージ
- 4時間 5分
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lanl/PyBNF のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug minor
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug tech debt
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug minor
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
bug silent-incorrectness
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
software-mansion-labs/Diplomat#20 ·
メンテナーはふだん 1 日以内に返信
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client area対応中かも @lijy91 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
libnativeapi/nativeapi#53 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
View Counts discarded due to field name mismatch対応中かも @rsiva0400 が今日担当しました。 オープンsite-bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Model version publishes the new UK firm entity as a person対応中かも @vahid-ahmadi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
PolicyEngine/policyengine.py#764 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
spcl/HPCAgent-Bench#264 ·
メンテナーはふだん 1 日以内に返信