Skip to content

Output uptake message with 3 decimals #481

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
pascalchevrel opened this issue Sep 19, 2024 · 1 comment
Open

Output uptake message with 3 decimals #481

pascalchevrel opened this issue Sep 19, 2024 · 1 comment
Labels

Comments

@pascalchevrel
Copy link
Member

pascalchevrel commented Sep 19, 2024

In whattrainisitnow.com, I parse the message field in https://pollbot.services.mozilla.com/v1/firefox/130.0/telemetry/main-summary-uptake to extract the uptake rate.

This rate only has 1 decimal, could we have 3 decimals instead to reduce the rounding?

I believe just changing this line:
https://pollbot.services.mozilla.com/v1/firefox/130.0/telemetry/main-summary-uptake

Not a python person, but I think that changing {:.1f} to {:.3f} would probably do it.

Happy to make a pull request if necessary.

Thanks

@pascalchevrel pascalchevrel changed the title Output uptake message with 2 decimals Output uptake message with 3 decimals Sep 20, 2024
@JohanLorenzo
Copy link
Contributor

Fixed in #482

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants