Skip to content

capture_la: document and test the refusal of a rate that does not fit (firmware 3.10.0) - #65

Merged
wardviaene merged 1 commit into
mainfrom
la-rate-refusal-tests
Nov 8, 2026
Merged

wardviaene merged 1 commit into
mainfrom
la-rate-refusal-tests

Conversation

@wardviaene

Copy link
Copy Markdown
Member

Firmware 3.10.0 (embeddedci-com/benchpod-firmware, la-rate-refuse-explicit) refuses an explicit LA rate a capture cannot run at instead of slowing it down, with a message naming the most samples at that rate and the fastest rate for that depth.

  • test_la_reports_the_rate_it_achieved: the deep cases leave the rate out (the pod picks the fastest that fits and reports it); the reported rate is still checked against an FPGA-timed 50 kHz train.
  • New test_la_rate_that_does_not_fit_is_refused (skipped below firmware 3.10.0).
  • capture_la docstring says what happens.

Both pass on benchpod-30a9f1 with the 3.10.0 build (5 passed).

🤖 Generated with Claude Code

… (firmware 3.10.0)

Firmware 3.10.0 refuses an explicit LA rate a capture cannot run at instead of
slowing it down. The e2e rate test leaves the rate out for its deep cases (the
pod picks the fastest that fits and reports it), and a new test checks the
refusal names the limits (skipped on older firmware). The capture_la docstring
says what happens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wardviaene
wardviaene merged commit e5d5ab2 into main Nov 8, 2026
20 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