Skip to content

Regenerate the reducer test fixture with asv 0.6.6 - #208

Merged
CodyCBakerPhD merged 3 commits into
add_time_slicing_benchmarkfrom
claude/tender-mayer-iewgnt
Oct 7, 2026
Merged

CodyCBakerPhD merged 3 commits into
add_time_slicing_benchmarkfrom
claude/tender-mayer-iewgnt

Conversation

@CodyCBakerPhD

Copy link
Copy Markdown
Collaborator

Follow-up to #203 (targets its branch). The raw results fixture behind tests/test_reduce_results.py was written with asv 0.6.1. Main now pins asv 0.6.6 and asv-runner 0.3.1 (#205), so this PR regenerates the fixture with those versions.

Changes

  • Merges main into the branch. It merges cleanly and brings in the Upgrade pinned dependencies to Python 3.14 #205 pins, so the tests in this PR run against the asv version that wrote the fixture.
  • Regenerates the fixture. It comes from the same toy suite as before: Incremental (B raises), Network, Timed (--bench selects only parameter set A) and Unwrapped. The suite was run with asv run --python=same --record-samples and trimmed to the keys the reducer reads, with the same fixed commit hash.
  • Renames the fixture tests/data/asv_0.6.1_raw_results.json → asv_0.6.6_raw_results.json, and updates the path and comment in the test.

What changed in the fixture

The structure is the same as under 0.6.1: same result_columns, same row lengths (12 for the wrapped benchmarks, 5 for Unwrapped), NaN result for the unselected Timed B, null samples for the failed Incremental B, and the same true results for the wrapped track_ benchmarks. Only the Timed timing, the benchmark version hashes, started_at and duration differ.

No version bump: nothing under src/nwb_benchmarks/ changes.

Testing

  • python -m pytest tests: 40 passed, none skipped (polars and seaborn installed, so the database-reader test ran).
  • pre-commit run on the changed files passes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01At337MLAynHQXz3TZBF3Vv


Generated by Claude Code

claude added 2 commits October 7, 2026 15:45
The raw results fixture for `test_reduce_results.py` was written with
asv 0.6.1. The environment now pins asv 0.6.6 and asv-runner 0.3.1, so
regenerate it with those versions from the same toy suite (Incremental,
Network, Timed and Unwrapped benchmarks, run with `--python=same
--record-samples` and a `--bench` pattern selecting only parameter set A
of `Timed`), trimmed to the keys the reducer reads, with the same fixed
commit hash.

The structure is unchanged from 0.6.1: the same result columns, row
lengths, NaN result for the unselected parameter set and `null` samples
for the failed one. Only the timing, the benchmark version hashes,
`started_at` and `duration` differ.

Rename the file to `asv_0.6.6_raw_results.json` to match and update the
test comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01At337MLAynHQXz3TZBF3Vv
@CodyCBakerPhD CodyCBakerPhD self-assigned this Oct 7, 2026
@CodyCBakerPhD
CodyCBakerPhD marked this pull request as ready for review October 7, 2026 15:49
@CodyCBakerPhD

Copy link
Copy Markdown
Collaborator Author

OK, phew, looks like nothing changed

@CodyCBakerPhD
CodyCBakerPhD merged commit 952da08 into add_time_slicing_benchmark Oct 7, 2026
1 of 2 checks passed
@CodyCBakerPhD
CodyCBakerPhD deleted the claude/tender-mayer-iewgnt branch October 7, 2026 15:50
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.

2 participants