Skip to content

feat(multitask): default tensorboard_clean=True when TensorBoard logging is enabled#199

Merged
bartzbeielstein merged 2 commits into
developfrom
feat/tensorboard-clean-default
Jun 7, 2026
Merged

feat(multitask): default tensorboard_clean=True when TensorBoard logging is enabled#199
bartzbeielstein merged 2 commits into
developfrom
feat/tensorboard-clean-default

Conversation

@bartzbeielstein
Copy link
Copy Markdown
Collaborator

Fresh dashboard per run: when the config enables tensorboard_log and carries no explicit tensorboard_clean, SpotOptimStrategy now forwards tensorboard_clean=True, so the configured log directory is wiped at search start and TensorBoard shows only the current run.

  • An explicit cfg.tensorboard_clean = False still wins; the default is never injected when logging is off.
  • Requires spotoptim>=0.12.9, where tensorboard_clean targets the configured tensorboard_path itself (before 0.12.9 it wiped an unrelated hardcoded runs/ dir in the CWD — see fix(utils): clean the configured tensorboard_path, not only the runs/ dir spotoptim#90).
  • Multi-task pipelines sharing one log directory should opt out or use per-task paths (documented in the docstring and spotoptim_intro.qmd).

Verification: full suite 1168 passed, ruff clean, quartodoc build + interlinks OK, full quarto render --no-cache 42/42 OK; strategy + search tests re-run green against the released spotoptim 0.12.9.

🤖 Generated with Claude Code

bartzbeielstein and others added 2 commits June 7, 2026 18:02
…ing is enabled

When the config enables tensorboard_log and carries no explicit
tensorboard_clean, SpotOptimStrategy now forwards tensorboard_clean=True
so every search starts with a fresh dashboard (spotoptim >= 0.12.9 wipes
the configured tensorboard_path itself). An explicit
cfg.tensorboard_clean = False still wins, and the default is never
injected when logging is off. Multi-task pipelines sharing one log
directory should opt out or use per-task paths (documented).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Also refreshes the locked self-version after the 5.1.1 release.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bartzbeielstein bartzbeielstein merged commit 8c4869d into develop Jun 7, 2026
11 of 12 checks passed
@bartzbeielstein bartzbeielstein deleted the feat/tensorboard-clean-default branch June 7, 2026 16:17
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@bartzbeielstein
Copy link
Copy Markdown
Collaborator Author

🎉 This PR is included in version 5.2.0-rc.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@bartzbeielstein
Copy link
Copy Markdown
Collaborator Author

🎉 This PR is included in version 5.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

1 participant