docstr: Tests extracting data from all steps in the event log.
docstr_tok: ["Tests","extracting","data","from","all","steps","in","the","event","log","."]
code: def test_extract_value(self):
      """Tests extracting data from all steps in the event log."""
      values, walltime = utils.extract_event_log_values(
          os.path.join(
              TEST_DATA, "event_log_3m/events.out.tfevents.1599310762"
          ),
          "AverageReturn",
      )
      # Verifies all (3M) records were examined 0-3M = 301.
      self.assertLen(values, 301)
      self.assertAlmostEqual(walltime, 1152.09573, places=4)
      # Verifies event value at 3M
      self.assertAlmostEqual(values[3000000], 5950.31835, places=4)
  
file_path: agents/tf_agents/benchmark/utils_test.py
imports: import os
  import tensorflow
  from tf_agents.benchmark import utils
  from tf_agents.utils import test_utils
label_desc: Use image node_id 1 for calling the UtilsTest obj's underlying member method code with example usage: obj.test_extract_value() without return types