Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev/compare_tables.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep strict checks for count-like numeric fields

Increasing relative_tolerance to 5e-4 applies globally to all numeric columns, not just DESeq2 floating-point outputs, so integer summary metrics can now drift silently (e.g., genes_tested around 20,000 in results/tables/*_summary.csv can differ by about 10 and still pass). This weakens regression detection for sample/gene counts that should be exact and can let real pipeline changes slip through under the guise of floating-point tolerance.

Useful? React with 👍 / 👎.

zero_tolerance <- 1e-12
effect_size_absolute_tolerance <- 1e-6

Expand Down
Loading