code: def extract_sc(validator_results, extractor):
      return extract(
          validator_results,
          stability_curve_evaluator_extractor(base_extractor=extractor),
      )
  
imports: import collections.abc
  from datetime import datetime
  from itertools import chain, repeat
  import pandas
  from toolz import curry
  from numpy import nan
label_desc: Use image node_id 14 for calling a global function with example usage: extract_sc(validator_results, extractor) and returns: extract