Skip to content

Add test coverage for ppc_data, ppd_data, ppc_ribbon_data, ppd_ribbon#506

Open
utkarshpawade wants to merge 2 commits intostan-dev:masterfrom
utkarshpawade:test/ppc-distribution-data-coverage
Open

Add test coverage for ppc_data, ppd_data, ppc_ribbon_data, ppd_ribbon#506
utkarshpawade wants to merge 2 commits intostan-dev:masterfrom
utkarshpawade:test/ppc-distribution-data-coverage

Conversation

@utkarshpawade
Copy link
Contributor

Fixes #505

Summary

  • Adds 8 tests for ppc_data() and ppd_data() in test-ppc-distributions.R covering structure validation, y/yrep row correctness, group column handling, and single-replicate edge case.
  • Adds 2 tests for ppc_ribbon_data() and ppd_ribbon_data() in test-ppc-intervals.R confirming they are identical aliases to ppc_intervals_data() / ppd_intervals_data().

@utkarshpawade utkarshpawade changed the title Add test coverage for ppc_data, ppd_data, ppc_ribbon_data, ppd_ribbon… Add test coverage for ppc_data, ppd_data, ppc_ribbon_data, ppd_ribbon Mar 25, 2026
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.67%. Comparing base (b19e3cd) to head (39555c1).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #506   +/-   ##
=======================================
  Coverage   98.67%   98.67%           
=======================================
  Files          35       35           
  Lines        5904     5904           
=======================================
  Hits         5826     5826           
  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.

Testing Gap: ppc_data, ppd_data, ppc_ribbon_data, ppd_ribbon_data have zero direct test coverage

2 participants