petab 0.9's petab1to2 drops a pre-equilibration whose condition changes nothing, and PyBNF then fits an experiment that starts from the initial conditions

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

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

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

評価

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

調査の方向性

まず tests/test_petab_convert_review.py::test_pre_equilibration_under_an_empty_condition_survives_conversion と pyproject.toml:61 および :123 にある petab の依存関係宣言を確認してください。0.10 未満の petab で変換を再現し、条件が何も変更しない事前平衡化を PyBNF がどのように扱うか調べてください。完了条件は、サポート対象の petab の下限が 0.10 になるか、変換処理が削除された事前平衡化を検出し、影響を受ける実験名を示すことを拒否することです。

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

説明

bug silent-incorrectness

petab 0.9's petab1to2 drops a v1 pre-equilibration (preequilibrationConditionId) when that condition changes nothing. PyBNF then imports an experiment that starts from the model's initial conditions instead of from the pre-equilibrated steady state. The objective is wrong, and no error is raised. petab 0.10 keeps the pre-equilibration.

The petab extra still allows petab 0.9 (pyproject.toml:61 and :123, petab>=0.9,<1).

Where it is recorded. A strict xfail on petab < 0.10: tests/test_petab_convert_review.py::test_pre_equilibration_under_an_empty_condition_survives_conversion. It was found in independent review of #1017.

Fix, either of:

  • raise the extra's floor to petab 0.10;
  • detect after conversion that a pre-equilibration period was dropped, and refuse naming the experiment.
主要言語
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 を短くまとめたダイジェスト。