code: def test_ragged_starts_ends(ragged):
      starts = ragged._get_starts()
      ends = ragged._get_ends()
      assert list(starts) == [0, 4, 6, 14, 15]
      assert list(ends) == [4, 6, 14, 15, 19]
  
file_path: thinc/thinc/tests/test_indexing.py
imports: import numpy
  import pytest
  from numpy.testing import assert_allclose
  from thinc.types import Pairs, Ragged
label_desc: Use image node_id 3 for calling a global function with example usage: test_ragged_starts_ends(ragged) without return types