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

hyperscale-stack / businessid / 28661745822
94%

Build:
DEFAULT BRANCH: main
Ran 03 Jul 2026 12:52PM UTC
Jobs 1
Files 21
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

03 Jul 2026 12:51PM UTC coverage: 94.171% (-5.8%) from 100.0%
28661745822

push

github

euskadi31
feat(testdata): real-world business-id corpus + integration tests

Add a hand-collected corpus of ~1300 real business identifiers (SIREN,
SIRET, VAT, national register numbers for BE/DE/ES/FR/IT/NL) sourced
from official registries, Wikipedia infoboxes and corporate legal
notices. The corpus lives under testdata/ and is consumed by four new
real-world tests (one per provider) plus a native-algorithm test under
providers/euid/. This gives the library a broader real-world safety
net than the current ~10 known-values-per-country coverage.

Layout:
  testdata/
    registers/<cc>-valide.txt   raw national register (source of truth)
    euid/<cc>-valide.txt        derived from registers, "<CC><REG>." prefix
    vat/<cc>-valide.txt         hand-collected VAT numbers (~25 per country)
    siret/fr-valide.txt         FR SIRETs (source of truth for FR)
    siren/fr-valide.txt         derived from SIRETs (siret[:9], dedupped)
    MANIFEST.md                 sources, counts, gaps

The derived files (euid/, siren/fr, registers/fr) are regenerated by
`go run ./hack/derive-corpus`, itself packaged as a separate module
under a Go workspace so its dev-tool dependencies stay isolated from
the library.

Countries covered (initial pass): BE (42), DE (100), ES (26), FR (113
SIRETs), IT (100), NL (81) for registers; ~25 VAT each. Remaining 21
EU countries: to be added later.

Data-quality notes:
- Numbers are collected first, tests run second, and failing entries
  are triaged one by one: real lib bug → fix; wrong transcription →
  remove. That process surfaced the ES CIF letter-check fix (separate
  commit) and revealed a batch of fabricated Wikipedia-sourced NL VAT
  numbers, replaced by btw-zoeken.nl-verified values.

Workspace / tooling:
- go.work + hack/derive-corpus/go.mod isolate the CLI.
- CI's go-version-file switched from go.mod to go.work.
- Makefile's `generate` target now loops over both modules like the
  other targets.

Tests: 2027 passing, 100 % statement c... (continued)

0 of 149 new or added lines in 1 file covered. (0.0%)

2407 of 2556 relevant lines covered (94.17%)

55.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
149
0.0
hack/derive-corpus/main.go
Jobs
ID Job ID Ran Files Coverage
1 28661745822.1 03 Jul 2026 12:52PM UTC 21
94.17
GitHub Action Run
Source Files on build 28661745822
  • Tree
  • List 21
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c6b7a8fc on github
  • Prev Build on main (#28648797388)
  • 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