Skip to content

Evaluator overhaul#415

Merged
quaquel merged 15 commits intomasterfrom
evaluators
Sep 15, 2025
Merged

Evaluator overhaul#415
quaquel merged 15 commits intomasterfrom
evaluators

Conversation

@quaquel
Copy link
Copy Markdown
Owner

@quaquel quaquel commented Sep 12, 2025

This PR is the initial step for a wider overhaul of all evaluators. This PR mainly cleans up and updates the current code in line with developments in the wider python ecosystem.

  • Cleanly seperate BaseEvaluator.perform_experiments and BaseEvaluator.evaluate_experiments in line with the idea in Custom combinations of sampling schemes #411. So the later takes only an iterable of experiments and the callback.
  • proper use of ABC stuff for BaseEvaluator
  • Rewrite ad adding of tests for evaluators.py
  • Adding of type hints and ruff fixes
  • handling of rng for optimization

@coveralls
Copy link
Copy Markdown

coveralls commented Sep 12, 2025

Coverage Status

coverage: 86.448% (+1.1%) from 85.357%
when pulling 780dd07 on evaluators
into 3eb3566 on master.

@quaquel quaquel merged commit 6323372 into master Sep 15, 2025
22 of 24 checks passed
@quaquel quaquel deleted the evaluators branch September 15, 2025 11:58
@quaquel quaquel linked an issue Sep 15, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

seed control for optimization

2 participants