code: def test_get_ids_by(params, expected):
      assert get_ids_by(leaderboard_path=path_lb_0, **params) == [
          f"id_{_}" for _ in expected
      ]
  
file_path: hyperparameter_hunter/tests/test_utils/test_optimization_utils.py
imports: from hyperparameter_hunter import Real, Categorical, Integer
  from hyperparameter_hunter.space.space_core import Space
  from hyperparameter_hunter.utils.optimization_utils import does_fit_in_space, filter_by_space, get_choice_dimensions, get_ids_by
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_ids_by(params, expected) without return types