code: def assess_trial(self, trial_job_id, trial_history):
      _logger.info("assess trial %s %s", trial_job_id, trial_history)
  
      id_ = trial_history[0]
      if id_ in self._killed:
          return AssessResult.Bad
  
      s = 0
      for i, val in enumerate(trial_history):
          s += val
          if s % 11 == 1:
              self._killed.add(id_)
              _result.write("%d %d\n" % (id_, i + 1))
              _result.flush()
              return AssessResult.Bad
  
      return AssessResult.Good
  
file_path: nni/test/training_service/config/naive_test/naive_assessor.py
imports: import logging
  import os
  from nni.assessor import Assessor, AssessResult
label_desc: Use image node_id 2 for calling the NaiveAssessor obj's underlying member method code with example usage: obj.assess_trial(trial_job_id, trial_history) and returns: AssessResult, AssessResult, AssessResult