Skip to content

TST: Prefer using the DWI dataset generation fixture - #469

Open
jhlegarreta wants to merge 1 commit into
nipreps:mainfrom
jhlegarreta:tst/prefer-using-dwi-fixture
Open

TST: Prefer using the DWI dataset generation fixture#469
jhlegarreta wants to merge 1 commit into
nipreps:mainfrom
jhlegarreta:tst/prefer-using-dwi-fixture

Conversation

@jhlegarreta

Copy link
Copy Markdown
Contributor

Prefer using the DWI dataset generation fixture: the test_gpmodel_fit_predict and test_single_fit_canary_warning test functions do not check whether the predictions match some expected value; rather, they verify that the LOVO and single-fit execution paths provide non-null and finite results, and emit warnings as necessary.

Avoids adding boilerplate code.

@jhlegarreta

Copy link
Copy Markdown
Contributor Author

@oesteban If there is a reason to require a particular distribution, then maybe we can modify the fixture so that we can specify the desired distribution?

@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.30%. Comparing base (5238cce) to head (752094a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #469   +/-   ##
=======================================
  Coverage   90.30%   90.30%           
=======================================
  Files          38       38           
  Lines        2207     2207           
  Branches      251      251           
=======================================
  Hits         1993     1993           
  Misses        187      187           
  Partials       27       27           

☔ 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.

@jhlegarreta
jhlegarreta force-pushed the tst/prefer-using-dwi-fixture branch from ba7303d to d1fd28d Compare July 23, 2026 19:18
Prefer using the DWI dataset generation fixture: the
`test_gpmodel_fit_predict` and `test_single_fit_canary_warning` test
functions do not check whether the predictions match some expected
value; rather, they verify that the LOVO and single-fit execution paths
provide non-null and finite results, and emit warnings as necessary.

Avoids adding boilerplate code.
@jhlegarreta
jhlegarreta force-pushed the tst/prefer-using-dwi-fixture branch from d1fd28d to 752094a Compare July 23, 2026 19:46
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.

1 participant