code: def test_extract_criteo_sample(tmp_path):
      filepath = criteo.download_criteo(
          size="sample", work_directory=tmp_path
      )
      filename = criteo.extract_criteo(
          size="sample", compressed_file=filepath
      )
      statinfo = os.stat(filename)
      assert statinfo.st_size == 24328072
  
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 2 for calling a global function with example usage: test_extract_criteo_sample(tmp_path) without return types