code: def test_world_logging(self):
      with testing_utils.tempdir() as tmpdir:
          save_report = os.path.join(tmpdir, "report")
          testing_utils.eval_model(
              dict(
                  model_file="zoo:unittest/transformer_generator2/model",
                  task="integration_tests:multiturn_candidate",
                  world_logs=save_report,
                  report_filename=save_report,
                  truncate=1024,
                  dynamic_batching="full",
                  batchsize=4,
              )
          )
          convo_fle = str(save_report) + ".jsonl"
          convos = Conversations(convo_fle)
          for convo in convos:
              self.assertEquals(
                  len(convo), 2 * 4
              )  # each episode is 4 turns
              # now assert that they are all from the same dynamic batch index
              dyn_batch_idx = convo[0]["dyn_batch_idx"]
              for i, turn in enumerate(convo):
                  if i % 2 == 0 and i > 0:
                      # we log the batch index in the teacher acts only
                      self.assertEquals(
                          dyn_batch_idx, turn["dyn_batch_idx"]
                      )
  
imports: from parlai.core.opt import Opt
  from parlai.tasks.integration_tests.agents import NUM_TEST, EXAMPLE_SIZE
  from parlai.utils.conversations import Conversations
  import parlai.utils.testing
  import os
  from typing import Dict, Any
  import unittest
label_desc: Use image node_id 10 for calling the TestDynamicBatching obj's underlying member method code with example usage: obj.test_world_logging() without return types