Skip to content

Commit

Permalink
review update
Browse files Browse the repository at this point in the history
  • Loading branch information
upsj committed Nov 27, 2023
1 parent 5402735 commit 6efc350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark/tools/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def parse_json_matrix(filename: str) -> dict:
f"WARNING: Duplicate key {json.dumps(dict_key)}",
file=sys.stderr,
)
result[frozendict(dict_key)] = case
result[dict_key] = case
return result


Expand Down Expand Up @@ -128,7 +128,7 @@ def extract_benchmark_results(


def is_outlier(value: float, args) -> bool:
"""returns true iff the value exceeds 1.0 above the outlier threshold"""
"""returns true iff the is more than the outlier threshold away from 1.0"""
return math.fabs(math.log(value)) > math.log(1.0 + args.outlier_threshold / 100)


Expand Down

0 comments on commit 6efc350

Please sign in to comment.