Skip to content

Comments

save result#873

Draft
SarahRo wants to merge 2 commits intodevelopfrom
save-result
Draft

save result#873
SarahRo wants to merge 2 commits intodevelopfrom
save-result

Conversation

@SarahRo
Copy link
Contributor

@SarahRo SarahRo commented Jan 30, 2026

Description

Add save and save_data functions to pybop.result.

Fixes #866

Type of change

Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #).

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

@codecov
Copy link

codecov bot commented Jan 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.97%. Comparing base (4628a65) to head (44e9a36).
⚠️ Report is 17 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #873      +/-   ##
===========================================
+ Coverage    89.41%   90.97%   +1.56%     
===========================================
  Files           63       67       +4     
  Lines         4857     5343     +486     
===========================================
+ Hits          4343     4861     +518     
+ Misses         514      482      -32     

☔ View full report in Codecov by Sentry.
📢 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.

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.

Add save functionality to a Result

1 participant