Skip to content

fix: report metrics without optional firing-count metadata - #193

Merged
SrGonao merged 1 commit into
mainfrom
integrate/optional-firing-counts
Nov 2, 2026
Merged

SrGonao merged 1 commit into
mainfrom
integrate/optional-firing-counts

Conversation

@SrGonao

@SrGonao SrGonao commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Port the still-useful missing-counts safeguard from the experimental tweak-analysis branch onto the current result-analysis implementation. Other pieces of that branch (per-latent F1 and scorer filtering) are already in main, so merging its historical version wholesale would regress newer work.

When firing-count metadata is unavailable, skip firing-rate plots and count-derived statistics, but still report classification metrics. Avoid formatting an unavailable weighted F1 as a float. Return early for empty score data before grouping or plotting.

Validation: six result-analysis tests pass, including missing-count and empty-data logging regressions. Ruff and whitespace checks pass. No model inference or plot rendering is needed for these tests.

@SrGonao
SrGonao merged commit 4059d15 into main Nov 2, 2026
4 checks passed
@SrGonao
SrGonao deleted the integrate/optional-firing-counts branch November 2, 2026 13:05
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