code: def test_fetch_abide_pcp(tmp_path, request_mocker, quality_checked):
      n_subjects = 800
      ids = list(range(n_subjects))
      filenames = ["no_filename"] * n_subjects
      filenames[::2] = ["filename"] * (n_subjects // 2)
      qc_rater_1 = ["OK"] * n_subjects
      qc_rater_1[::4] = ["fail"] * (n_subjects // 4)
      pheno = pd.DataFrame(
          {
              "subject_id": ids,
              "FILE_ID": filenames,
              "qc_rater_1": qc_rater_1,
              "qc_anat_rater_2": qc_rater_1,
              "qc_func_rater_2": qc_rater_1,
              "qc_anat_rater_3": qc_rater_1,
              "qc_func_rater_3": qc_rater_1,
          },
          columns=[
              "subject_id",
              "FILE_ID",
              "qc_rater_1",
              "qc_anat_rater_2",
              "qc_func_rater_2",
              "qc_anat_rater_3",
              "qc_func_rater_3",
          ],
      )
      request_mocker.url_mapping["*rocessed1.csv"] = pheno.to_csv(
          index=False
      )
  
      # All subjects
      dataset = func.fetch_abide_pcp(
          data_dir=tmp_path, quality_checked=quality_checked, verbose=0
      )
      div = 4 if quality_checked else 2
  
      assert len(dataset.func_preproc) == n_subjects / div
      assert dataset.description != ""
  
      # Smoke test using only a string, rather than a list of strings
      dataset = func.fetch_abide_pcp(
          data_dir=tmp_path,
          quality_checked=quality_checked,
          verbose=0,
          derivatives="func_preproc",
      )
  
imports: import json
  import os
  import re
  import shutil
  import tempfile
  import uuid
  from collections import OrderedDict
  from pathlib import Path
  import nibabel
  import numpy
  import pandas
  import pytest
  from nilearn.datasets import func
  from nilearn.datasets._utils import get_dataset_dir
  from nilearn.datasets.tests._testing import dict_to_archive, list_to_archive
  from nilearn.image import load_img
label_desc: Use image node_id 15 for calling a global function with example usage: test_fetch_abide_pcp(tmp_path, request_mocker, quality_checked) without return types