Skip to content

Preempt possible unit test failures from ill-conditioned matrices#4047

Merged
je-cook merged 2 commits intomainfrom
random_unit_test_failing
Jan 16, 2026
Merged

Preempt possible unit test failures from ill-conditioned matrices#4047
je-cook merged 2 commits intomainfrom
random_unit_test_failing

Conversation

@timothy-nunn
Copy link
Copy Markdown
Collaborator

Closes #4000

The random unit test failures come from linear algebra on ill-conditioned systems of equations. Some systems (combinations of OS, software, processor, architecture) produce slightly different results for the same calculations near system epsilon. We can identify systems where this will happen and skip problematic tests.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.29%. Comparing base (7772b79) to head (68d4a6f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4047   +/-   ##
=======================================
  Coverage   46.29%   46.29%           
=======================================
  Files         123      123           
  Lines       28976    28976           
=======================================
  Hits        13415    13415           
  Misses      15561    15561           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@timothy-nunn timothy-nunn requested a review from je-cook January 16, 2026 08:53
@timothy-nunn timothy-nunn force-pushed the random_unit_test_failing branch from f0663dc to 1e179af Compare January 16, 2026 09:00
Comment thread tests/system_check.py Outdated
@timothy-nunn timothy-nunn requested a review from je-cook January 16, 2026 09:48
@je-cook je-cook merged commit 5ea7543 into main Jan 16, 2026
20 checks passed
@je-cook je-cook deleted the random_unit_test_failing branch January 16, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Unit tests failing intermittently on CI

3 participants