• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hgrecco / pint / 1125
91%

Build:
DEFAULT BRANCH: master
Ran 25 May 2019 05:21PM UTC
Jobs 12
Files 16
Run time 7min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1125

push

travis-ci

bors[bot]
Merge #811

811: Update to new SI definition and CODATA 2018 r=hgrecco a=Jellby

The SI has been redefined, by giving exact values to the Planck, Boltzmann and Avogadro constants, and the elementary charge. There are also new recommended values for other constants (CODATA 2018).

I've rewritten the `constants-en.txt` and `default-en.txt` according to these changes and also, I believe, for a better structure. The most significant changes:

* All units and constants defined from a few "experimental" values.
* For as much as I could find them, all factors are exact, except when noted. Floating point representation can introduce inaccuracies, though.
* US and imperial units may have changed their "reference" (to what I considered is most reasonable or authoritative), in practice values stay the same within floating point errors.
* Added some units and quantities.
* Fixed some units like Nm or au and parsec.
* Set the default Btu to the "ISO" Btu, and the default year to the Julian year (as recommended by the IAU)
* Defined units of the Gaussian system consistently, which makes them have different dimensionality from the corresponding SI units. Added a Gaussian context to allow conversions (with some caveats).
* Removed some units for which I could find no definition or reasonable use: chemical_faraday, physical_faraday, sidereal_hour, sidereal_minute, sidereal_second, work_year, work_month (they can of course be added back, hopefully with a better formal definition).
* Added atomic and Planck systems.
* Rearranged the order of units to "importance" (kind of) or field, rather than alphabetic.

I'm happy to undo some of the changes if they are considered undesirable. Note if/when #809 is accepted, I'd like to apply some minor fixes here.


Had to modify a couple of tests:

* For some reason (floating point errors, I guess), 4 mM -> mole/liter is no longer equal to 4e-3 M, only "almost equal".
* Updated the value of the Boltzmann constan... (continued)

2933 of 3315 relevant lines covered (88.48%)

10.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1125.1 (UNCERTAINTIES="N" PYTHON="3.3" NUMPY_VERSION=1.9.2 PANDAS=0) 25 May 2019 05:21PM UTC 0
85.67
Travis Job 1125.1
2 1125.2 (UNCERTAINTIES="N" PYTHON="3.4" NUMPY_VERSION=1.11.2 PANDAS=0) 25 May 2019 05:21PM UTC 0
85.73
Travis Job 1125.2
3 1125.3 (UNCERTAINTIES="N" PYTHON="3.5" NUMPY_VERSION=1.11.2 PANDAS=0) 25 May 2019 05:21PM UTC 0
85.73
Travis Job 1125.3
4 1125.4 (UNCERTAINTIES="Y" PYTHON="3.5" NUMPY_VERSION=1.11.2 PANDAS=0) 25 May 2019 05:22PM UTC 0
87.51
Travis Job 1125.4
5 1125.5 (UNCERTAINTIES="N" PYTHON="3.6" NUMPY_VERSION=1.11.2 PANDAS=0) 25 May 2019 05:21PM UTC 0
85.73
Travis Job 1125.5
6 1125.6 (UNCERTAINTIES="N" PYTHON="2.7" NUMPY_VERSION=0 PANDAS=0) 25 May 2019 05:24PM UTC 0
77.04
Travis Job 1125.6
7 1125.7 (UNCERTAINTIES="N" PYTHON="3.5" NUMPY_VERSION=0 PANDAS=0) 25 May 2019 05:24PM UTC 0
76.86
Travis Job 1125.7
8 1125.8 (UNCERTAINTIES="N" PYTHON="2.7" NUMPY_VERSION=1.14 PANDAS=0) 25 May 2019 05:25PM UTC 0
85.67
Travis Job 1125.8
9 1125.9 (UNCERTAINTIES="N" PYTHON="3.4" NUMPY_VERSION=1.14 PANDAS=0) 25 May 2019 05:26PM UTC 0
85.4
Travis Job 1125.9
10 1125.10 (UNCERTAINTIES="N" PYTHON="3.5" NUMPY_VERSION=1.14 PANDAS=0) 25 May 2019 05:26PM UTC 0
85.4
Travis Job 1125.10
11 1125.11 (UNCERTAINTIES="Y" PYTHON="3.5" NUMPY_VERSION=1.14 PANDAS=0) 25 May 2019 05:28PM UTC 0
87.27
Travis Job 1125.11
12 1125.12 (UNCERTAINTIES="N" PYTHON="3.6" NUMPY_VERSION=1.14 PANDAS=0) 25 May 2019 05:28PM UTC 0
85.4
Travis Job 1125.12
Source Files on build 1125
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1125
  • b5127a2d on github
  • Prev Build on master (#1121)
  • Next Build on master (#1141)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc