mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-08 04:56:45 +00:00
fix: EvaluationRunResult should compare only input keys (#7603)
* initial import * Update haystack/evaluation/eval_run_result.py Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com> --------- Co-authored-by: Madeesh Kannan <shadeMe@users.noreply.github.com>
This commit is contained in:
parent
704293d491
commit
0047cd115e
@ -119,8 +119,8 @@ class EvaluationRunResult(BaseEvaluationRunResult):
|
||||
this_name = f"{this_name}_first"
|
||||
other_name = f"{other_name}_second"
|
||||
|
||||
if self.inputs != other.inputs:
|
||||
warn(f"The inputs to the two evaluation results differ; using the inputs of '{this_name}'.")
|
||||
if self.inputs.keys() != other.inputs.keys():
|
||||
warn(f"The input columns differ between the results; using the input columns of '{this_name}'.")
|
||||
|
||||
pipe_a_df = self.to_pandas()
|
||||
pipe_b_df = other.to_pandas()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user