Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions schema/aind_behavior_vr_foraging.json
Original file line number Diff line number Diff line change
Expand Up @@ -3280,6 +3280,20 @@
"minimum": 0,
"title": "Grace Distance Threshold",
"type": "number"
},
"abort_velocity_threshold": {
"default": null,
"description": "Velocity (cm/s) above which an in-progress operant choice is aborted. This is an ADDITIONAL abort source: the choice aborts if velocity exceeds this OR displacement exceeds grace_distance_threshold OR the animal leaves the reward site. None disables only the velocity source (grace + leave-site still apply). Interaction with the stop threshold: this is evaluated on the SAME filtered velocity signal as stop detection, which locks a choice when velocity falls BELOW StopVelocityThreshold (UpdaterTarget.STOP_VELOCITY_THRESHOLD, seeded from the position-control velocity_threshold and shaped within/across sessions). The two gates partition the same velocity axis in opposite directions, so this value must be >= the operative StopVelocityThreshold: if it is lower, the band (abort_velocity_threshold, StopVelocityThreshold) lets the animal lock a stop while already too fast to hold it, forfeiting every such choice. Because StopVelocityThreshold is dynamic (e.g. shaped 60 -> 8 cm/s by a GAIN updater) whereas this is a fixed absolute, only enable the velocity abort on stages where the stop threshold is already floored below it (e.g. a static stop threshold of 8 with this set to 15); never pair a low fixed abort with an actively-shaped, still-high stop threshold.",
"oneOf": [
{
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"title": "Abort Velocity Threshold"
}
},
"title": "OperantLogic",
Expand Down
24 changes: 16 additions & 8 deletions schema/depletion.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Scalar",
Expand Down Expand Up @@ -402,7 +403,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -745,7 +747,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -1051,7 +1054,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -1263,7 +1267,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -1553,7 +1558,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -1765,7 +1771,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -1977,7 +1984,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down
24 changes: 16 additions & 8 deletions schema/depletion_stops_offset.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Scalar",
Expand Down Expand Up @@ -402,7 +403,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -745,7 +747,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -1051,7 +1054,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -1263,7 +1267,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -1553,7 +1558,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -1765,7 +1771,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -1977,7 +1984,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down
24 changes: 16 additions & 8 deletions schema/depletion_stops_rate.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Scalar",
Expand Down Expand Up @@ -402,7 +403,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -745,7 +747,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -1051,7 +1054,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -1263,7 +1267,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -1553,7 +1558,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -1765,7 +1771,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down Expand Up @@ -1977,7 +1984,8 @@
"scaling_parameters": null
},
"time_to_collect_reward": 100000.0,
"grace_distance_threshold": 10.0
"grace_distance_threshold": 10.0,
"abort_velocity_threshold": null
},
"delay": {
"family": "Normal",
Expand Down
Loading
Loading