A gradient fit whose difference-quotient fallback crosses a moving branch fails every point and reports success at objective inf

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
backend

調査の方向性

Start by reading the setup-time refusal work in issue #1019 and trace how PyBNF handles declined analytic sensitivities and CVODES difference quotients. The issue says bngsim’s static crossing verdict is available only as prose on a cold cache, and a setup-time check may require a bngsim API. Done means setup can refuse fits that would otherwise fail every point and report objective inf with exit status 0.

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

説明

bug

Some models decline bngsim's analytic sensitivity right-hand side, and then the gradient falls back to CVODES' difference quotient. When that fallback would cross a moving branch (a switch whose time depends on the parameters), bngsim ≥ 0.14 refuses it only at run time.

What happens. Every point fails, and the fit ends with objective inf and exit status 0. Setup does not refuse it.

What #1019 covered. It added setup-time refusals for the declined-model cases it could decide: an initial-value column, and job_type = ms. This one was listed under "Not in this PR".

What a fix needs. A setup-time check needs bngsim's static crossing verdict as data. Today PyBNF sees it only as prose, on a cold cache. That may need a bngsim API.

主要言語
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 を短くまとめたダイジェスト。