Skip to content
CAI
Software that uses CAICheck a score

cults/tin_valid

67.0

Adequate · 16 November 2026

1.7k

lines of production code

Ruby

primary language

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

1 commit (0 fixes) modifying doc

A change to existing behaviour in doc — 1 commit, 136 files: “Include official EU documentation PDFs (\#27)” (refs \#27).

doc · medium confidence · unverified

2 commits (0 fixes) modifying bin

A change to existing behaviour in bin — 2 commits, 2 files: “v1.1.2 🎉”; “Add Germany 🇩🇪”.

bin · medium confidence · unverified

23 commits (0 fixes) modifying lib

A change to existing behaviour in lib — 23 commits, 1 file: “Add Lithuania 🇱🇹 (\#4)”; “Add Spain 🇪🇸 (\#13)”; “Add Greece 🇬🇷”; and 20 more (refs \#4, \#13, \#18, \#17, \#14, …).

lib · medium confidence · unverified

50 commits (8 fixes) modifying lib/tin\_valid

A change to existing behaviour in lib/tin\_valid — 50 commits (8 fixs), 31 files: “Test against clearly invalid codes 00000… and 123456… (\#15)”; “Add Lithuania 🇱🇹 (\#4)”; “Add Spain 🇪🇸 (\#13)”; and 47 more (refs \#15, \#4, \#13, \#25, \#19, …).

_lib/tin\valid · medium confidence · unverified

60 commits (8 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 60 commits (8 fixs), 5 files: “Test against clearly invalid codes 00000… and 123456… (\#15)”; “Add Lithuania 🇱🇹 (\#4)”; “Add Spain 🇪🇸 (\#13)”; and 56 more (refs \#15, \#4, \#13, \#25, \#19, …).

(repo-wide) · low confidence · unverified

Test coverage

37 commits adding/updating tests in spec/tin\_valid; 6 commits adding/updating tests in spec.

Dependencies

16 commits updating dependencies (2 manifests)

A dependency / build maintenance change in (dependencies) — 16 commits, 2 files: “Add Lithuania 🇱🇹 (\#4)”; “v1.1.1 🎉”; “Bump json from 2.10.2 to 2.19.9 (\#38)”; and 13 more (refs \#4, \#38, \#40).

(dependencies) · medium confidence · unverified

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 67.0.

Lenses

  • Code Health 73.6
  • Architecture 100.0
  • Maturity 54.4
  • Readiness 70.7
  • Security 100.0

Changes since last survey

  • 65 commits — 57 feature/other, 8 fixes

By area

  • (root) — 55 commits
  • lib/tin_valid — 4 commits
  • spec/tin_valid — 4 commits
  • doc/tin_by_country — 1 commit
  • spec/readme_spec.rb — 1 commit

Notable commits

  • fix: Add Finland fix (#28)
  • fix: Fix Belgium to ignore - and . 🇧🇪 (#33)
  • fix: Fix Czechia to accept CZ prefix 🇨🇿 (#34)
  • fix: Fix Denmark check for certain ranges of birth years 🇩🇰 (#29)
  • fix: Fix Denmark to ignore a - 🇩🇰 (#36)
  • fix: Fix Luxembourg check (#22)
  • fix: Fix Sweden TINs versions with 4-digit years 🇸🇪 (#35)
  • fix: Fix birth date check for Italy when year is between 1900..1909 or 2000..2009 (#19)
  • change: Accept SIREN for France (#20)
  • change: Accept / for Czechia 🇨🇿 (#26)
  • change: Accept symbols for country code and kind (#25)
  • change: Add Finland 🇫🇮 (#17)
  • change: Add France 🇫🇷 (#16)
  • change: Add Germany 🇩🇪
  • change: Add Greece 🇬🇷
  • change: Add Hungary
  • change: Add Ireland 🇮🇪
  • change: Add Italy 🇮🇹 (#1)
  • change: Add Latvia 🇱🇻 (#3)
  • change: Add Lithuania 🇱🇹 (#4)
  • …and 45 more

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

cults/tin_valid was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 16 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit e7ff2615a1d1897bd8cb523718af2ccd437a0f34 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.83+preprod-a489942cf94b.