Epic: production-ready coverage of bngsim's capability surface
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- python
- Domain
- testing-qa
Research direction
Start with the repository's design document, especially §11 and the existing infrastructure and pilot work described in the issue. This epic spans corpus setup, correctness and performance coverage across many simulation capabilities, and productionization; its child issues define the concrete implementation tasks. Done means the scoped child work is implemented and its results support repeatable correctness and cost comparisons across the capability surface.
Written by the indexing model from the issue text.
Description
Purpose
bngsim-benchmarks is the durable, repeatable, fast-on-cluster place to answer two
questions about bngsim across its whole
capability surface:
- Correctness — does bngsim give the same answer as an independent reference?
- Cost — how long does it take, next to the tools a modeler would otherwise use?
bngsim-paper is a consumer of what we
produce here. This repo holds job setups, job runners, and results — never rendered
manuscript artifacts. Because the cluster lets us run far more than the paper does, the
goal is to exceed the paper's coverage, in both of its testing modes:
- Tables — curated suites of exactly 10 models, one per bngsim feature × input format (our core layer, §3.2), seeded from the paper's vetted model sets and read model-by-model.
- Figures — broad coverage over whole public corpora (our breadth layer, §3.4),
read as distributions.
Where we are on the DESIGN §11 ladder
- Done: §11.1 infrastructure (problem specs, job generation, serial/local/Slurm
runners, per-job results + freshness,gather), and the spine of §11.4.1 — ODE on
5 pilot models × 5 engines (bngsim vs run_network, libRoadRunner, COPASI, AMICI) ×
2 platforms (x86 + aarch64), with per-engine timing fault isolation (#26). - Also done: model sourcing, i.e. pin & fetch (#29), and two-number reporting in
gather(#34). - Not done: breadth correctness (§11.2), the core suites (§11.3), the ODE size series, every capability past plain ODE, and
productionization (result bundles, container, the §9 validation gate as a repeatable
thing).
Decisions taken
-
Model sourcing = pin & fetch + cache (DESIGN §4.2). Specs reference files by
{repo, commit, path, sha256}; abench fetch-modelscommand materializes them into
a git-ignored cache. No large blobs in git; corpora stay canonical upstream. -
Curated models come from
wshlavacek/BNGL-Models
(cloned locally as a read-only reference): 60 verified literature records inmodels/
(each with a verification notebook +reference/outputs +metadata.yaml), 30
closed-formtheorymodels inanalytical_odes/, and 22 fitting jobs inpybnf-jobs/. -
Core = suites, not one shared set (decided 2026-11-19; DESIGN §3.2). A suite is one
bngsim feature on one input format (.net, SBML, Antimony), with exactly 10 published,
verified models in a fixed order. Each suite is seeded from the paper's vetted set for that
feature, kept whole: a set larger than 10 is split along the paper's own grouping, and a
smaller one is topped up to 10 by the paper's own selection criterion. The Antimony suites
are derived: odd positions come from the.netsuite and even positions from the SBML
suite, each converted to Antimony.
Not in the paper, but in scope here
bngsim has execution backends the paper never exercises — notably the JAX bridge
and the MIR JIT. Those get first-class coverage here (issue in Track 2), alongside
the dense/KLU/auto linear-solver choice and compiled-vs-interpreted RHS agreement
(DESIGN §1.3).
Track structure
Each child is scoped to a single implementation session. Track 0 (substrate) and
Track 1 (ODE core suites) are filed now; Track 2 (capabilities) and Track 3
(productionize) are listed below and filed as we approach them, so their scopes
reflect what we learn.
Track 0 — Substrate: models & corpora
0.1Model sourcing: pinnedsource:+bench fetch-modelscache0.2BNGL breadth corpus wired (895,bng_parity) — figures0.3SBML/BioModels breadth corpus wired (1323,rr_parity) — figures0.4Standards conformance sets pinned (SBML Test Suite + DSMTS)
Track 1 — ODE core suites (tables)
1.1ode-net: 10 published BNGL models, ODE on the generated.net(#33)1.2ode-sbml: 10 curated BioModels, ODE on SBML (#37)1.3ode-antimony: 10 derived, interleaved from 1.1 and 1.2 (#38)
Every Track 2 capability brings its own per-format suites the same way. The paper's seed sets
and the top-up each needs:
- SSA:
.net(8 seed, +2) and SBML (6, +4) - PSA: 3 seed, +7
- network-free: aggregation (6, +4) and signaling (7, +3)
- sensitivities:
.netPyBNF-fitted (8, +2),.netlarge networks (3, +7), SBML from PEtab (6, +4), and Antimony, derived as for ODE - steady state: 6 seed, +4
- fitting: 6 seed, +4
Track 2 — Capabilities, in DESIGN §11.4 order (filed as approached)
2.1ODE size series generators (Dushek / Rubenstein / Yang, §3.3)2.2bngsim backend & solver matrix — interpreted / MIR JIT / compiled / JAX bridge
agree + costs; dense / KLU / auto2.3Re-simulation / amortization (load once, new params — the fitting-loop claim)2.4SSA + DSMTS analytic moments2.5PSA (partial scaling)2.6Network-free (NFsim / RuleMonkey)2.7Forward sensitivities (AMICI + finite-diff + JAX AD)2.8Steady state2.9SBML compliance (SBML Test Suite semantic cases)2.10Fitting / application (PyBNF)
Track 3 — Productionize (filed as approached)
3.1Result bundles +bench bundle+ rendered summary (§6.3)3.2Container image from the pinned lock (§8)3.3§9 validation as a repeatable gate (node-sharing + ARM/x86 hygiene)3.4Engine-version currency check (flags a lagging reference; respects the AMICI pin)
Not part of this epic
The agent-use study (#12–#17, and deferred PR #27) is the paper's separate "third
question" and keeps its own track.
Filed now (Track 0 / 1)
-
#29 — 0.1 Model sourcing: pinned
source:+bench fetch-modelscache -
#30 — 0.2 BNGL breadth corpus wired (895,
bng_parity) -
#31 — 0.3 SBML/BioModels breadth corpus wired (1323,
rr_parity) -
#32 — 0.4 Standards conformance sets (SBML Test Suite + DSMTS)
-
#33 — 1.1 ode-net core suite
-
#37 — 1.2 ode-sbml core suite
-
#38 — 1.3 ode-antimony core suite
-
#34 — 3.5 Reporting: correctness n/m + pre-sim/sim two-number timing (filed early)
Track 2 (capabilities) and Track 3 (productionize) are listed above and will be filed
as we approach them.
- Dominant language
- Python
- Stars
- 1
- Forks
- 1
- Avg merge
- 1h 48m
- Merged PRs (30d)
- 19
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lanl/bngsim-benchmarks
-
1.3 ode-antimony core suite: 10 models derived from ode-net and ode-sbml, ODE on Antimony (tables)Opencapability corpus
Difficulty 5/5 Over a week Newbie friendliness 35/100
lanl/bngsim-benchmarks#38 · 1 comment ·
Maintainers usually reply within 1 day
-
capability corpus
Difficulty 5/5 Over a week Newbie friendliness 25/100
lanl/bngsim-benchmarks#37 · 1 comment ·
Maintainers usually reply within 1 day
-
1.1 ode-net core suite: 10 published BNGL models, ODE on .net (tables)Possibly taken @wshlavacek claimed this 3 days ago. Opencapability corpus
Difficulty 5/5 Over a week Newbie friendliness 35/100
lanl/bngsim-benchmarks#33 · 1 comment ·
Maintainers usually reply within 1 day
-
corpus
Difficulty 5/5 Over a week Newbie friendliness 30/100
lanl/bngsim-benchmarks#32 ·
Maintainers usually reply within 1 day
-
corpus
Difficulty 4/5 3-5 days Newbie friendliness 42/100
lanl/bngsim-benchmarks#31 ·
Maintainers usually reply within 1 day
All issues in lanl/bngsim-benchmarks
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
software-mansion-labs/Diplomat#20 ·
Maintainers usually reply within 1 day
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client areaPossibly taken @lijy91 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
libnativeapi/nativeapi#53 · 1 reaction ·
Maintainers usually reply within 1 day
-
View Counts discarded due to field name mismatchPossibly taken @rsiva0400 claimed this today. Opensite-bug triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Model version publishes the new UK firm entity as a personPossibly taken @vahid-ahmadi claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PolicyEngine/policyengine.py#764 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
spcl/HPCAgent-Bench#264 ·
Maintainers usually reply within 1 day