code: def test_time_profiler_correctly():
      """
      Profilers requirements are needed
      """
      profiler = TimeProfiler()
      full_path_train, full_path_test = get_scoring_data()
      run_credit_scoring_problem(
          full_path_train, full_path_test, timeout=2, pop_size=5
      )
      path = os.path.abspath("time_profiler")
      profiler.profile(
          path=path, node_percent=0.5, edge_percent=0.1, open_web=False
      )
  
      assert os.path.exists(path)
  
file_path: FEDOT/test/integration/test_profiler.py
imports: import os
  import shutil
  import pytest
  from golem.utilities.profiler.memory_profiler import MemoryProfiler
  from golem.utilities.profiler.time_profiler import TimeProfiler
  from cases.credit_scoring.credit_scoring_problem import get_scoring_data, run_credit_scoring_problem
label_desc: Use image node_id 3 for calling a global function with example usage: test_time_profiler_correctly() without return types