Radar de Riscos Informativos

A fact-checking pipeline from the University of Brasília: it splits a text into claims, finds sources and returns a verdict with evidence.

Case 05 · Research

The problem

Checking a text by hand takes hours: separating what can be verified, finding reliable sources, comparing them. In 2025 the University of Brasília funded a team of students and staff to automate that path. I was on the development team.

What the system does

  • Extracts the verifiable claims from a text

  • Searches four providers and switches when one fails

  • Filters sources against a list of more than 2,000 scored domains

  • Reranks the results and searches again if fewer than five remain

  • Returns a verdict per claim, with reasoning, confidence and sources

  • Reads text from images and exports the report as JSON, PDF and Markdown

Architecture in three steps

  1. Splits out the claims

    A model extracts only what can be verified from the text, with limits on length and count.

  2. Finds and filters sources

    Four search providers with automatic switching. Only domains above the credibility cut-off get in.

  3. Returns the verdict

    Each claim gets a verdict, the reasoning, a confidence level and the sources used. The report exports as JSON, PDF and Markdown.

Security controls

  • Model responses validated against schemas before the report

  • Input capped in length

  • Rate and concurrency limits on external calls

  • Non-root container with CPU and memory limits

Stack. Language: Python · Models: Open and commercial, through an OpenAI-compatible API · Search: Google, SearXNG, Brave, Tavily · Interface: Streamlit · Deployment: Docker

See the next case