code: def test_ibd_default_arguments(ds):
      plink_results = plinkify(ds)
      hail_results = hl.identity_by_descent(ds).collect()
  
      for row in hail_results:
          key = (row.i, row.j)
          assert plink_results[key][0][0] == pytest.approx(
              row.ibd.Z0, abs=0.5e-4
          )
          assert plink_results[key][0][1] == pytest.approx(
              row.ibd.Z1, abs=0.5e-4
          )
          assert plink_results[key][0][2] == pytest.approx(
              row.ibd.Z2, abs=0.5e-4
          )
          assert plink_results[key][0][3] == pytest.approx(
              row.ibd.PI_HAT, abs=0.5e-4
          )
          assert plink_results[key][1][0] == row.ibs0
          assert plink_results[key][1][1] == row.ibs1
          assert plink_results[key][1][2] == row.ibs2
  
file_path: hail/hail/python/test/hail/methods/relatedness/test_identity_by_descent.py
imports: import os
  import pytest
  import subprocess
  import unittest
  import hail
  import hail.utils
  from ...helpers import test_timeout, qobtest
label_desc: Use image node_id 3 for calling a global function with example usage: test_ibd_default_arguments(ds) without return types