code: def receive_trial_result(
      self, parameter_id, parameters, value, **kwargs
  ):
      reward = extract_scalar_reward(value)
      _logger.info(
          "receive trial result: %s, %s, %s",
          parameter_id,
          parameters,
          reward,
      )
      _result.write("%d %d\n" % (parameters["x"], reward))
      _result.flush()
  
file_path: nni/test/training_service/config/naive_test/naive_tuner.py
imports: import json
  import logging
  import os
  from nni.tuner import Tuner
  from nni.utils import extract_scalar_reward
label_desc: Use image node_id 3 for calling the NaiveTuner obj's underlying member method code with example usage: obj.receive_trial_result(parameter_id, parameters, value) without return types