We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 103c0a9 commit 9589db1Copy full SHA for 9589db1
1 file changed
src/humanloop/eval_utils/run.py
@@ -377,8 +377,8 @@ def run_eval(
377
break
378
if requires_target:
379
missing_target = 0
380
- for datapoint in hl_dataset.datapoints:
381
- if not datapoint.target:
+ for _datapoint in hl_dataset.datapoints:
+ if not _datapoint.target:
382
missing_target += 1
383
if missing_target > 0:
384
raise ValueError(
@@ -482,7 +482,7 @@ def upload_callback(log_id: str):
482
function_.__name__,
483
)
484
log_func(
485
- inputs=datapoint.inputs,
+ inputs=dp.inputs,
486
output=output,
487
start_time=start_time,
488
end_time=datetime.now(),
0 commit comments