bng_parity SSA: Lin2019/ERK_model.bngl times out at the 1800 s default though it passes uncapped (two 10-replicate ensembles take ~3540 s), and overrides.TIMEOUT has been empty since #1549

Open Beginner friendly
#1,813 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
65/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
testing

Research direction

Read overrides.py and locate the TIMEOUT table, then check how its entries are used when generating jobs.json. Add the requested ERK_model.bngl timeout entry with the supplied runtime rationale and rebuild jobs.json. Done means the generated jobs file reflects a 5400-second timeout; the separate SSA cutoff investigation is outside this requested change.

Written by the indexing model from the issue text.

Description

testing

glacial/rulehub/Published/Lin2019/ERK_model.bngl reads TIMEOUT in bng_stoch_run.py --track ssa at the default DEFAULT_STOCH_TIMEOUT = 1800 s. Re-run alone with no cap, it passes parity, with 99.5% of points in agreement.

Measured on an Apple M1 Max with bngsim 0.17.2 (release wheel, core 932ea5e13396) and BioNetGen 2.9.3, in bngsim-paper's 2026-11 re-measurement:

  • bngsim: 134 s per replicate. Its 65 reactions are over the 64-reaction SSA codegen limit, so the propensities run interpreted.
  • run_network: 219 s per replicate.
  • The two 10-replicate ensembles total 3537 s, about twice the cap. Each bngsim replicate is also over the derived per-replicate cap, (1800 − 30) / (2 · 10) = 88.5 s.

overrides.py has the mechanism for exactly this case. A TIMEOUT entry raises a job's cap, never lowers it. But the table has been empty since #1549, which removed ERK_model's old 1200 s entry because it had become a cut once the default rose to 1800 s. Nothing replaced it at a value above the new default.

Asked

Add TIMEOUT["ERK_model.bngl"] = (5400.0, "two 10-rep SSA ensembles take ~3540 s on an M1 Max (bngsim 134 s/rep interpreted: 65 reactions > 64-reaction SSA codegen limit; run_network 219 s/rep)"). Then rebuild jobs.json. 5400 s leaves about 50% margin and gives a per-replicate cap of 268 s.

Separately, it may be worth checking whether the 64-reaction SSA codegen limit is still the right cut-off, since this model sits one reaction over it.

Dominant language
Python
Stars
3
Forks
6
Avg merge
1d 1h
Merged PRs (30d)
295

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lanl/bngsim

All issues in lanl/bngsim

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.