code: def test_locus_interval_encoding():
      start = hl.Locus(
          contig="chr1", position=10001, reference_genome="GRCh38"
      )
      end = hl.Locus(
          contig="chr1", position=11001, reference_genome="GRCh38"
      )
      interval = hl.Interval(
          start=start, end=end, includes_start=True, includes_end=False
      )
      _assert_encoding_roundtrip(start)
      _assert_encoding_roundtrip(end)
      _assert_encoding_roundtrip(interval)
  
imports: import re
  import unittest
  import numpy
  from numpy.testing import assert_array_equal
  import hail
  import hail.ir
  from hail.ir.renderer import CSERenderer
  from hail.expr import construct_expr
  from hail.expr.types import tint32
  from hail.utils.java import Env
  from hail.utils import new_temp_file
  from test.hail.helpers import *
label_desc: Use image node_id 5 for calling a global function with example usage: test_locus_interval_encoding() without return types