Skip to content

Commit 680786e

Browse files
committed
Raise samples difference threshold to 5%
Reference samples have been generated using MadtRex on top of vanilla MadGraph and not on top of CUDACPP, so there is a slightly larger uncertainty when comparing those ref samples with the reweighted samples that start from CUDACPP-generated events. We are not interested to check theat they are digit-by-digit correct, but that they are almost correct with each other.
1 parent d6a610d commit 680786e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/run_madtrex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def main() -> int:
130130
all_ok = True
131131
for i, ((v_base, _), (v_mad, _)) in enumerate(zip(load_csv(baseline_csv), load_csv(madtrex_csv)), start=1):
132132
diff = abs(v_base - v_mad)
133-
tol = 0.02 * v_mad
133+
tol = 0.05 * v_mad
134134

135135
if diff >= tol:
136136
print(f"Error: Row {i}: |{v_base} - {v_mad}| = {diff} >= {tol}")

0 commit comments

Comments
 (0)