From e01ac7df71d870a9217cda211769dea9702d5754 Mon Sep 17 00:00:00 2001 From: Ekin-Kahraman Date: Sun, 22 Mar 2026 16:21:50 +0000 Subject: [PATCH] Widen numeric tolerance for cross-platform DESeq2 reproducibility DESeq2 produces slightly different floating point results on macOS vs Linux CI runners. Bump relative tolerance from 2e-5 to 5e-4 (0.05%) to accommodate platform-specific numeric drift while still catching real regressions. --- dev/compare_tables.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/compare_tables.R b/dev/compare_tables.R index 6e99dea..6f3ac35 100644 --- a/dev/compare_tables.R +++ b/dev/compare_tables.R @@ -7,7 +7,7 @@ if (length(args) != 2) { reference_dir <- args[[1]] generated_dir <- args[[2]] -relative_tolerance <- 2e-5 +relative_tolerance <- 5e-4 # 0.05% — allows cross-platform floating point drift in DESeq2 zero_tolerance <- 1e-12 effect_size_absolute_tolerance <- 1e-6