Skip to content

Add unit test for .psis_subset() output structure#519

Open
utkarshpawade wants to merge 2 commits intostan-dev:masterfrom
utkarshpawade:test/psis-subset-unit-test
Open

Add unit test for .psis_subset() output structure#519
utkarshpawade wants to merge 2 commits intostan-dev:masterfrom
utkarshpawade:test/psis-subset-unit-test

Conversation

@utkarshpawade
Copy link
Copy Markdown
Contributor

Fixes #518

Summary

  • Adds a test verifying .psis_subset() preserves psis object structure (class, log_weights, diagnostics, dims, norm_const_log, tail_len, r_eff)
  • Acts as a canary if loo changes its psis internals

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.67%. Comparing base (94a2ac5) to head (7c10083).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #519   +/-   ##
=======================================
  Coverage   98.67%   98.67%           
=======================================
  Files          35       35           
  Lines        5903     5903           
=======================================
  Hits         5825     5825           
  Misses         78       78           

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

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.

Missing unit test for .psis_subset() output structure

2 participants