docstr: Minimum Functionality Test
  
  Parameters
  ----------
  data : list
      List or list(lists) of whatever the model takes as input. Strings, tuples, etc.
  expect : function
      Expectation function, takes an AbstractTest (self) as parameter
      see expect.py for details
  labels : single value (int, str, etc) or list
      If list, must be the same length as data
  meta : list
      metadata for examples, must be the same length as data
  agg_fn : function, or string in ['all', 'all_except_first']
      Aggregation function for expect function, if each element in data is a list.
      Takes as input a numpy array, outputs a boolean.
  templates : list(tuple)
      Parameters used to generate the data. Use ret.templates from editor.template
  name : str
      test name
  capability : str
      test capability
  description : str
      test description
docstr_tok: ["Minimum","Functionality","Test","Parameters","--","--","--","--","--","data",":","list","List","or","list","(","lists",")","of","whatever","the","model","takes","as","input",".","Strings",",","tuples",",","etc",".","expect",":","function","Expectation","function",",","takes","an","AbstractTest","(","self",")","as","parameter","see","expect.py","for","details","labels",":","single","value","(","int",",","str",",","etc",")","or","list","If","list",",","must","be","the","same","length","as","data","meta",":","list","metadata","for","examples",",","must","be","the","same","length","as","data","agg_fn",":","function",",","or","string","in","[","'all","'",",","'all_except_first","'","]","Aggregation","function","for","expect","function",",","if","each","element","in","data","is","a","list",".","Takes","as","input","a","numpy","array",",","outputs","a","boolean",".","templates",":","list","(","tuple",")","Parameters","used","to","generate","the","data",".","Use","ret.templates","from","editor.template","name",":","str","test","name","capability",":","str","test","capability","description",":","str","test","description"]
code: def __init__(
      self,
      data,
      expect=None,
      labels=None,
      meta=None,
      agg_fn="all",
      templates=None,
      name=None,
      capability=None,
      description=None,
  ):
      """Minimum Functionality Test
  
      Parameters
      ----------
      data : list
          List or list(lists) of whatever the model takes as input. Strings, tuples, etc.
      expect : function
          Expectation function, takes an AbstractTest (self) as parameter
          see expect.py for details
      labels : single value (int, str, etc) or list
          If list, must be the same length as data
      meta : list
          metadata for examples, must be the same length as data
      agg_fn : function, or string in ['all', 'all_except_first']
          Aggregation function for expect function, if each element in data is a list.
          Takes as input a numpy array, outputs a boolean.
      templates : list(tuple)
          Parameters used to generate the data. Use ret.templates from editor.template
      name : str
          test name
      capability : str
          test capability
      description : str
          test description
      """
      if labels is None and expect is None:
          raise (Exception("Must specify either 'expect' or 'labels'"))
      if labels is not None and expect is None:
          expect = Expect.eq()
      super().__init__(
          data,
          expect,
          labels=labels,
          meta=meta,
          agg_fn=agg_fn,
          templates=templates,
          print_first=False,
          name=name,
          capability=capability,
          description=description,
      )
  
file_path: checklist/checklist/test_types.py
imports: from .abstract_test import AbstractTest
  from .expect import Expect
label_desc: Use image node_id 1 to create a new MFT object from inherited base classes: AbstractTest with example: obj = MFT(data, expect, labels, meta, agg_fn, templates, name, capability, description)