def METHOD_NAME(stdout, metadata):
  """Make and return a list of samples, parsed from the Stencil2D output.
  Args:
    stdout: Stencil2D output
    metadata: metadata to append to the returned samples
  Returns:
    A list of sample.Samples
  """
  results = [
      _CreateMedianStencilOutputSample(stdout, 'DP_Sten2D(median)',
                                       'Stencil2D DP median', metadata),
      _CreateMedianStencilOutputSample(stdout, 'DP_Sten2D(stddev)',
                                       'Stencil2D DP stddev', metadata),
      _CreateMedianStencilOutputSample(stdout, 'SP_Sten2D(median)',
                                       'Stencil2D SP median', metadata),
      _CreateMedianStencilOutputSample(stdout, 'SP_Sten2D(stddev)',
                                       'Stencil2D SP stddev',
                                       metadata)  # pyformat: disable
  ]
  return results