Skip to content

Use less precise numbers in linen doctest - #5526

Merged
copybara-service[bot] merged 1 commit into
google:mainfrom
samanklesaria:fix_ci_precision
Jul 7, 2026
Merged

copybara-service[bot] merged 1 commit into
google:mainfrom
samanklesaria:fix_ci_precision

Conversation

@samanklesaria

Copy link
Copy Markdown
Collaborator

This PR should fix the doctests on main, which are broken due to a numerical precision issue- what we see (0.04579117) is only very slightly different from what we expect (0.04579116). It seems this could be addressed by expecting a slightly less precise number (0.0457912), along with the "NUMBER" flag when running doctests to enable dynamic precision.

@copybara-service
copybara-service Bot merged commit a31129e into google:main Jul 7, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants