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

uber / h3-go / 39823171393
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: feat/geodesic-polyfill
DEFAULT BRANCH: master
Ran 22 Oct 2026 05:33PM UTC
Jobs 1
Files 19
Run time 1min
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

22 Oct 2026 05:29PM UTC coverage: 100.0%. Remained the same
39823171393

Pull #177

github

justinhwang
h3: group the constants and derive the ones that repeat a value

constants.go was one flat block with a few related declarations scattered
through index.go, hierarchy.go and faceijk.go. It is now one block per
concern: exported limits, degree spans, the C library's mathematical
constants, cell geometry counts, index digits, faceNeighbors slots, the
index bit layout and the table sentinels.

Values that restate another are derived from it. The digits are the C
Direction enum, 0 through 7 in order, so they are an iota sequence ending
in numDigits, the one name for 7 as both the digit count and the unset
value of a digit; invalidDigit was the same constant under another name.
dirIJ, dirKI and dirJK are iota + 1, slot 0 of faceNeighbors being the
face itself. twoPiDeg and halfPiDeg come from piDeg, digitMask from
perDigitOffset, h3Init is every digit set to numDigits, and numCellEdges
is one edge per hexagon vertex. maxCellBoundaryVerts duplicated the
exported MaxCellBndryVerts and is gone. numHexChildren and
numPentChildren were also 7 and 6 under other names, one child per valid
digit less the pentagon's deleted one; fullChildCount states them
directly, as its doc comment already did. polyfill set a parent's digit
to digitMask where it meant the unset digit. No value changed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Pull Request #177: h3: group the constants and derive the ones that repeat a value

31 of 31 new or added lines in 10 files covered. (100.0%)

3669 of 3669 relevant lines covered (100.0%)

5169754.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go- - 39823171393.1 22 Oct 2026 05:33PM UTC 19
100.0
GitHub Action Run
Source Files on build 39823171393
  • Tree
  • List 19
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #177
  • PR Base - master (#39685380154)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc