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

jqueguiner / words2num2 / 30292602150
59%
main: 59%

Build:
Build:
LAST BUILD BRANCH: fix-spoken-year-forms
DEFAULT BRANCH: main
Ran 27 Jul 2026 06:12PM UTC
Jobs 6
Files 6
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

27 Jul 2026 06:10PM UTC coverage: 59.459%. Remained the same
30292602150

Pull #7

github

jqueguiner
feat(core): compose multi-scale cardinals for reverse-table locales

The reverse-table backend only covers LOOKUP_RANGE (-1..10001), so spoken
numbers above it (e.g. FR "soixante-neuf mille huit" = 69008) had no
whole-string entry and the sentence walker emitted the fragments "69 1000 8".

Add parse_scaled: derive each locale's scale words (mille/million/milliard) by
rendering 10^3/10^6/10^9 via num2words, then recursively compose
left*scale+right. Wired into base_convert after the table miss, cardinal only.
Space-separated locales (fr/es/pt/...) gain thousands/millions; agglutinative
ones (de/nl) find no split token and fall back to the table unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #7: Compose multi-scale cardinals for reverse-table locales

44 of 74 relevant lines covered (59.46%)

3.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3.12 - 30292602150.1 27 Jul 2026 06:14PM UTC 6
59.46
GitHub Action Run
2 3.15 - 30292602150.2 27 Jul 2026 06:14PM UTC 6
58.9
GitHub Action Run
3 3.13 - 30292602150.3 27 Jul 2026 06:14PM UTC 6
59.46
GitHub Action Run
4 3.11 - 30292602150.4 27 Jul 2026 06:14PM UTC 6
59.46
GitHub Action Run
5 3.14 - 30292602150.5 27 Jul 2026 06:14PM UTC 6
58.9
GitHub Action Run
6 3.10 - 30292602150.6 27 Jul 2026 06:14PM UTC 6
59.46
GitHub Action Run
Source Files on build 30292602150
  • Tree
  • List 6
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #7
  • PR Base - main (#30247179635)
  • Delete
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