code: def test_rank():
      # test that fetch/download works fine
      X1, y1, X2, y2, q1, q2 = shap.datasets.rank()
  
      # check the shape of the result
      assert X1.shape == (3_005, 300)
      assert y1.shape == (3_005,)
      assert X2.shape == (768, 300)
      assert y2.shape == (768,)
      assert q1.shape == (201,)
      assert q2.shape == (50,)
  
file_path: shap/tests/test_datasets.py
imports: import pytest
  import shap
label_desc: Use image node_id 12 for calling a global function with example usage: test_rank() without return types