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

jqueguiner / num2words2 / 25196818773
94%

Build:
DEFAULT BRANCH: master
Ran 01 May 2026 12:52AM UTC
Jobs 6
Files 320
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

01 May 2026 12:49AM UTC coverage: 94.479% (-0.001%) from 94.48%
25196818773

push

github

web-flow
Korean: fix ordinal conversion KeyError on hundreds (100, 200…) (#34)

Ports savoirfairelinux/num2words#556 by @dogzz9445.

The old to_ordinal logic split outwords on "백" (hundred) and assumed
the trailing slice contained either a tens word ("십") or a single-digit
ordinal-mappable form. For values like 100 / 200 the trailing slice was
empty, raising KeyError.

The new logic uses a positive-lookbehind regex split that keeps the
"천"/"백" markers attached to the preceding tokens, falls back to the
identity mapping when an entry is missing, and rejoins without inserting
extra spaces.

Test data updated for the new rejoin semantics:
- 101 → "백한 번째" (was "백 한 번째")
- 137 → "백서른일곱 번째" (was "백 서른일곱 번째")

Original PR: https://github.com/savoirfairelinux/num2words/pull/556
(Resolves upstream #555.)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

7838 of 8888 branches covered (88.19%)

Branch coverage included in aggregate %.

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

40338 of 42103 relevant lines covered (95.81%)

5.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3.13 - 25196818773.1 01 May 2026 12:53AM UTC 320
94.47
GitHub Action Run
2 3.9 - 25196818773.2 01 May 2026 12:53AM UTC 320
94.47
GitHub Action Run
3 3.10 - 25196818773.3 01 May 2026 12:53AM UTC 320
94.47
GitHub Action Run
4 3.8 - 25196818773.4 01 May 2026 12:53AM UTC 320
94.51
GitHub Action Run
5 3.11 - 25196818773.5 01 May 2026 12:53AM UTC 320
94.47
GitHub Action Run
6 3.12 - 25196818773.6 01 May 2026 12:53AM UTC 320
94.47
GitHub Action Run
Source Files on build 25196818773
  • Tree
  • List 320
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • e2ef7bb7 on github
  • Prev Build on master (#25196817089)
  • Next Build on master (#25196820673)
  • 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