code: def test_local_to_global_alleles_non_increasing():
      local_alleles = [0, 3, 1]
      lad = [1, 10, 9]
      lpl = [1001, 1004, 0, 1002, 1003, 1005]
  
      assert hl.eval(
          hl.vds.local_to_global(lad, local_alleles, 4, 0, number="R")
      ) == [1, 9, 0, 10]
      assert hl.eval(
          hl.vds.local_to_global(lpl, local_alleles, 4, 999, number="G")
      ) == [
          1001,
          1002,
          1005,
          999,
          999,
          999,
          1004,
          1003,
          999,
          0,
      ]
  
      assert hl.eval(
          hl.vds.local_to_global(
              [0, 1, 2, 3, 4, 5], [0, 2, 1], 3, 0, number="G"
          )
      ) == [0, 3, 5, 1, 4, 2]
  
imports: import pytest
  import hail
label_desc: Use image node_id 4 for calling a global function with example usage: test_local_to_global_alleles_non_increasing() without return types