Skip to content

Commit

Permalink
Limit columns to check to non-run sensitive ones
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonis committed Jan 23, 2025
1 parent 8898237 commit 58e54c8
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions tools/mapping-tester/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,23 @@
df_a = df_a.sort(order)
df_reference = df_reference.sort(order)

check_cols = set(
[
"count",
"abs_min",
"abs_max",
"signed_min",
"signed_max",
"median(abs)",
"relative-l2",
"99th percentile(abs)",
"95th percentile(abs)",
"90th percentile(abs)",
]
)

mismatches = []
for c in ac:
if c in order:
continue
for c in ac.intersection(check_cols):

ref, a = df_reference.get_column(c), df_a.get_column(c)

Expand Down

0 comments on commit 58e54c8

Please sign in to comment.