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

jqueguiner / num2words2 / 25196796918 / 4
94%
main: 95%

Build:
Build:
LAST BUILD BRANCH: feat/sentence-multilang-ordinals
DEFAULT BRANCH: main
Ran 01 May 2026 12:52AM UTC
Files 320
Run time 11s
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.475%. Remained the same
25196796918.4

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>

7278 of 8300 branches covered (87.69%)

Branch coverage included in aggregate %.

40331 of 42093 relevant lines covered (95.81%)

0.96 hits per line

Source Files on job 3.12 - 25196796918.4
  • 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 Build 25196796918
  • f79ae007 on github
  • Prev Job for on master (#25196790235.3)
  • Next Job for on master (#25196801712.2)
  • 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