Skip to content
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

Re-enable numerical asserts since CI now uses Quarto 1.6 #539

Merged
merged 4 commits into from
Oct 29, 2024

Conversation

penelopeysm
Copy link
Member

@penelopeysm penelopeysm commented Oct 17, 2024

The docs contain some assertions to make sure that e.g. posterior predictions are numerically accurate. Due to #533 these assertions were sometimes randomly failing, and I had to comment them out to avoid spurious CI failures.

Since the upstream issue has been fixed, and a new version of Quarto that contains this bugfix released, this PR re-enables the assertions.

Closes #533.

@penelopeysm
Copy link
Member Author

penelopeysm commented Oct 18, 2024

Actually the upstream issue is not fully fixed; there is a new version of QuartoNotebookRunner.jl with the fix (0.11.5) but Quarto itself needs to be updated https://github.com/quarto-dev/quarto-cli/blob/cf81582a26c4e43501f21ae5dec4d8be90acd4e3/src/resources/julia/Project.toml

Blocked by upstream I guess.

@penelopeysm penelopeysm marked this pull request as draft October 18, 2024 00:23
@penelopeysm
Copy link
Member Author

penelopeysm commented Oct 18, 2024

PRs submitted to Quarto. quarto-dev/quarto-cli#11100 and quarto-dev/quarto-cli#11101

Once that is merged and a new version released we just need to make sure that CI loads a new enough version of Quarto.

@penelopeysm
Copy link
Member Author

penelopeysm commented Oct 23, 2024

Upstream has been merged, just waiting for a release

@penelopeysm penelopeysm changed the base branch from master to backport-v0.34 October 29, 2024 02:11
Copy link
Contributor

Preview the changes: https://turinglang.org/docs/pr-previews/539
Please avoid using the search feature and navigation bar in PR previews!

@penelopeysm penelopeysm marked this pull request as ready for review October 29, 2024 11:15
@penelopeysm penelopeysm changed the title Uncomment asserts Bump Quarto to 1.6, re-enable numerical asserts Oct 29, 2024
@penelopeysm penelopeysm changed the title Bump Quarto to 1.6, re-enable numerical asserts Re-enable numerical asserts since CI now uses Quarto 1.6 Oct 29, 2024
@penelopeysm penelopeysm requested a review from mhauru October 29, 2024 15:27
@penelopeysm penelopeysm mentioned this pull request Oct 29, 2024
5 tasks
Copy link
Member

@mhauru mhauru left a comment

Choose a reason for hiding this comment

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

Good stuff

@penelopeysm penelopeysm merged commit fe5bbf6 into backport-v0.34 Oct 29, 2024
4 checks passed
@penelopeysm penelopeysm deleted the py/random branch October 29, 2024 15:34
penelopeysm added a commit that referenced this pull request Nov 17, 2024
* Uncomment asserts

* Bump Quarto version in CI

* Mention Quarto min version in README
@penelopeysm penelopeysm mentioned this pull request Nov 17, 2024
penelopeysm added a commit that referenced this pull request Nov 17, 2024
* Uncomment asserts

* Bump Quarto version in CI

* Mention Quarto min version in README
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.

Random assertions can fail randomly (despite seeding)
2 participants