Skip to main content
The Swarmers
All case studiesCase study

Automated audit of public procurement

A sovereign audit prototype on real public-procurement data: enforceable rules, an evidence file per alert, 100% local OCR.

The context

  • An in-house research prototype by The Swarmers, built on publicly available data from Morocco's public procurement portal
  • Hundreds of tender notices to analyze, with attachments in heterogeneous formats (scanned PDFs, spreadsheets, annexes)
  • Compliance checking done by hand can only ever cover a fraction of the files
  • Sovereignty requirement: no data may leave the infrastructure

What we did

  • Automated collection (web scraping) of tender notices and their attachments
  • Document intelligence: 100% local multi-modal OCR, zero cloud calls, structured extraction of every document
  • Deterministic rules engine, mapped article by article to Moroccan decree no. 2-22-431
  • An “evidence file” per alert: source, SHA-256 fingerprint, article invoked, expected value vs observed value
  • Human review built into the flow: the system prepares and documents, a human validates before any decision

The results

  • Every anomaly is traceable and enforceable, backed by the article of the decree it breaches
  • An end-to-end verifiable chain of evidence, from source document to alert (SHA-256 fingerprint)
  • Sovereign AI: on-premise processing, no data sent to any third party
  • Data governance secured by a complete, reproducible audit log

Your case is different?

Tell us about your project. We'll tell you honestly how we can help.

Book a free diagnostic