Fiscal Digital

Project evolution

What we are building right now to oversee more, better, with public proof of quality.

Why it matters

Every improvement listed here has a single goal: raise the chance that you can trust the alert showing up on /alertas. More coverage, more criteria, more transparency on how we measure quality.

Currently in progress

Active frontier, partially in production.

Supplier-level tracking (CNPJ)

In progress

Every CNPJ that appears in an alert now goes into a dedicated index. When the same vendor shows up across multiple findings in the same city, we flag the pattern.

A single contract may have an explanation. Three dispensations in 12 months to the same vendor deserves closer look. This index makes the pattern observable.

Status: in production, building history since 09 May 2026.

Continuous evaluation of Fiscal Agents

In progress

Each Fiscal Agent is evaluated against a public, manually-labeled case set (golden set). Target: 85% precision before every release.

It used to be 'works on manual testing'. Now it is 'measures against a fixed set of right and wrong examples, in public'. If it drops below, it does not publish.

Status: interactive labeling pipeline active. Initial set with 18 examples. Growing.

Recently shipped

What is finished and running.

Free-text search across the whole base

Shipped

Typing a word in /alertas now searches across all 180 published alerts, not just the latest 200. Covers CNPJ, contract, department, vendor and description.

Searching for 'Caxias do Sul' has to find all 60 alerts from that city, not just 1. That was the case until last week.

Status: in production since 10 May 2026.

Direct queries instead of full scans

Shipped

The API now fetches alerts by city or type via direct database indexes. It used to read 3.5 MB per query; now reads only what is needed.

Operating cost per query dropped, so did site latency. You feel it when switching filters on /alertas: the feed responds without waiting.

Status: in production. 180 alerts served in milliseconds.

Infrastructure for scale

Shipped

Every processed gazette leaves an auditable trail from the original PDF to the published alert. Point-in-time recovery, single-command rollback, risk-threshold calibration without redeploying.

To reach all 5,570 Brazilian municipalities without losing traceability or letting costs spiral, the infrastructure had to stop being experimental.

Status: completed on 09 May 2026. R$ 142 average monthly cost preserved.

Next frontiers

What comes next in the queue.

Coverage expansion

Next

Next frontier: cover all 5,570 Brazilian municipalities as Querido Diário indexes new ones. Today: 50 active cities, 26 with published findings.

Brazil has 5,570 municipalities. Each one publishes an official gazette every working day. Oversight cannot live only in major capitals.

Status: planned. Awaiting Querido Diário coverage expansion.

How we measure

Every evolution listed here is measurable. Published findings show up on /alertas with a link to the official gazette. Operating cost shows up on /transparencia/custos updated daily. The code is public at github.com/fiscal-digital.

Sustain the work

Every Catarse Recorrente supporter pays for a slice of what is described here. No government sponsorship, no party sponsorship, no data sale.