DEV Community

Emil
Emil

Posted on

Democratic Erosion Detection framework using OSINT data

Systemic institutional pattern analysis tool. Determines whether documented events represent isolated incidents or components of a systemic pattern of democratic or institutional erosion.

Analyze cross-domain statistics and news feed cross-cycles.

The tool applies a structured analytical framework to user-provided source material. Such as:

  • official statistics
  • government documents
  • verified news reporting

Findings outputs in three explicit layers:

  • documented facts
  • observed patterns
  • probability assessments

The layers are always kept distinct.

Core methodology:

  1. refuse "isolated incident" framing by default
  2. distinguish formal institutional existence from functional performance
  3. cross-reference government narrative against primary data from those same institutions
  4. weight institutional response to exposure as data equal to the event itself.

Reference implementation covers Sweden 2019–2026 here:

https://github.com/pablo-chacon/pattern-analyzer/blob/main/docs/SWEDEN_REFERENCE_IMPLEMENTATION.md

System prompt encoding the methodology is visible in src/App.jsx.

Bring your own Anthropic API key. No backend, no data collection. Remember to use good quality data. Better data = Better results.

Repo: github.com/pablo-chacon/pattern-analyzer

Tool: https://pattern-analyzer-delta.vercel.app/

Top comments (0)