Skip to content

BF: Better handle when stimulus stop validation fails#7485

Merged
TEParsons merged 2 commits intopsychopy:releasefrom
TEParsons:release-bf-validator-stop-warning
Nov 27, 2025
Merged

BF: Better handle when stimulus stop validation fails#7485
TEParsons merged 2 commits intopsychopy:releasefrom
TEParsons:release-bf-validator-stop-warning

Conversation

@TEParsons
Copy link
Copy Markdown
Contributor

When a stimulus ends on the final frame of a Routine, its stop time can't be validated as there's no frame after display has ended on which to query the validation device. This PR handles this more cleanly by:

  • Resetting the validator's status so the data file gets None rather than a confusing negative value (as validation is attempted on the next repeat)
  • Adding an alert explaining the situation when a validated Component has the same end time as its Routine

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 27, 2025

Codecov Report

❌ Patch coverage is 32.25806% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.00%. Comparing base (2074a50) to head (17023f6).
⚠️ Report is 20 commits behind head on release.

Additional details and impacted files
@@             Coverage Diff             @@
##           release    #7485      +/-   ##
===========================================
- Coverage    49.01%   49.00%   -0.01%     
===========================================
  Files          352      352              
  Lines        64552    64583      +31     
===========================================
+ Hits         31638    31649      +11     
- Misses       32914    32934      +20     
Components Coverage Δ
app ∅ <ø> (∅)
boilerplate ∅ <ø> (∅)
library ∅ <ø> (∅)
vm-safe library ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@TEParsons TEParsons merged commit 4d19a9b into psychopy:release Nov 27, 2025
3 checks passed
@TEParsons TEParsons deleted the release-bf-validator-stop-warning branch March 25, 2026 15:54
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