Skip to content

Fix coverage #552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 9, 2025
Merged

Fix coverage #552

merged 1 commit into from
Mar 9, 2025

Conversation

till-m
Copy link
Member

@till-m till-m commented Mar 9, 2025

technically a draft PR, but I need the CI to run to see if it works now.

Copy link

codecov bot commented Mar 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.04%. Comparing base (aed6a25) to head (9b28d33).
Report is 20 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #552      +/-   ##
==========================================
- Coverage   96.19%   96.04%   -0.15%     
==========================================
  Files          10       12       +2     
  Lines         867     1139     +272     
==========================================
+ Hits          834     1094     +260     
- Misses         33       45      +12     

☔ 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.

@till-m till-m merged commit 26ee72a into bayesian-optimization:master Mar 9, 2025
14 checks passed
@till-m till-m mentioned this pull request Mar 9, 2025
adrianmolzon pushed a commit to adrianmolzon/BayesianOptimization that referenced this pull request Mar 9, 2025
till-m added a commit that referenced this pull request Mar 17, 2025
* Add functionality to save and load state of the BayesianOptimization

* Update basic-tour with new save and load functionality

* move load stateful path to optional argument in class instantiation

* add test for string params, update tests with new load functionality

* updated basic tour with updated paths

* add the random state to the set of things to list of saved items

* move state loading to separate function, add functionality for saving acquisition function state

* use new loading schema

* update tests, add integration tests for saving and loading acquisition functions

* undo abstractmethod implementation for get and set state saving functionality

* reorganize state saving and loading for consistency

* move integration tests into acquisition

* remove unndecessary test, add tests for domain reduction and custom parameters

* make test more comprehensive

* add test logs

* sync execution counts from basic tour

* linting, whitespace removal, import structuring

* ruff fix for string literal in error message

* fix ruff complaints

* make all side param comparisons almost equal to account for slight numpy differences

* reformat array comparison check

* upgrade poetry2.0 & apply pep621 (#545)

* chore: upgrade poetry2.0 & apply pep621

* fix: replace poetry action(not support 2.0)

* fix: exclude one matrix

* chore: split numpy deps

* fix: numpy constraints

* fix: install root

* chore: use install-poetry

* Fix coverage report (#552)

* remove unnecessary files, have acquisition baseclass functions raise errors

* remove duplicate acquisition functions random state

* ruff format

* add  type hints for base acquisition get/set functions

* remove noreturn

* remove former saving functionality from notebooks

* increase legibility of custom acquisition example

* explicitly stating the optionality of the saving and loading in custom acq functions

---------

Co-authored-by: phi-friday <phi.friday@gmail.com>
Co-authored-by: till-m <36440677+till-m@users.noreply.github.com>
@till-m till-m deleted the fix-coverage branch May 21, 2025 09:58
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.

1 participant