code: def test_get_configs_per_budget(
      scenario, runhistory, config1, config2, config3
  ):
      runhistory.multi_objective_algorithm = MeanAggregationStrategy(
          scenario
      )
      runhistory.add(
          config=config1,
          cost=[10, 20],
          time=10,
          status=StatusType.SUCCESS,
          instance=1,
          seed=1,
          budget=1,
      )
  
      runhistory.add(
          config=config2,
          cost=[20, 30],
          time=20,
          status=StatusType.SUCCESS,
          instance=1,
          seed=1,
          budget=1,
      )
  
      runhistory.add(
          config=config3,
          cost=[30, 40],
          time=30,
          status=StatusType.SUCCESS,
          instance=1,
          seed=1,
          budget=3,
      )
  
      configs = runhistory.get_configs_per_budget([1])
      assert configs == [config1, config2]
  
imports: import pickle
  import tempfile
  import pytest
  from smac.multi_objective.aggregation_strategy import MeanAggregationStrategy
  from smac.runner.abstract_runner import StatusType
  from smac.scenario import Scenario
label_desc: Use image node_id 12 for calling a global function with example usage: test_get_configs_per_budget(scenario, runhistory, config1, config2, config3) without return types