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

peczenyj / GDPR-IAB-TCFv2 / 26514552645
96%
main: 96%

Build:
Build:
LAST BUILD BRANCH: v0.530
DEFAULT BRANCH: main
Ran 27 May 2026 01:46PM UTC
Jobs 1
Files 18
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 May 2026 01:35PM UTC coverage: 96.264% (-0.05%) from 96.314%
26514552645

Pull #138

github

peczenyj
feat: align Validator disclosed-vendor + policy rules with Go lib-gdpr

Bring the Perl Validator's strict-path semantics into parity with the Go
lib-gdpr redesign branch (validator_strict.go + the surrounding gates):

- min_tcf_policy_version >= 5 now auto-enables verify_disclosed_vendors,
  and the mandatory disclosed-vendors check runs independently of it
  (mirrors Go New + yieldMandatoryDisclosedVendors).
- The policy-based "missing disclosed vendors" rule now requires the
  string's own policy version >= 5 (Go branch b); a policy-2/4 string
  under a policy-5 floor fails the floor instead.
- Merge the floor and v2.3-deadline policy checks into _check_policy_version
  so at most one PolicyVersionTooLow is emitted (Go yieldPolicyVersionFailure).
- A flexible purpose rejected by a NotAllowed publisher restriction now
  reports ReasonPublisherRestrictionNotAllowed instead of the generic
  vendor-not-allowed reason (Go runFlexibleCheck).

The v2.3 deadline boundary stays inclusive (created >= deadline), matching
the IAB "mandatory on 2026-02-28" wording and the parser's is_v23.

Add t/18-go-parity.t pinning each rule to its Go counterpart; update t/06
and t/17 to the aligned behavior; regenerate the golden corpus (verified
the flipped outcomes match Go).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Pull Request #138: Feat/cross lang validator parity

55 of 57 new or added lines in 2 files covered. (96.49%)

3 existing lines in 1 file now uncovered.

1211 of 1258 relevant lines covered (96.26%)

25436.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
97.45
-0.99% lib/GDPR/IAB/TCFv2/Validator.pm

Coverage Regressions

Lines Coverage ∆ File
3
97.45
-0.99% lib/GDPR/IAB/TCFv2/Validator.pm
Jobs
ID Job ID Ran Files Coverage
1 26514552645.1 27 May 2026 01:46PM UTC 18
96.26
GitHub Action Run
Source Files on build 26514552645
  • Tree
  • List 18
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #138
  • PR Base - devel (#26045314231)
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