def METHOD_NAME(self, output, target_info, run_output):
    self.outputs_so_far.append(output)
    self._write_outputs(self.outputs_so_far, run_output)
    if not self.artifact_added:
        run_output.add_artifact('run_result_csv', 'results.csv', 'export')
        self.artifact_added = True  # pylint: disable=attribute-defined-outside-init