code: def test_download_criteo_sample(tmp_path):
      filepath = criteo.download_criteo(
          size="sample", work_directory=tmp_path
      )
      statinfo = os.stat(filepath)
      assert statinfo.st_size == 8787154
  
file_path: recommenders/tests/data_validation/recommenders/datasets/test_criteo.py
imports: import os
  import gc
  import pytest
  import pandas
  from recommenders.datasets import criteo
label_desc: Use image node_id 1 for calling a global function with example usage: test_download_criteo_sample(tmp_path) without return types