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

Aperta
#1,039 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
25
Fork
25
Merge medio
4h 5m
PR unite (30g)
10

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lanl/PyBNF

Tutte le issue di lanl/PyBNF

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.