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

HSF / phoenix / 33860580820
55%
master: 38%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 04 Sep 2026 09:57AM UTC
Jobs 1
Files 58
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

04 Sep 2026 09:53AM UTC coverage: 45.957%. Remained the same
33860580820

push

github

web-flow
fix(event-display): correct anglesAreSane docs and test argument order (#986)

The doc comment on `CoordinateHelper.anglesAreSane` claimed a range of
`0 < theta < 2PI`, but the implementation checks `0 < theta < PI`. The
implementation is correct: theta is the polar angle, defined on [0, PI],
and `thetaToEta` computes `-log(tan(theta / 2))`, which is only real
there. In the JiveXML loader theta is derived via `atan(1 / cotTheta)`
and negatives are normalised by adding PI, so it always lands in (0, PI).

The existing test did not catch the discrepancy because it called
`anglesAreSane(phi, theta)` while the signature is `(theta, phi)`. With
`phi = 1.0` and `theta = 3.0` both orderings happened to return true, so
the swap was invisible and neither parameter was really covered.

Fix the doc comment to state the range the code enforces and explain why,
and replace the single swapped-argument assertion with cases that pass
the arguments in the declared order and cover each parameter
independently, including the exclusive boundaries at 0, PI and +/-PI.

No behaviour change.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

820 of 2085 branches covered (39.33%)

Branch coverage included in aggregate %.

3068 of 6375 relevant lines covered (48.13%)

189.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33860580820.1 04 Sep 2026 09:57AM UTC 58
45.96
GitHub Action Run
Source Files on build 33860580820
  • Tree
  • List 58
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • e4462d51 on github
  • Prev Build on main (#33859517064)
  • Next Build on main (#33860697023)
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