Skip to content

Restore benchmark metric registry after property tests - #1550

Merged
SkBlaz merged 1 commit into
masterfrom
fix/joss-benchmark-registry-test-isolation
Oct 8, 2026
Merged

SkBlaz merged 1 commit into
masterfrom
fix/joss-benchmark-registry-test-isolation

Conversation

@SkBlaz

@SkBlaz SkBlaz commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner

Benchmark property tests clear the shared metric registry without restoring it. Running them before benchmark regressions removes built-in metrics and causes six later tests to return NaN modularity.

Snapshot and restore the registry around each property test, including failure paths.

Validation: the combined run has 6 failures on the base revision; all 58 property, benchmark, and DSL tests pass with the fixture.

CI caveat: existing workflows suppress pytest failures; the focused validation above was run directly.

@SkBlaz
SkBlaz merged commit 560b9fb into master Oct 8, 2026
39 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