Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ccanel committed Feb 19, 2024
1 parent 16404a2 commit 656cd5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions unfair/scripts/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -1002,12 +1002,14 @@ def eval_shared(args, our_label, matched):
jfi_disabled,
overall_util_disabled,
class_to_util_disabled,
_,
) = disabled_results
(
_,
jfi_enabled,
overall_util_enabled,
class_to_util_enabled,
_,
) = enabled_results

assert tuple(sorted(class_to_util_disabled.keys())) == (0, 20)
Expand Down Expand Up @@ -1467,12 +1469,14 @@ def eval_background(args, our_label, matched):
jfi_disabled,
overall_util_disabled,
class_to_util_disabled,
_,
) = disabled_results
(
_,
jfi_enabled,
overall_util_enabled,
class_to_util_enabled,
_,
) = enabled_results

assert tuple(sorted(class_to_util_disabled.keys())) == ("receiver", "sink")
Expand Down

0 comments on commit 656cd5d

Please sign in to comment.