def METHOD_NAME(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)