Skip to content

Add support for sample_stats group in pymc.testing.mock_sample #7887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

williambdean
Copy link
Contributor

@williambdean williambdean commented Aug 2, 2025

Description

This allows users to create sample_stats group in the mock sample helper

TODO:

  • Way to specify these in the setup and teardown helper

However, I might wait on this item... Any thoughts if that is needed to get this through?

Related Issue

  • Closes #
  • Related to #

Checklist

Type of change

  • New feature / enhancement
  • Bug fix
  • Documentation
  • Maintenance
  • Other (please specify):

📚 Documentation preview 📚: https://pymc--7887.org.readthedocs.build/en/7887/

Copy link

codecov bot commented Aug 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.95%. Comparing base (0960323) to head (1c19384).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #7887   +/-   ##
=======================================
  Coverage   92.94%   92.95%           
=======================================
  Files         116      116           
  Lines       18851    18859    +8     
=======================================
+ Hits        17521    17530    +9     
+ Misses       1330     1329    -1     
Files with missing lines Coverage Δ
pymc/testing.py 90.14% <100.00%> (+0.16%) ⬆️

... and 1 file with indirect coverage changes

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

1 participant