code: def test_integration(self):
      valid, test = testing_utils.train_model(
          {
              "task": "integration_tests",
              "model": "ir_baseline",
              "batchsize": 1,
              "datatype": "train:ordered",
              "num_epochs": 1,
          }
      )
      assert valid["f1"] >= 0.99
      assert test["f1"] >= 0.99
  
file_path: ParlAI/tests/test_ir_baseline.py
imports: import os
  import unittest
  import parlai.utils.testing
  from parlai.scripts.build_candidates import BuildCandidates
label_desc: Use image node_id 1 for calling the TestIrBaseline obj's underlying member method code with example usage: obj.test_integration() without return types