Repository navigation
Minor Changes
- #3741
c0da89493d819abe2120c8a1340b1a4048b11247Thanks @jodeleeuw! - Add thejsPsych.adaptivemodule withcreateStaircase()andcreateInterleaved()for adaptive staircase procedures (n-up/m-down rules, unequal and shrinking step sizes, bounds, stopping rules including discontinue and ceiling rules for span tasks, and interleaved tracks that use the seeded random number generator). Procedures share a commonAdaptiveProcedureinterface, so later procedures (such as QUEST) can be added and interleaved with staircases without changing the existing API.
Patch Changes
-
#3730
4a94750ace33e619f65564f0957ae3986fdca939Thanks @SohamXYZDev! - Changes totrial.datamade inon_startare now saved in the trial's data (#3727). This also changes when functions in a trial'sdataparameter are evaluated: they are now called right before the trial starts, like other dynamic parameters, soon_startsees their values. Before, they were called after the trial ended, when the data was saved. Values that depend on the response should be added inon_finish. -
#3722
f764a2b5117528d7d2b211edba48b7dd59a0e7e5Thanks @rmz-oz! -save_trial_parametersnow works with the parameters that are available in all plugins, such ascss_classesandpost_trial_gap. Before, they were ignored with a "Non-existent parameter" warning and their values were not saved to the data.Functions passed to these parameters are now called when the trial starts, before
on_start, soon_startand the plugin see their values. Before, they were called when the parameter was used; for example, a function passed topost_trial_gapwas called after the trial ended.