Spaces:
Sleeping
Sleeping
def compare_decisions(umpire, drs): | |
same = umpire["decision"] == drs["drs_decision"] | |
return { | |
"confirmed": same, | |
"final_decision": umpire["decision"] if same else drs["drs_decision"], | |
} | |