Commit 690c0419 by Yaoyu Zhu

tiny change

parent 2aa60cf1
......@@ -93,7 +93,7 @@ def default_compute_score(data_source, solution_str, ground_truth, extra_info=No
print(f'In default_compute_score, there is an error {e}. Return None now.')
return None
logging.info(f'In [default_compute_score], time cost {time.time() - t0}, data source is {data_source}, reward is {res if isinstance(res, (int, float, bool, dict)) else res[0]}')
logging.debug(f'In [default_compute_score], time cost {time.time() - t0}, data source is {data_source}, reward is {res if isinstance(res, (int, float, bool, dict)) else res[0]}')
if isinstance(res, dict):
return res
elif isinstance(res, (int, float, bool)):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment