IdeaCredIdeaCred

rodanaya/yangwenli

51

AI-powered corruption detection platform analyzing 3.1M Mexican federal procurement contracts (2002-2025). 16-feature per-sector calibrated risk model with 96% AUC, validated against 15 documented corruption cases worth 253B MXN.

What's novel

AI-powered corruption detection platform analyzing 3.1M Mexican federal procurement contracts (2002-2025). 16-feature per-sector calibrated risk model with 96% AUC, validated against 15 documented corruption cases worth 253B MXN.

Code Analysis

10 files read · 3 rounds

A full-stack platform that analyzes 3.1M Mexican government procurement contracts using entity resolution (Spanish name normalization, phonetic matching, blocking), a multi-signal risk scoring pipeline (ARIA) that classifies vendors into 7 corruption typologies, and serves the results through a Fast

Strengths

The Hyperion entity resolution engine is genuinely well-crafted with domain-specific Spanish phonetic encoding, 80+ legal suffix variations, and a proper blocking strategy engine that reduces O(n²) comparisons. The ARIA pipeline is a real multi-signal scoring system with tiered investigation queues, ground truth validation against 748 documented cases, false-positive exception handling, and a full review workflow — not just a wrapper around a library.

Weaknesses

The core risk model (active_model.py, the actual scoring algorithm) was not visible in the explored files, making it hard to verify the claimed AUC-ROC scores and 'calibrated statistical model' claims. The analysis router is a 203KB monolith, and the 500+ _aria_cases_*.py scripts suggest the investigation case generation is largely manual/scripted rather than fully automated.

Score Breakdown

Innovation
7 (25%)
Craft
46 (35%)
Traction
4 (15%)
Scope
47 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+3

Craft

Ci+5
Tests+8
Polish+3
Releases+5
Has License+5
Code Quality+22
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+5
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+3
Early Traction+0
Devto Reactions+0
Community Contribs+0

Scope

Commits+8
Languages+8
Subsystems+10
Bloat Penalty+0
Completeness+7
Contributors+5
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

427

Contributors

1

Files

761

Active weeks

9

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

2

Forks

0

License

Apache-2.0