Skip to content

CI speed-ups, test coverage expansion, and correctness fixes#25

Merged
499602D2 merged 15 commits intomainfrom
fix/ci-speed-and-test-coverage
Apr 24, 2026
Merged

CI speed-ups, test coverage expansion, and correctness fixes#25
499602D2 merged 15 commits intomainfrom
fix/ci-speed-and-test-coverage

Conversation

@499602D2
Copy link
Copy Markdown
Owner

Summary

A round of independent improvements that accumulated on this branch:

  • CI speed: Docker image now built eagerly in pytest_configure (not mid-test), and pytest-xdist runs cleanly in parallel.
  • Test coverage: ~3000 lines of new tests across test_*_unit.py / test_*_extended.py for objectives, backend, search space, dictionary links, types, manager interfaces (Local/Slurm/Docker), session, config, and a deterministic-replay harness.
  • Data refactor: split into an ABC under flowboost/openfoam/data/ with pluggable Pandas/Polars backends.
  • Edge-case bugfixes: zero-value parsing, Entry.add recursion, session/manager persistence, case restore + foam parsing, dictionary/search-space edges, NaN/Inf rejection in objective outputs, offloaded_acquisition error message, type annotations across optimizer/manager/openfoam.
  • Determinism: torch seeded for reproducible Sobol + BoTorch trials in tests.
  • Bumped to v0.2.9.

A separate PR (refactor/scalarized-objective) builds on top of this branch with a public-API change (AggregateObjectiveScalarizedObjective, drop of the flowboost-side normalization layer); reviewing this one first keeps the diffs focused.

Test plan

  • uv run pytest -m "not slow" — full non-slow suite green
  • uv run ruff check — no new lint errors introduced by this branch
  • CI workflow passes on Python 3.10–3.14
  • Spot-check the new test_determinism.py actually exercises the close/reopen replay path

@499602D2 499602D2 merged commit 68dda8b into main Apr 24, 2026
6 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.

1 participant