parameter_scan and bifurcate on the bngsim backend ignore the action's atol=> and rtol=>

オープン
#1,037 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
73/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
backend, data

調査の方向性

Read pybnf/bngsim_model/net_model.py around lines 1754 and 2180–2370 to compare how simulate passes tolerances with the parameter scan path. Trace _run_parameter_scan and _run_scan_point to see where each scan point is integrated. Done means scan actions honor their stated atol and rtol, or refuse those options clearly; verify the behavior for a dose-response scan.

索引モデルが issue の本文から書いたものです。

説明

bug silent-incorrectness

On the bngsim backend:

  • simulate passes the action's atol=>/rtol=> to bngsim (pybnf/bngsim_model/net_model.py:1754).
  • The scan path (_run_parameter_scan / _run_scan_point, around net_model.py:2180-2370) never reads them.

So a dose-response written parameter_scan({..., atol=>1e-12}) is integrated at bngsim's default tolerance, with no warning, while the same action's simulate honours it.

Fix: pass the action's tolerances on the scan path, or refuse them there. Each scan point should integrate at the tolerance its action states.

Related but distinct: #971, where edition-2 cannot set solver tolerances for a BNGL model at all.

Found in independent review of #1018.

主要言語
Python
スター
25
フォーク
25
平均マージ
4時間 5分
マージ済み PR(30日)
10

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lanl/PyBNF のほかの issue

lanl/PyBNF の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。