Skip to content

Conversation

@elc45
Copy link
Contributor

@elc45 elc45 commented Jan 28, 2026

Description

Adds a name to the dict arg of rv_op and adds a safe_shape_eval function when getting plates.

Related Issue

Checklist

Type of change

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

@welcome
Copy link

welcome bot commented Jan 28, 2026

Thank You Banner]
💖 Thanks for opening this pull request! 💖 The PyMC community really appreciates your time and effort to contribute to the project. Please make sure you have read our Contributing Guidelines and filled in our pull request template to the best of your ability.

@github-actions github-actions bot added the bug label Jan 28, 2026
@elc45
Copy link
Contributor Author

elc45 commented Jan 28, 2026

actually #8062 might fix this too. If so, feel free to close.

@codecov
Copy link

codecov bot commented Jan 28, 2026

Codecov Report

❌ Patch coverage is 62.50000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.86%. Comparing base (c868a84) to head (09ea8e1).

Files with missing lines Patch % Lines
pymc/model_graph.py 62.50% 6 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8078      +/-   ##
==========================================
- Coverage   90.89%   90.86%   -0.03%     
==========================================
  Files         123      123              
  Lines       19489    19504      +15     
==========================================
+ Hits        17714    17723       +9     
- Misses       1775     1781       +6     
Files with missing lines Coverage Δ
pymc/distributions/custom.py 95.52% <ø> (ø)
pymc/model_graph.py 83.38% <62.50%> (-1.16%) ⬇️
🚀 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: to_graphviz breaks when the model has a pm.CustomDist

1 participant