Skip to content

Add CI#19

Merged
aloctavodia merged 17 commits intopymc-devs:mainfrom
juanitorduz:ci
Jan 15, 2026
Merged

Add CI#19
aloctavodia merged 17 commits intopymc-devs:mainfrom
juanitorduz:ci

Conversation

@juanitorduz
Copy link
Contributor

Add CI and some cleaning :)

@juanitorduz
Copy link
Contributor Author

@aloctavodia you can see the CI running on my fork juanitorduz#1

The tests test_betabinomial_vs_scipy is very slow (also locally), any hints on why is that?

@juanitorduz
Copy link
Contributor Author

Actually, the changes proposed ensure the test run and they are all green 🟢 🙌 juanitorduz@89581c0

Evaluates bounds at graph-build time for constants.
"""
try:
lower_t = pt.as_tensor_variable(lower)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can safely assume everything is a tensor here, and then other libraries than depend on this one could make other assumptions

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So far I have c78a16c . If I do pure symbolic the test keep being stuck ¯\(ツ)/¯

@juanitorduz
Copy link
Contributor Author

coming back to this one soon 🙈

@juanitorduz
Copy link
Contributor Author

@aloctavodia I have looked into the feedback and the CI is green now: juanitorduz#1

The hardest part has been able to run the test in a reasonable time so that they do not get stuck. Feel free to push directly on this branch to improve if you see edge cases or feedback if there is a better direction :)

[
[0.0, 1.0], # Standard logit-normal (centered)
[0.0, 0.001], # Narrower distribution
[0.0, 0.5], # Narrower distribution (sigma=0.001 is too extreme for numerical integration)
Copy link
Member

@aloctavodia aloctavodia Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What error do we get? 0.001 is not that extreme; we should be able to handle it easily. If not, we need to improve the integration routine. Asking just to open an issue, not that we need to fix it now.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update I may have a fix for this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great! do you wanna push it in a different PR?

@aloctavodia
Copy link
Member

In the future, we may want to test compiled and cached functions.

@aloctavodia aloctavodia merged commit dd11514 into pymc-devs:main Jan 15, 2026
@juanitorduz juanitorduz deleted the ci branch January 15, 2026 08:02
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.

2 participants