Field notes · Methodology

How we keep country data fresh

Statutory law changes weekly somewhere. Here's the freshness-monitoring stack that catches it before your payroll does.

Published

A country guide that was correct in March can be wrong by May. Minimum wages go up. Tax brackets shift. New leave categories get added. We've built our freshness monitoring on the assumption that data goes stale faster than people update it.

Per-source SLA windows

Every source we track carries a refresh cadence written into the manifest (data/country-intelligence/source-freshness-sla.json):

  • Daily — gazettes, alerts, breaking-news feeds, status pages
  • Weekly — labour ministries, tax authorities, social security
  • Monthly — ISO references, currency lists, treaty registers

When a source misses its window — by network failure, by 5xx, by URL move — we don't silently ignore. We raise an authority alert.

Content-hash diffing

For every captured document, we record a SHA-256 of the normalised content. The next check computes the new hash and compares. If they differ, we capture the diff and write a row to the update ledger.

We don't trust HTTP headers alone. Last-Modified lies. ETags get reset on cache invalidation. Content-hash on normalised text is the only reliable signal.

What you see as a customer

Three layers, increasing levels of filter:

  1. /changelog/country-intelligence — the raw tail. Every source check, every result. Last 100 visible, paginatable.

  2. /authority-alerts — the curated subset. Material changes only — minimum wage updates, new tax brackets, leave-law amendments. Available as a JSON feed at /api/feeds/authority-alerts.

  3. Customer-filtered alerts — for customers hiring in N countries, we filter the authority feed to just those N. Delivered to Slack / email / webhook.

What we don't do

We don't claim "real-time monitoring." Government source servers are not stream-friendly. We claim scheduled monitoring with disclosed cadences — which is what's actually happening behind every vendor's freshness story.

We don't email customers about every diff. A typo correction on a gazette page is a diff but isn't an alert. We have content rules to filter material changes (heading edits, number changes in known statutory paragraphs, new sections) from cosmetic ones.

We don't fail silently. If a labour ministry has been unreachable for 72 hours, that's an alert — not because the law changed, but because we lost the ability to know if it changed.

How to use it

If you're a customer, subscribe to authority alerts for the countries you hire in. If you're evaluating us, browse the changelog for the country you care about most — look at how recently each of its six sources was checked. That's the evidence.

Our data page shows the live numbers. Updated on every page load.