code: def test_many_returns():
      @ray.remote(num_returns=MAX_RETURNS)
      def f():
          to_return = []
          for _ in range(MAX_RETURNS):
              obj = list(range(10000))
              to_return.append(obj)
  
          return tuple(to_return)
  
      returned_refs = f.remote()
      assert len(returned_refs) == MAX_RETURNS
  
      for ref in returned_refs:
          expected = list(range(10000))
          obj = ray.get(ref)
          assert obj == expected
  
file_path: ray/release/benchmarks/single_node/test_single_node.py
imports: import numpy
  import time
  import ray
  import ray.autoscaler.sdk
  from ray._private.test_utils import Semaphore
  import json
  import os
  from time import perf_counter
  from tqdm import trange, tqdm
label_desc: Use image node_id 3 for calling a global function with example usage: test_many_returns() and returns: tuple