Skip to content

fix: flush tracker on eval and exception#182

Merged
HennerM merged 1 commit into
mainfrom
fix/eval-tracker-flush
Apr 27, 2026
Merged

fix: flush tracker on eval and exception#182
HennerM merged 1 commit into
mainfrom
fix/eval-tracker-flush

Conversation

@HennerM
Copy link
Copy Markdown
Collaborator

@HennerM HennerM commented Apr 24, 2026

We weren't calling tracker.flush in the eval path. This was missed because it was part of call_after_training. We always want to call flush before finish, thus we can make log_writer a context manager that calls finish on exit and inside finish we now call flush.

Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 24, 2026

Coverage

Tests Skipped Failures Errors Time
1311 24 💤 0 ❌ 0 🔥 29.163s ⏱️

Copy link
Copy Markdown
Member

@Ndles Ndles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

neat addition!

@HennerM HennerM force-pushed the fix/eval-tracker-flush branch from 4fcaa8d to a029d3b Compare April 27, 2026 13:10
@HennerM HennerM merged commit b5496f9 into main Apr 27, 2026
9 checks passed
@HennerM HennerM deleted the fix/eval-tracker-flush branch April 27, 2026 13:12
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants