Skip to content

BUG: Do not treat badly scaled moment covariances as singular in cent… - #754

Merged
bashtage merged 3 commits into
mainfrom
lm71-fix-gmm-singular
Oct 12, 2026
Merged

bashtage merged 3 commits into
mainfrom
lm71-fix-gmm-singular

TST: Allow the 3-cluster C-statistic test to see a LinAlgError

f4f8a09
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Oct 12, 2026 in 0s

99.58% (-0.02%) compared to 121d869

View this Pull Request on Codecov

99.58% (-0.02%) compared to 121d869

Details

Codecov Report

❌ Patch coverage is 98.10298% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.58%. Comparing base (121d869) to head (f4f8a09).

Files with missing lines Patch % Lines
...earmodels/tests/iv/test_gmm_singular_covariance.py 98.47% 4 Missing and 1 partial ⚠️
linearmodels/iv/model.py 93.93% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #754      +/-   ##
==========================================
- Coverage   99.60%   99.58%   -0.02%     
==========================================
  Files         127      128       +1     
  Lines       23832    24188     +356     
  Branches     1783     1809      +26     
==========================================
+ Hits        23737    24087     +350     
- Misses         35       40       +5     
- Partials       60       61       +1     

☔ View full report in Codecov by Harness.
📢 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.