You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/DataSchemas/aind_behavior_vr_foraging.json
+28-1Lines changed: 28 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5242,7 +5242,7 @@
5242
5242
"description": "The optional reward specification of the virtual site",
5243
5243
"oneOf": [
5244
5244
{
5245
-
"$ref": "#/$defs/RewardSpecification"
5245
+
"$ref": "#/$defs/VirtualSiteRewardSpecification"
5246
5246
},
5247
5247
{
5248
5248
"type": "null"
@@ -5328,6 +5328,33 @@
5328
5328
"title": "VirtualSiteLabels",
5329
5329
"type": "string"
5330
5330
},
5331
+
"VirtualSiteRewardSpecification": {
5332
+
"description": "THIS CLASS IS NOT MEANT TO BE DIRECTLY INSTANTIATED.\nSpecifies reward parameters and behavior for a virtual site.\n\nNote: This class is primarily used internally for runtime site generation\nand is not meant to be directly instantiated in task configuration DSL.",
5333
+
"properties": {
5334
+
"operant_logic": {
5335
+
"$ref": "#/$defs/OperantLogic",
5336
+
"description": "The optional operant logic of the reward"
5337
+
},
5338
+
"delay": {
5339
+
"$ref": "#/$defs/Distribution",
5340
+
"default": {
5341
+
"family": "Scalar",
5342
+
"distribution_parameters": {
5343
+
"family": "Scalar",
5344
+
"value": 0.0
5345
+
},
5346
+
"truncation_parameters": null,
5347
+
"scaling_parameters": null
5348
+
},
5349
+
"description": "The optional distribution where the delay to reward will be drawn from"
5350
+
}
5351
+
},
5352
+
"required": [
5353
+
"operant_logic"
5354
+
],
5355
+
"title": "VirtualSiteRewardSpecification",
5356
+
"type": "object"
5357
+
},
5331
5358
"VisualCorridor": {
5332
5359
"description": "Defines a visual corridor segment in the VR environment.\n\nVisual corridors are the basic building blocks of the VR environment,\ndefining spatial regions with specific textures, dimensions, and positions.",
0 commit comments