Skip to content

Release v26.10 - #1002

Merged
NicolaCourtier merged 62 commits into
mainfrom
26.10
Nov 3, 2026
Merged

NicolaCourtier merged 62 commits into
mainfrom
26.10

Conversation

@NicolaCourtier

Copy link
Copy Markdown
Member

Description

PR for release v26.10.

Important checks:

Please confirm the following before marking the PR as ready for review:

  • No style issues: $ pre-commit run or $ nox -s pre-commit (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
  • All tests pass: nox -s tests
  • The documentation builds: nox -s doctest
  • Code is commented for hard-to-understand areas
  • Tests added that prove fix is effective or that feature works

NicolaCourtier and others added 30 commits March 5, 2026 17:40
* remove restriction on numpy

* update changelog

* Update pyproject.toml

Co-authored-by: NicolaCourtier <45851982+NicolaCourtier@users.noreply.github.com>

---------

Co-authored-by: NicolaCourtier <45851982+NicolaCourtier@users.noreply.github.com>
* fix voronoi plot

* style: pre-commit fixes

* don't re-compute cost for voronoi plot

* style: pre-commit fixes

* Update CHANGELOG.md

* Remove contour plot

* Update CHANGELOG.md

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: NicolaCourtier <45851982+NicolaCourtier@users.noreply.github.com>
* Add citation info to Readme

* Update README.md

Co-authored-by: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com>

---------

Co-authored-by: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com>
* Align dict name with pybamm.Solution

* Update axis labels

* Allow len(dataset)

* Update CHANGELOG.md

* Add kind option to interpolant

* Update CHANGELOG.md
* Add cache_esoh option

* Temporary change to pyproject.toml

* Update lgm50_pulse_validation.ipynb

* Update pyproject.toml
* Add noise util

* Replace np.random with add_noise

* Remove init_soc parameter
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.4 → v0.15.9](astral-sh/ruff-pre-commit@v0.15.4...v0.15.9)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Update license for PEP 639 compliance

* Bump development status to Beta

* Switch the build backend to hatchling

* style: pre-commit fixes

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Ensure costs return evaluations

* Use item()

* Add cost.evaluate_batch
* Align distributions

* Update tests and examples

* Fix import

* Update CHANGELOG.md

* Add joint distribution marginal

* Use np min, max and item

* Fix min max

* Use LogUniform

* Return support as floats

* Introduce BaseDistribution
* Update feature distances

* Add predictive plot

* Fix test

* Add posterior to SamplingResult

* Add type import

* initial values instead of mean

* fix mean

* fixed example script for Bayesian feature fitting

* added handling of FailedSolution states to feature distances

* Update cost failures

* Update EP-BOLFI posterior

* EP-BOLFI only works with feature distances

* Turn experimental datasets into solutions

* Update predictive.py

* style: pre-commit fixes

* Import Plotly express when needed

* Add unit tests

* Update sampling posterior

* Skip any failed solution

* style: pre-commit fixes

* Fix parameters.add

* Update MarginalDistribution.repr

* Update CHANGELOG.md

* Use Datasets

* Update error message

* Fix python version check

* Test feature failure

---------

Co-authored-by: u2370093 <sarah.roggendorf@warwick.ac.uk>
Co-authored-by: Yannick Kuhn <github@yannick-kuhn.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add probability plot

* Rename plot probability to distribution

* style: pre-commit fixes

* Reset ep-bolfi and feature distances

---------

Co-authored-by: u2370093 <sarah.roggendorf@warwick.ac.uk>
Co-authored-by: Yannick Kuhn <github@yannick-kuhn.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Rename Sobol sensitivity method

* Make SALib optional

* Update installation.rst
* Update utils

* Minor update
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.12 → v0.15.15](astral-sh/ruff-pre-commit@v0.15.12...v0.15.15)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Use vectorisation instead of workers

* Update CHANGELOG.md

* Fix scalar value issue for scipy<1.15

* Test vectorized=False

* Reduce test repeats

* Remove iteration adjustment
* Update tests

* Save and load parameter names

* Create saving_and_loading_results.py

* Allow list or array

* Format example scripts

* Fix indentation

* Create save path

* implement Sarah's suggestion

---------

Co-authored-by: Ferran Brosa Planella <Ferran.Brosa-Planella@warwick.ac.uk>
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.15 → v0.15.20](astral-sh/ruff-pre-commit@v0.15.15...v0.15.20)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Update action versions

* Restrict joss workflow
* Remove asv benchmarking

* Delete multiprocessing_bench.py

* Remove benchmarking
* Enable voltage as a state

* Simplify check
NicolaCourtier and others added 24 commits July 27, 2026 09:27
* Add synthetic LG M50 data

* Add plotting and OCV fitting

* Define OCV class

* Update CHANGELOG.md

* Add SciencePlots as optional dependency

* Add unit tests

* Move pyprobe import

* Share parameter pickle files

* Use scienceplots without tex

* Update .gitignore

* Run pipeline sequentially

* Use lumped thermal model

* Update .gitignore

* Update synthetic data

* Update pyproject.toml

* Update Plotly install

* Use pathlib and update relative paths

---------

Co-authored-by: Ferran Brosa Planella <Ferran.Brosa-Planella@warwick.ac.uk>
* Add temperature procedure

* Add utils and tests

* add temperature to synthetic data generation

* Update synthetic data

* Update test tolerance

* Extend test

* Update procedure

* Create 4_thermal_response.py

* Update CHANGELOG.md

---------

Co-authored-by: Ferran Brosa Planella <Ferran.Brosa-Planella@warwick.ac.uk>
* Add GroupedSPMe voltage components

* Change parameter grouping

* Add minimum electrolyte events

* Add voltage components

* Add set_initial_state

* Add SPM voltage components

* Finish merging

* Enable sto-dependent diffusion timescales

* Pass ambient temperature

* Update event tolerance

* Simplify open-circuit voltage

* Enable alpha not 0.5

* Refactor Butler Volmer

* Move exchange rate to parameter set

* Add Butler-Volmer variations

* Squeeze array to get singular cost

* Test simulation of experiment

* Get reaction rates from exchange current functions

* Update plot variables

* Update test

* Update parameter setting

* Use positive domain name

* Fix OCP averaging

* Allow diffusivity function of temperature

* Create alternative_functions.py

* Update CHANGELOG.md

* Update description

* Add unit test

* Move Butler-Volmer functions to base model

* Fix reaction rate calculation

* Switch reaction rate to reference current

* Rename prefactor to r2_scale

* Move alternative_functions.py

* Separate half-cell models

* Reset set_initial_state and use A.h
* Remove "negative"

* Create 5_fit_resistances.py

* Create 5b_charge_transfer.py

* Update CHANGELOG.md
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.16.1 → v0.16.6](astral-sh/ruff-pre-commit@v0.16.1...v0.16.6)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: NicolaCourtier <45851982+NicolaCourtier@users.noreply.github.com>
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.16.6 → v0.16.10](astral-sh/ruff-pre-commit@v0.16.6...v0.16.10)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Update pyproject.toml

* only restrict polars version when using pyprobe

---------

Co-authored-by: u2370093 <sarah.roggendorf@warwick.ac.uk>
* update nightly dependencies workflow

* system dependencies

* Update workflow to use Python 3.14

* fix yaml formatting

---------

Co-authored-by: NicolaCourtier <45851982+NicolaCourtier@users.noreply.github.com>
* Update build_matrix.sh

* Move build_matrix.sh
* Update pyproject.toml

* Test dependency override

* Test dependency override
* Remove exception check

* Include voltage limit with every dis/charge

* Update CHANGELOG.md

* Update .gitignore

* Update pybamm.RecommendedSolver

* Update procedures

* Update generate_synthetic_data.py

* Allow varying voltage limits and simulator kwargs

* Update synthetic data

* Update half-cell test

* Revert "Remove exception check"
This reverts commit d52b1b7.
* Update PyProBE version

* Restrict pyarrow numpy dependency

* Update scienceplots version
* Include layers in electrode area

* Update diffusion times

* Update base models

* Define fluxes and capacitances

* Add the thermodynamic factor

* Update CHANGELOG.md

* Update grouped_SPMe.py

* Test functional diffusion time
* Fix weighted cost targets

Co-Authored-By: Pierfrancesco Ombrini <91598680+ombrini@users.noreply.github.com>

* Fix EIS inputs order

Co-Authored-By: Pierfrancesco Ombrini <91598680+ombrini@users.noreply.github.com>

* Update CHANGELOG.md

Co-Authored-By: Pierfrancesco Ombrini <91598680+ombrini@users.noreply.github.com>

* Update test_cost.py

* Add test

---------

Co-authored-by: Pierfrancesco Ombrini <91598680+ombrini@users.noreply.github.com>
* Evaluate all time points by default

* Make removing voltage events optional

* Add default variables property

* Update CHANGELOG.md

* Update test_grouped_models.py
* Add get time in hours

* Update shift ocv and add downsample

* Update 0_plot_data.py

* Update 1_create_parameters.py

* Update 2_electrode_ocps.py

* Update 3_cell_balancing.py

* Update 4_thermal_response.py

* Update 5_fit_resistances.py

* Update 5b_charge_transfer.py

* Test pipeline in draft mode

* Update CHANGELOG.md

* Update test tolerances

* Add capacity column to EIS data

* Update 4_thermal_response.py
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.16.10 → v0.17.3](astral-sh/ruff-pre-commit@v0.16.10...v0.17.3)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Use default plotting backend

* Use protocol instead of t_eval

* Minor updates

* Update maximum_a_posteriori.ipynb

* Set matplotlib surface plot aspect as auto

* Refresh notebooks
@codecov

codecov Bot commented Nov 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.32522% with 80 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.32%. Comparing base (6b30ff5) to head (fc0c6eb).

Files with missing lines Patch % Lines
pybop/pybamm/synthetic_utils.py 93.12% 18 Missing ⚠️
pybop/parameters/distributions.py 88.88% 16 Missing ⚠️
pybop/parameters/multivariate_distributions.py 87.95% 10 Missing ⚠️
pybop/optimisers/ep_bolfi_optimiser.py 80.64% 6 Missing ⚠️
pybop/samplers/base_sampler.py 70.58% 5 Missing ⚠️
pybop/applications/utils.py 95.91% 4 Missing ⚠️
pybop/parameters/parameter.py 94.73% 4 Missing ⚠️
pybop/simulators/failed_solution.py 62.50% 3 Missing ⚠️
pybop/applications/gitt_methods.py 0.00% 2 Missing ⚠️
pybop/models/li_half_cell/base_model.py 94.11% 2 Missing ⚠️
... and 9 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1002      +/-   ##
==========================================
+ Coverage   92.84%   93.32%   +0.47%     
==========================================
  Files          73       84      +11     
  Lines        5674     6842    +1168     
==========================================
+ Hits         5268     6385    +1117     
- Misses        406      457      +51     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@brosaplanella brosaplanella left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

@NicolaCourtier
NicolaCourtier merged commit cac784a into main Nov 3, 2026
70 of 72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants