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

jqueguiner / num2words2 / 25196796918
94%

Build:
DEFAULT BRANCH: master
Ran 01 May 2026 12:49AM 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.487% (+0.001%) from 94.486%
25196796918

push

github

web-flow
ID: extract literal strings to named class constants (#38)

Ports the lang_ID.py refactor portion of savoirfairelinux/num2words#293
by @jenniegunawan, originally bundled with the ID/MS split (which
num2words2 already ships separately).

Replaces four hardcoded literals scattered through the conversion logic
with class constants that subclasses can override:

- ZERO              ("nol")
- DECIMAL_SEPARATOR ("koma")
- CURRENCY          ("rupiah")
- MINUS_SIGN        ("min")

No behavior change — all 7 existing ID tests still pass — but the
constants make the file easier to extend (e.g. for a future MS
subclass that wants to override one literal without copying the
whole conversion logic).

Original PR: https://github.com/savoirfairelinux/num2words/pull/293
(Behavior parts of the upstream PR — the ID/MS split itself — were
already in num2words2.)

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

7828 of 8876 branches covered (88.19%)

Branch coverage included in aggregate %.

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

40331 of 42093 relevant lines covered (95.81%)

5.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3.13 - 25196796918.1 01 May 2026 12:52AM UTC 320
94.48
GitHub Action Run
2 3.9 - 25196796918.2 01 May 2026 12:52AM UTC 320
94.48
GitHub Action Run
3 3.11 - 25196796918.3 01 May 2026 12:52AM UTC 320
94.48
GitHub Action Run
4 3.12 - 25196796918.4 01 May 2026 12:52AM UTC 320
94.48
GitHub Action Run
5 3.10 - 25196796918.5 01 May 2026 12:52AM UTC 320
94.48
GitHub Action Run
6 3.8 - 25196796918.6 01 May 2026 12:52AM UTC 320
94.51
GitHub Action Run
Source Files on build 25196796918
  • 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
  • f79ae007 on github
  • Prev Build on master (#25196790235)
  • Next Build on master (#25196801712)
  • 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