Skip to content

BF: Fix timing issue when a non-slip Routine was force ended in JS#7110

Merged
TEParsons merged 1 commit intopsychopy:devfrom
TEParsons:dev-bf-nonslip-online
Feb 17, 2025
Merged

BF: Fix timing issue when a non-slip Routine was force ended in JS#7110
TEParsons merged 1 commit intopsychopy:devfrom
TEParsons:dev-bf-nonslip-online

Conversation

@TEParsons
Copy link
Copy Markdown
Contributor

Because PsychoJS doesn't know the difference between a Routine being force ended and a Routine ending because all its Components finished, it was possible to mess up timings by force ending a Routine which Builder identified as nonslip (as at Routine end it would subtract the total time, even though the total time hadn't passed). Solution is to keep track of when a Routine is force ended, and if it has do a reset instead.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.89%. Comparing base (08d4f36) to head (0854290).
Report is 12 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #7110   +/-   ##
=======================================
  Coverage   49.89%   49.89%           
=======================================
  Files         346      346           
  Lines       64012    64012           
=======================================
  Hits        31936    31936           
  Misses      32076    32076           
Components Coverage Δ
app ∅ <ø> (∅)
boilerplate ∅ <ø> (∅)
library ∅ <ø> (∅)
vm-safe library ∅ <ø> (∅)

@TEParsons TEParsons merged commit 09c1d15 into psychopy:dev Feb 17, 2025
7 checks passed
@TEParsons TEParsons deleted the dev-bf-nonslip-online branch May 21, 2025 18:02
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