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

CODATA 2022 update #2049

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

CODATA 2022 update #2049

wants to merge 4 commits into from

Conversation

Jellby
Copy link
Contributor

@Jellby Jellby commented Aug 21, 2024

Update physical constant values to the latest CODATA 2022 recommended values (from https://pml.nist.gov/cuu/Constants/). Small change, but there's no reason to stay outdated 😁

  • Executed pre-commit run --all-files with no errors
  • The change is fully covered by automated unit tests
  • Documented in docs/ as appropriate
  • Added an entry to the CHANGES file

Copy link

codspeed-hq bot commented Aug 21, 2024

CodSpeed Performance Report

Merging #2049 will degrade performances by 21.46%

Comparing Jellby:codata_2022_update (736ee66) with master (8f12bb9)

Summary

❌ 2 regressions
✅ 435 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark master Jellby:codata_2022_update Change
test_to_units_container_detached[False-angstrom] 45.2 µs 57.5 µs -21.46%
test_to_units_container_detached[False-meter] 45.4 µs 57.3 µs -20.84%

Ignacio Fdez. Galván added 2 commits August 22, 2024 14:08
Like most "measured constants", they're not measured directly, but
derived from other measures. However, the list of CODATA values
includes these (and their uncertainties and correlations), so it's
better to treat them as other constants.
@Jellby Jellby changed the title Codata 2022 update CODATA 2022 update Aug 22, 2024
@Jellby
Copy link
Contributor Author

Jellby commented Sep 23, 2024

Is there anything I should fix? I don't think any documentation (beyond the changelog) or any new test is needed. And surely the PR is not going to be rejected for those µs in the benchmark?

@andrewgsavage
Copy link
Collaborator

andrewgsavage commented Sep 25, 2024 via email

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