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

philihp / openskill.js / 26803187724
100%

Build:
DEFAULT BRANCH: main
Ran 02 Jun 2026 06:42AM UTC
Jobs 1
Files 17
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

02 Jun 2026 06:42AM UTC coverage: 100.0%. Remained the same
26803187724

push

github

web-flow
fix: treat zero-indexed equal ranks as draws (#999)

The rankings helper used `rank[i] || i`, which falls back to the team
index whenever a rank is 0 (falsy). This turned a zero-indexed draw such
as rank: [0, 0] into a ranked outcome [0, 1], producing a win/loss
instead of a tie. Using nullish coalescing (`rank[i] ?? i`) only falls
back to the index for genuinely missing ranks, so equal ranks (and equal
scores, which map to rank 0) are correctly treated as draws.

Fixes #262

https://claude.ai/code/session_01WY8h6aYpiYfRobypqjTHgB

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

169 of 169 branches covered (100.0%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

647 of 647 relevant lines covered (100.0%)

66.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26803187724.1 02 Jun 2026 06:42AM UTC 17
100.0
GitHub Action Run
Source Files on build 26803187724
  • Tree
  • List 17
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26803187724
  • ea93ac7c on github
  • Prev Build on main (#26713328944)
  • Next Build on main (#26805502397)
  • Delete
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

© 2026 Coveralls, Inc