def METHOD_NAME():
    # Check that optimizer generates same actions
    _, _, compression_ctrl_1 = get_model_and_controller_for_legr_test()
    evo_optimizer_1 = compression_ctrl_1.legr.agent
    _, _, compression_ctrl_2 = get_model_and_controller_for_legr_test()
    evo_optimizer_2 = compression_ctrl_2.legr.agent
    assert compression_ctrl_1.ranking_coeffs == compression_ctrl_2.ranking_coeffs
    assert evo_optimizer_1.population == evo_optimizer_2.population
    cur_episode = evo_optimizer_1.cur_episode
    assert cur_episode == evo_optimizer_2.cur_episode
    for _ in range(10):
        cur_episode += 1
        assert evo_optimizer_1.ask(cur_episode) == evo_optimizer_2.ask(cur_episode)