code: def _run_test_repeat(self, tmpdir: str, fake_input: FakeInput):
      outfile = os.path.join(tmpdir, "log.jsonl")
      Interactive.main(model="repeat_query", outfile=outfile)
  
      log = conversations.Conversations(outfile)
      self.assertEqual(len(log), fake_input.max_episodes)
      for entry in log:
          self.assertEqual(len(entry), 2 * fake_input.max_turns)
  
imports: import unittest
  from unittest import mock
  import os
  from parlai.scripts.interactive import Interactive
  from parlai.scripts.safe_interactive import SafeInteractive
  import parlai.utils.conversations
  import parlai.utils.testing
label_desc: Use image node_id 2 for calling the TestInteractiveLogging obj's underlying member method code with example usage: obj._run_test_repeat(tmpdir, fake_input) without return types