code: def get_impute_sex_chromosome_ploidy_ref_mt():
      ref_blocks = [
          hl.Struct(
              s="sample_xx",
              locus=hl.Locus("22", 1000000, "GRCh37"),
              END=2000000,
              GQ=15,
              DP=5,
          ),
          hl.Struct(
              s="sample_xx",
              locus=hl.Locus("X", X_PAR_END - 10, "GRCh37"),
              END=X_PAR_END + 9,
              GQ=18,
              DP=6,
          ),
          hl.Struct(
              s="sample_xx",
              locus=hl.Locus("X", X_PAR_END + 10, "GRCh37"),
              END=X_PAR_END + 29,
              GQ=15,
              DP=5,
          ),
          hl.Struct(
              s="sample_xy",
              locus=hl.Locus("22", 1000000, "GRCh37"),
              END=2000000,
              GQ=15,
              DP=5,
          ),
          hl.Struct(
              s="sample_xy",
              locus=hl.Locus("X", X_PAR_END - 10, "GRCh37"),
              END=X_PAR_END + 9,
              GQ=9,
              DP=3,
          ),
          hl.Struct(
              s="sample_xy",
              locus=hl.Locus("X", X_PAR_END + 10, "GRCh37"),
              END=X_PAR_END + 29,
              GQ=6,
              DP=2,
          ),
          hl.Struct(
              s="sample_xy",
              locus=hl.Locus("Y", Y_PAR_END - 10, "GRCh37"),
              END=Y_PAR_END + 9,
              GQ=12,
              DP=4,
          ),
          hl.Struct(
              s="sample_xy",
              locus=hl.Locus("Y", Y_PAR_END + 10, "GRCh37"),
              END=Y_PAR_END + 29,
              GQ=9,
              DP=3,
          ),
      ]
      return hl.Table.parallelize(
          ref_blocks,
          schema=hl.dtype(
              "struct{s:str,locus:locus<GRCh37>,END:int32,GQ:int32,DP:int32}"
          ),
      ).to_matrix_table(row_key=["locus"], row_fields=[], col_key=["s"])
  
imports: import os
  import pytest
  import hail
  from hail.utils import new_temp_file
  from hail.vds.combiner.combine import defined_entry_fields
  from ..helpers import resource, test_timeout, qobtest
label_desc: Use image node_id 12 for calling a global function with example usage: get_impute_sex_chromosome_ploidy_ref_mt() and returns: hl