|
3 | 3 | "AindBehaviorSessionModel": { |
4 | 4 | "properties": { |
5 | 5 | "aind_behavior_services_pkg_version": { |
6 | | - "default": "0.12.2", |
| 6 | + "default": "0.12.3", |
7 | 7 | "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$", |
8 | 8 | "title": "aind_behavior_services package version", |
9 | 9 | "type": "string" |
10 | 10 | }, |
11 | 11 | "version": { |
12 | | - "const": "0.12.2", |
13 | | - "default": "0.12.2", |
| 12 | + "const": "0.12.3", |
| 13 | + "default": "0.12.3", |
14 | 14 | "title": "Version", |
15 | 15 | "type": "string" |
16 | 16 | }, |
|
353 | 353 | "AindVrForagingRig": { |
354 | 354 | "properties": { |
355 | 355 | "aind_behavior_services_pkg_version": { |
356 | | - "default": "0.12.2", |
| 356 | + "default": "0.12.3", |
357 | 357 | "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$", |
358 | 358 | "title": "aind_behavior_services package version", |
359 | 359 | "type": "string" |
|
611 | 611 | "title": "Rng Seed" |
612 | 612 | }, |
613 | 613 | "aind_behavior_services_pkg_version": { |
614 | | - "default": "0.12.2", |
| 614 | + "default": "0.12.3", |
615 | 615 | "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$", |
616 | 616 | "title": "aind_behavior_services package version", |
617 | 617 | "type": "string" |
|
917 | 917 | "type": "object" |
918 | 918 | }, |
919 | 919 | "BlockEndCondition": { |
920 | | - "discriminator": { |
921 | | - "mapping": { |
922 | | - "Choice": "#/$defs/BlockEndConditionChoice", |
923 | | - "Distance": "#/$defs/BlockEndConditionDistance", |
924 | | - "Duration": "#/$defs/BlockEndConditionDuration", |
925 | | - "PatchCount": "#/$defs/BlockEndConditionPatchCount", |
926 | | - "Reward": "#/$defs/BlockEndConditionReward" |
927 | | - }, |
928 | | - "propertyName": "condition_type" |
929 | | - }, |
930 | 920 | "oneOf": [ |
931 | 921 | { |
932 | 922 | "$ref": "#/$defs/BlockEndConditionDuration" |
|
3376 | 3366 | "type": "object" |
3377 | 3367 | }, |
3378 | 3368 | "PatchTerminator": { |
3379 | | - "discriminator": { |
3380 | | - "mapping": { |
3381 | | - "OnChoice": "#/$defs/PatchTerminatorOnChoice", |
3382 | | - "OnDistance": "#/$defs/PatchTerminatorOnDistance", |
3383 | | - "OnRejection": "#/$defs/PatchTerminatorOnRejection", |
3384 | | - "OnReward": "#/$defs/PatchTerminatorOnReward", |
3385 | | - "OnTime": "#/$defs/PatchTerminatorOnTime" |
3386 | | - }, |
3387 | | - "propertyName": "terminator_type" |
3388 | | - }, |
3389 | 3369 | "oneOf": [ |
3390 | 3370 | { |
3391 | 3371 | "$ref": "#/$defs/PatchTerminatorOnRejection" |
|
3945 | 3925 | "type": "object" |
3946 | 3926 | }, |
3947 | 3927 | "RewardFunction": { |
3948 | | - "discriminator": { |
3949 | | - "mapping": { |
3950 | | - "OnThisPatchEntryRewardFunction": "#/$defs/OnThisPatchEntryRewardFunction", |
3951 | | - "OutsideRewardFunction": "#/$defs/OutsideRewardFunction", |
3952 | | - "PatchRewardFunction": "#/$defs/PatchRewardFunction", |
3953 | | - "PersistentRewardFunction": "#/$defs/PersistentRewardFunction" |
3954 | | - }, |
3955 | | - "propertyName": "function_type" |
3956 | | - }, |
3957 | 3928 | "oneOf": [ |
3958 | 3929 | { |
3959 | 3930 | "$ref": "#/$defs/PatchRewardFunction" |
|
4997 | 4968 | "type": "object" |
4998 | 4969 | }, |
4999 | 4970 | "TruncationParameters": { |
5000 | | - "description": "Parameters for truncating a distribution to a specified range. Truncation should\nbe applied after sampling and scaling.\n\nUsed to constrain sampled values within minimum and maximum bounds.", |
| 4971 | + "description": "Parameters for truncating a distribution to a specified range. Truncation should\nbe applied after sampling and scaling.\n\nThe truncation_mode determines how out-of-bounds values are handled:\n- \"exclude\": Resample until a value within [min, max] is obtained.\nIf after a certain number of attempts no valid value is found, it\nwill use the average of sampled values and pick the closest bound.\n- \"clamp\": Clamp values to the nearest bound within [min, max].\nUsed to constrain sampled values within minimum and maximum bounds.", |
5001 | 4972 | "properties": { |
| 4973 | + "truncation_mode": { |
| 4974 | + "default": "exclude", |
| 4975 | + "description": "Mode of truncation to apply", |
| 4976 | + "enum": [ |
| 4977 | + "exclude", |
| 4978 | + "clamp" |
| 4979 | + ], |
| 4980 | + "title": "Truncation Mode", |
| 4981 | + "type": "string" |
| 4982 | + }, |
5002 | 4983 | "min": { |
5003 | 4984 | "default": 0, |
5004 | 4985 | "description": "Minimum value of the sampled distribution", |
|
5097 | 5078 | "type": "string" |
5098 | 5079 | }, |
5099 | 5080 | "VideoWriter": { |
5100 | | - "discriminator": { |
5101 | | - "mapping": { |
5102 | | - "FFMPEG": "#/$defs/VideoWriterFfmpeg", |
5103 | | - "OPENCV": "#/$defs/VideoWriterOpenCv" |
5104 | | - }, |
5105 | | - "propertyName": "video_writer_type" |
5106 | | - }, |
5107 | 5081 | "oneOf": [ |
5108 | 5082 | { |
5109 | 5083 | "$ref": "#/$defs/VideoWriterFfmpeg" |
|
0 commit comments