You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yet, the computation of the evaluator fails due to division by 0 (no keys!)
Traceback (most recent call last): File "/app/agenta_backend/services/evaluators_service.py", line 593, in auto_json_diff average_score = compare_jsons( File "/app/agenta_backend/services/evaluators_service.py", line 579, in compare_jsons average_score = cumulated_score / no_of_keys ZeroDivisionError: float division by zero
Hi @mmabrouk. I'd like to work on this. Can you share more details?
I'm trying to replicate the issue here with settings_values = {}.
I don't understand why there would be a ZeroDivisionError when there exists a ground truth json with valid keys?
I have configured a JSON diff evaluator using the default values:
My ground truth looks like:
And the prediction
Yet, the computation of the evaluator fails due to division by 0 (no keys!)
From SyncLinear.com | AGE-474
The text was updated successfully, but these errors were encountered: