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

hyperscale-stack / businessid
94%

Build:
DEFAULT BRANCH: main
Repo Added 02 Jul 2026 12:17AM UTC
Token nxC3ync7mSVcGKtFnMKhvUu7OO5e4EDal regen
Build 13 Last
Files 21
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

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main
  • dependabot/github_actions/actions/checkout-7
  • feature/add-more-tests
  • feature/base
  • feature/more-test

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

Relevant lines Covered
Build:
Build:
2556 RELEVANT LINES 2407 COVERED LINES
55.78 HITS PER LINE
Source Files on main
  • Tree
  • List 21
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
28661745822 main 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 info... push 03 Jul 2026 12:52PM UTC euskadi31 github
94.17
28648797388 main fix(euid): remove incorrect NL KVK checksum + README review polish The nlRegisterChecksum used a mod-11 formula borrowed from the BSN context that does not apply to KVK-nummer. Verified against real KVK identifiers of Philips (17017728), ASML (17... push 03 Jul 2026 08:36AM UTC euskadi31 github
100.0
28648357537 main test: reach 100% statement coverage on VAT, EUID, SIREN, SIRET Add public tests for every code branch reachable through the public API, and internal tests for defensive fallthroughs (format-check gated paths) so they remain safe under future refa... push 03 Jul 2026 08:27AM UTC euskadi31 github
100.0
28557907829 main fix: apply code-review findings Correctness: - VAT: alnum key returns Unsupported before SIREN Luhn (spec fix); ValidateChecksum now enforces country-mismatch; Canonicalize no longer prepends the country code to an empty value. - Validator: t... push 02 Jul 2026 12:57AM UTC euskadi31 github
100.0
28556924053 main chore(deps): bump actions/checkout from 6 to 7 Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/... push 02 Jul 2026 12:28AM UTC euskadi31 github
100.0
28556743459 main chore: bump Go directive to 1.26 Aligns go.mod with the toolchain used locally and in CI so the module compiles without a downgrade prompt. push 02 Jul 2026 12:24AM UTC euskadi31 github
100.0
See All Builds (13)

Badge your Repo: businessid

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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