def METHOD_NAME():
    mt = hl.balding_nichols_model(3, 10, 50).cache()
    with hl.TemporaryDirectory(ensure_exists=False) as with_self_f, \
         hl.TemporaryDirectory(ensure_exists=False) as without_self_f:
        with_self = hl.pc_relate(mt.GT, 0.10, k=2, statistics='kin20', block_size=16, include_self_kinship=True).checkpoint(with_self_f)
        without_self = hl.pc_relate(mt.GT, 0.10, k=2, statistics='kin20', block_size=16).checkpoint(without_self_f)
        with_self_no_self_kin = with_self.filter(with_self.i.sample_idx != with_self.j.sample_idx)
        assert with_self_no_self_kin._same(without_self)