code: def test_meps_matches_old(panel, cls):
      """Tests MEPS datasets match original versions."""
      usecols = [
          "REGION",
          "AGE",
          "SEX",
          "RACE",
          "MARRY",
          "FTSTU",
          "ACTDTY",
          "HONRDC",
          "RTHLTH",
          "MNHLTH",
          "HIBPDX",
          "CHDDX",
          "ANGIDX",
          "MIDX",
          "OHRTDX",
          "STRKDX",
          "EMPHDX",
          "CHBRON",
          "CHOLDX",
          "CANCERDX",
          "DIABDX",
          "JTPAIN",
          "ARTHDX",
          "ARTHTYPE",
          "ASTHDX",
          "ADHDADDX",
          "PREGNT",
          "WLKLIM",
          "ACTLIM",
          "SOCLIM",
          "COGLIM",
          "DFHEAR42",
          "DFSEE42",
          "ADSMOK42",
          "PCS42",
          "MCS42",
          "K6SUM42",
          "PHQ242",
          "EMPST",
          "POVCAT",
          "INSCOV",
      ]
      educols = ["EDUCYR", "HIDEG"]
      meps = fetch_meps(
          panel, accept_terms=True, usecols=usecols + educols
      )
      assert len(meps) == 3
      meps.X.RACE = meps.X.RACE.factorize(sort=True)[0]
      MEPS = cls()
      assert_array_equal(
          pd.get_dummies(meps.X.drop(columns=educols)), MEPS.features
      )
      assert_array_equal(
          meps.y.factorize(sort=True)[0], MEPS.labels.ravel()
      )
  
imports: from functools import partial
  import numpy
  from numpy.testing import assert_array_equal
  import pandas
  from pandas.api.types import is_numeric_dtype
  from pandas.testing import assert_frame_equal
  import pytest
  from sklearn.compose import make_column_transformer
  from sklearn.preprocessing import OneHotEncoder, minmax_scale
  from aif360.datasets import AdultDataset, GermanDataset, CompasDataset, LawSchoolGPADataset, MEPSDataset19, MEPSDataset20, MEPSDataset21
  from aif360.sklearn.datasets import standardize_dataset, NumericConversionWarning, fetch_adult, fetch_bank, fetch_german, fetch_compas, fetch_lawschool_gpa, fetch_meps
label_desc: Use image node_id 20 for calling a global function with example usage: test_meps_matches_old(panel, cls) without return types