Repository navigation
v2.6.0
What's Changed
- Faster:
Model.computekeeps one input buffer instead of re-stacking all rows per equation — about 2.7x faster for 80 variables. Results are bit-identical. - Deterministic graphs: the model graph is built in a fixed order, so the DOT/SVG output no longer depends on Python's hash randomization.
- Clear errors instead of silent NaN:
ValueErrorfor a wrong number of equations, unknown symbols, equations not in order of computation, afinal_varthat is not a y variable, duplicate variables, and unknown parameter overrides. Plain numbers are accepted as constant equations. - Robust drawing: no crash when all effects are zero or a graph is empty; double quotes in names and labels are escaped.
- New default graph style: Helvetica font, dark grey edge labels placed close to their edges. Pass
graph_options_strto keep the previous look. - Logging instead of print in
create_graphs, UTF-8 file output, type hints and docstrings; remnants of the former PyTorch estimation removed. - Tests: golden reference tests, more unit tests, CI on Python 3.9–3.14.
in #118
Full Changelog: v2.5.5...v2.6.0