Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* • IntegratorMechanism (#742) - added input_states and output_states to init and assign_args_to_params_dicts • LinearMatrix - keyword: fixed bug in which assignment of rows or cols could not handle scalars * Fix/function/stability (#743) * • IntegratorMechanism - added input_states and output_states to init and assign_args_to_params_dicts • LinearMatrix - keyword: fixed bug in which assignment of rows or cols could not handle scalars * • Function Stability: - function: add PROB_INDICATOR option that assigns a value of 1 to the probabilistically chosen option - _validate_params: moved call to super() to end to allow matrix param to be evaluated before continuing validation * Refactor/context/structured (#744) * - * - * - * - * - * - * - * - * - * - * - * - * - * - * • Log LogCondition - subset of ContextFlags used to specified logPref • Context ContextFlags - implemented as common set of context flags for: - initialization - execution tracking - logging ContextStatus - aliases to ContextFlags (for backward compatibility) * • Log LogCondition - subset of ContextFlags used to specified logPref • Context ContextFlags - implemented as common set of context flags for: - initialization - execution tracking - logging ContextStatus - aliases to ContextFlags (for backward compatibility) * • Log LogCondition - subset of ContextFlags used to specified logPref • Context ContextFlags - implemented as common set of context flags for: - initialization - execution tracking - logging ContextStatus - aliases to ContextFlags (for backward compatibility) * - * - * - * - * - * • Context context.status replaced with specific field assignments (.initialization_phase, .execution_phase, and .source) * • Context context.status replaced with specific field assignments (.initialization_phase, .execution_phase, and .source) * • Context context.status replaced with specific field assignments (.initialization_phase, .execution_phase, and .source) * - * - * • Context context.status replaced with specific field assignments (.initialization_phase, .execution_phase, and .source) * - * - * - * - * - * • Context context.status replaced with specific field assignments (.initialization_phase, .execution_phase, and .source) * Refactor/context/deprecate init status (#745) * - * - * - * - * - * - * - * - * - * - * - * - * - * - * • Log LogCondition - subset of ContextFlags used to specified logPref • Context ContextFlags - implemented as common set of context flags for: - initialization - execution tracking - logging ContextStatus - aliases to ContextFlags (for backward compatibility) * • Log LogCondition - subset of ContextFlags used to specified logPref • Context ContextFlags - implemented as common set of context flags for: - initialization - execution tracking - logging ContextStatus - aliases to ContextFlags (for backward compatibility) * • Log LogCondition - subset of ContextFlags used to specified logPref • Context ContextFlags - implemented as common set of context flags for: - initialization - execution tracking - logging ContextStatus - aliases to ContextFlags (for backward compatibility) * - * - * - * - * - * • Context context.status replaced with specific field assignments (.initialization_phase, .execution_phase, and .source) * • Context context.status replaced with specific field assignments (.initialization_phase, .execution_phase, and .source) * • Context context.status replaced with specific field assignments (.initialization_phase, .execution_phase, and .source) * - * - * • Context context.status replaced with specific field assignments (.initialization_phase, .execution_phase, and .source) * - * - * - * - * - * - * Merge branches 'devel' and 'refactor/context/structured' of https://github.com/PrincetonUniversity/PsyNeuLink into refactor/context/structured # Conflicts: # .idea/runConfigurations/Tests.xml # Scripts/McClure.py * Merge branches 'devel' and 'refactor/context/structured' of https://github.com/PrincetonUniversity/PsyNeuLink into refactor/context/structured # Conflicts: # .idea/runConfigurations/Tests.xml # Scripts/McClure.py * - * - * • Context - consolidated init_status into context.initialization_status * • Context - consolidated init_status into context.initialization_status * • Context - consolidated init_status into context.initialization_status * • Context (#746) - initialization_status.UNSET -> initialization_status.INITALIZING where appropriate - delete InitStatus class * test,function/LinearCombination: Rename second test function to prevent overwriting results Test names should indicate tested feature. Fixes: daebb62 ("Linear combination fix (#734)") Cherry-picked from devel-llvm: fdc686e * tests,function/LinearCombination: Add tests with absent parameters Cherry-picked from devel-llvm: 1dcca60 * Scheduling: fix bug where termination conditions persisted across calls to run * Feat/mechanism/input target label dicts (#751) * - * - * - * - * • Environment added _parse_input_labels() and _parse_target_labels() methods run(): modified to use _parse_input_labels and _parse_target_labels * • Environment added _parse_input_labels() and _parse_target_labels() methods run(): modified to use _parse_input_labels and _parse_target_labels * • Environment added _parse_input_labels() and _parse_target_labels() methods run(): modified to use _parse_input_labels and _parse_target_labels * - * - * - * - * - * • Mechanism added input_labels and output_labels propoerties added _get_state_value_labels() method * • Merged with devel * testing: correct pytest setup ovewrite, losing some settings * testing: Resolve leftover merge conflicts, fixes #747 * Feat/mechanism/input target lable dicts (#752) * - * - * - * - * • Environment added _parse_input_labels() and _parse_target_labels() methods run(): modified to use _parse_input_labels and _parse_target_labels * • Environment added _parse_input_labels() and _parse_target_labels() methods run(): modified to use _parse_input_labels and _parse_target_labels * • Environment added _parse_input_labels() and _parse_target_labels() methods run(): modified to use _parse_input_labels and _parse_target_labels * - * - * - * - * - * - * • Mechanism added input_labels and output_labels propoerties added _get_state_value_labels() method * • Merged with devel * • Environment _parse_input_labels(): added error messages * • Environment _parse_input_labels(): added error messages * • Environment Run: removed _parse_target_labels (they are just the input_labels for a TARGET Mechanism • Mechanism docstring revs for INPUT_LABELS_DICDT and OUTPUT_LABELS_DICT * • Environment Run: removed _parse_target_labels (they are just the input_labels for a TARGET Mechanism • Mechanism docstring revs for INPUT_LABELS_DICDT and OUTPUT_LABELS_DICT * - * - * - * - * - * • Component - _execute: added **kwargs argument, passed to call to function to accomodate LearningMechanism that uses this • AutoassociativeLearningMechanism - _execute calls super(LearningMechanism, self) to skip Learning • LearningMechanism: _ execute calls super()._execute with **kwargs * • Component - _execute: added **kwargs argument, passed to call to function to accomodate LearningMechanism that uses this • AutoassociativeLearningMechanism - _execute calls super(LearningMechanism, self) to skip Learning • LearningMechanism: _ execute calls super()._execute with **kwargs • PrecictionMechanism: _execute calls super()._execute * • Component - _execute: added **kwargs argument, passed to call to function to accomodate LearningMechanism and EVCControlMechanism, the functions for which expect additional arguments • AutoassociativeLearningMechanism - _execute calls super(LearningMechanism, self) to skip Learning • LearningMechanism: _ execute calls super()._execute with **kwargs • PrecictionMechanism: _execute calls super()._execute * • Component - _execute: added **kwargs argument, passed to call to function to accomodate LearningMechanism and EVCControlMechanism, the functions for which expect additional arguments • AutoassociativeLearningMechanism - _execute calls super(LearningMechanism, self) to skip Learning • LearningMechanism: _ execute calls super()._execute with **kwargs • PrecictionMechanism: _execute calls super()._execute
- Loading branch information