-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/ocm/state features for nested comps #2329
Conversation
…rincetonUniversity/PsyNeuLink into refactor/ocm/state_input_ports � Conflicts: � psyneulink/core/components/mechanisms/modulatory/control/optimizationcontrolmechanism.py
- _gen_llvm_evaluate_function: num_estimates -> num_trials_per_estimate
…Link into refactor/ocm/state_input_ports
…ut_ports # Conflicts: # psyneulink/core/components/mechanisms/modulatory/control/optimizationcontrolmechanism.py
- __init__: moved controller instantiation until after nodes, projections and pathways
- __init__: restored add_controller position
…teger Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
…ut_ports # Conflicts: # psyneulink/core/llvm/builder_context.py
…Link into refactor/ocm/state_input_ports
- _update_controller: added - add_controller and _analyze_graph(): call _update_controller
_update_controller: fixed to loop through all input_ports of comp INPUT nodes
- test_agent_rep_assignement_as_controller_and_replacement: updated to test that shadowing projections to state_input_ports are properly added and deleted
…Link into refactor/ocm/state_input_ports � Conflicts: � tests/composition/test_control.py
- _function: refactored to put use aggregation_function at end - _grid_evaluate: still needs to return all_samples
…rincetonUniversity/PsyNeuLink into refactor/ocm/state_input_ports � Conflicts: � psyneulink/core/components/mechanisms/modulatory/control/optimizationcontrolmechanism.py
- added call to _update_controller to add_node - moved test for projections to controller.state_input_ports to run()
…Link into refactor/ocm/state_input_ports
moved calls to _update_controller to _complete_init_of_partially_initialized_nodes moved _update_controller to ocm._update_state_input_ports • optimizationcontrolmechanism.py: added _update_state_input_ports [**still needed work**]
moved calls to _update_controller to _complete_init_of_partially_initialized_nodes moved _update_controller to ocm._update_state_input_ports _instantiate_controller_shadow_projections [still needs to be implemented] • optimizationcontrolmechanism.py: added _update_state_input_ports [**still needed work**]
…rincetonUniversity/PsyNeuLink into refactor/ocm/state_input_ports
added needs_update_controller
- add test_no_path_afferents() - add test_no_efferents()
- clean-up of state features for CFA agent_rep
- BEFORE ADDITIONAL MODIFICATION OF HANDLING OF DEFERRED INITS
MODIFICATION OF HANDLING OF DEFERRED INITS: - _update_state_feature_dicts() - state_features
• optimizationcontrolmechanism.py: - state_features: enforce that all keys are mechanisms, including ones in nest comps
• optimizationcontrolmechanism.py: update docstring
…Link into fix/ocm/state_features_for_nested_comps
This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):
See CI logs for the full diff. |
1 similar comment
This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):
See CI logs for the full diff. |
This pull request introduces 3 alerts when merging 1a1ecec into 31c15ce - view on LGTM.com new alerts:
|
…hub.com/PrincetonUniversity/PsyNeuLink into fix/ocm/state_features_for_nested_comps
This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):
See CI logs for the full diff. |
This pull request introduces 1 alert when merging b67f617 into 31c15ce - view on LGTM.com new alerts:
|
• optimizationcontrolmechanism.py: