Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FairSwarm Landing Page

⚖️ FairSwarm

Detect AI Bias Before It Harms Real People.

🏆 Built for the Google Solution Challenge 2026

Live Demo

LinkedIn X


🌍 The Problem: Algorithmic Discrimination

As Artificial Intelligence rapidly integrates into hiring, lending, healthcare, and criminal justice, unchecked algorithmic bias systematically marginalizes vulnerable groups. A single AI model can harbor deeply embedded prejudices derived from its training data, leading to severe, real-world consequences.

Our Mission proudly aligns with the United Nations Sustainable Development Goals (SDGs):

  • 🎯 Goal 10: Reduced Inequalities
  • 🎯 Goal 16: Peace, Justice, and Strong Institutions

💡 The Solution: Swarm Intelligence

FairSwarm is an enterprise-grade AI Bias Detection Platform that fights discrimination using Swarm Intelligence. Instead of relying on a solitary (and potentially biased) AI validator, FairSwarm simultaneously deploys a "swarm" of state-of-the-art AI models—powered predominantly by Google Gemini 2.0. Each model audits your dataset from a distinct perspective, converging into a single, highly reliable FairSwarm Consensus Score.

✨ Key Features

  • 🤖 Multi-Model Consensus (Swarm Auditing): Eradicates the "blind spots" of individual LLMs by cross-verifying results across 4 distinct AI engines.
  • 📊 Deep Fairness Analytics: Automatically calculates and visualizes mathematical parity metrics like Disparate Impact Ratio and Statistical Parity Difference.
  • ⚡ Blazing Fast Asynchronous Engine: Processes massive datasets in parallel. What traditionally takes data scientists days of manual analysis now finishes dynamically in under 5 minutes.
  • 📱 Cinematic User Experience: Stunning, interactive dashboard with real-time progress tracking, powered by Framer Motion and Recharts.
  • 🔒 Enterprise Security: Built with strict CORS, CSRF envelope protection, and stateless JWT authentication.

🛠️ Key Technologies & Architecture

💻 Frontend (Client & UX)

  • Next.js 16.2 (App Router): Ensures maximum performance, dynamic routing, and blazing-fast edge delivery.
  • React & TypeScript: Provides absolute type safety and a fiercely robust component architecture.
  • Tailwind CSS & Framer Motion: Delivers a responsive, accessible, and beautifully animated user interface that instantly impresses.
  • Recharts: Renders complex statistical dataset metrics into effortlessly digestible charts and graphs.

⚙️ Backend (API & Processing)

  • Python 3.12+ & FastAPI: Chosen for top-tier asynchronous request handling—perfect for I/O-heavy, parallel LLM API processing.
  • Pandas & Scikit-Learn: Powers the core algorithmic engine that computes standard fairness metrics securely on raw CSV attributes.
  • Pytest (Coverage Enforced): A strictly tested CI pipeline ensuring mathematical accuracy and structural reliability.

🧠 AI & Swarm Infrastructure

  • Google Gemini 2.0 (Core Engine): The primary and most intelligent node for deep reasoning, bias identification, and generating plain-English mitigation strategies.
  • Llama 3, Mixtral, Groq Engine: High-velocity secondary consensus nodes used entirely to enforce strict audit validation.

🗄️ Database & DevOps

  • Supabase: Highly secure serverless PostgreSQL database managing user authentication, analysis history, and large-scale dataset storage.
  • Vercel & Render: Vercel powers the global Edge Network for the frontend UX, while Render securely scales the compute-intensive Python backend containers.
  • GitHub Actions: Automated CI/CD pipelines strictly enforcing codebase quality constraints before any live deployment.

🚀 How It Works (The User Journey)

  1. Upload Dataset: Users securely upload their raw or structured datasets (CSV).
  2. Flag Sensitive Attributes: Users tag which dataset columns contain protected classes (e.g., Race, Gender, Age).
  3. Swarm Analysis: The FastAPI backend chunks the data and dispatches it asynchronously to the Swarm Intelligence models.
  4. Generate Consensus: Predictions are aggregated, mathematical fairness metrics are verified via Pandas, and an authoritative "Grade" is assigned.
  5. Mitigation Plan: The platform generates actionable, code-ready mitigation strategies to help developers fix their datasets before real-world deployment.

👨‍💻 Lead Developer


"Technology should empower humanity, not encode its prejudices."

About

Swarm Intelligence Bias Auditor

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages