STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_robust_ddp_dynamics.TestPolytropicReferenceStateIsPerConfig Class Reference
Inheritance diagram for test_robust_ddp_dynamics.TestPolytropicReferenceStateIsPerConfig:
[legend]
Collaboration diagram for test_robust_ddp_dynamics.TestPolytropicReferenceStateIsPerConfig:
[legend]

Public Member Functions

 test_reference_state_does_not_leak_between_params_objects (self)
 test_no_reference_state_is_stored_on_the_step_function (self)

Static Protected Member Functions

 _params (**over)

Detailed Description

The polytropic reference state must not leak between configs.

It used to live on the `step` FUNCTION object, so the first trajectory ever stepped in a
process set the reference temperatures/masses/volumes for every later one, across configs.
An optimizer evaluating thousands of candidates -- the Layer X access pattern in
docs/adr/0001 -- would hand candidates 2..N the reference state of candidate 1.

Definition at line 259 of file test_robust_ddp_dynamics.py.

Member Function Documentation

◆ _params()

test_robust_ddp_dynamics.TestPolytropicReferenceStateIsPerConfig._params ( ** over)
staticprotected

◆ test_no_reference_state_is_stored_on_the_step_function()

test_robust_ddp_dynamics.TestPolytropicReferenceStateIsPerConfig.test_no_reference_state_is_stored_on_the_step_function ( self)

Definition at line 285 of file test_robust_ddp_dynamics.py.

◆ test_reference_state_does_not_leak_between_params_objects()

test_robust_ddp_dynamics.TestPolytropicReferenceStateIsPerConfig.test_reference_state_does_not_leak_between_params_objects ( self)

Definition at line 277 of file test_robust_ddp_dynamics.py.

References _params().


The documentation for this class was generated from the following file: