Detect. Explain. Act.
An AI-powered workplace gender-equity decision-support watchdog.
🔗 Live Production Application: https://equiwatch-analytics.vercel.app
| Workplace Equity Overview | Workload & Overtime Analysis |
|---|---|
![]() |
![]() |
| Comparable Pay & Compensation Gaps | AI Analyst & Copilot Assistant |
|---|---|
![]() |
![]() |
EquiWatch is a full-stack, production-grade SaaS analytics application that analyzes organizational workforce data (tasks, hours, roles, seniority, compensation, and promotions) to identify potential gender-equity disparities, explain longitudinal patterns using grounded statistical methods, and provide HR teams with actionable investigation roadmaps.
EquiWatch is strictly a decision-support system, not an autonomous judge. It detects potential disparities for human review without asserting guilt, illegal conduct, or intentional discrimination.
- Workplace Equity Overview: Real-time status across all departments with a prioritized "Where Should HR Look First?" review queue.
- Comparable-Group Fairness Checks: Controls for role title, seniority tier, department, and tenure to demonstrate that not every raw difference is a structural disparity (e.g., explaining why raw salary gaps disappear when controlling for seniority).
- Four Core Analytical Pillars:
- Workload: Average hours, overtime distribution, and Mann-Whitney U tests.
- Task Allocation: Categorized into 7 areas (administrative, coordination, operational, technical, strategic, client-facing, leadership), identifying non-promotable work burdens.
- Pay & Compensation: Raw median vs comparable-group controlled pay gaps, bonus allocations, and merit increment percentages.
- Promotions & Velocity: Multi-quarter advancement rates, widening gap trajectory detection, and average tenure in band before promotion.
- "What Should HR Do?" Action Experience: Instant drawer generating evidence dossiers, customized leadership 1-on-1 discussion scripts, data audit checklists, and threshold explanations.
- "Explain This Trend" AI Chart Interpretation: Ingests verified underlying numbers (not screenshots) to provide contextual observations and key caveats.
- Conversational AI Analyst: Side panel assistant that answers complex HR inquiries while citing verified metric badges and sources.
- Executive Review Dossier Generator: One-click department and company-wide report generator with printable/PDF export styling.
- Validated CSV Ingestion & Data Management: Drag-and-drop CSV importer with strict schema validation, type checking, and deduplication.
- Empirical Precision/Recall Harness: Honest validation benchmark measuring actual precision and recall on synthetic control cases without fabricated numbers.
- Government Sector Monitor (Future Scope Concept): Anonymized, aggregated cross-industry oversight with zero employee PII leakage.
| Layer | Technology |
|---|---|
| Frontend | React 19, TypeScript, Tailwind CSS, Recharts, Lucide React, React Router v7 |
| Backend | Python 3.9+, FastAPI, Pydantic v2, SQLAlchemy 2.0 |
| Data & Stats | Pandas, NumPy, SciPy (Mann-Whitney U, Chi-Square, t-tests), Scikit-learn |
| AI Layer | Grounded prompting with Gemini API / OpenAI support & local deterministic fallback engine |
| Database | SQLite (zero-config local start) / PostgreSQL (production) |
| DevOps | Docker, Docker Compose |
# Navigate to backend directory
cd backend
# Create and activate virtual environment
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt email-validator
# Run backend server (Auto-seeds demo dataset on first start)
PYTHONPATH=. uvicorn app.main:app --host 0.0.0.0 --port 8000 --reloadBackend API will run at http://localhost:8000 (API Docs at http://localhost:8000/docs).
# Open a new terminal in the frontend directory
cd frontend
# Install dependencies
npm install
# Start Vite dev server
npm run devFrontend UI will open at http://localhost:5173.
# Build and run all services in containers
docker-compose up --build- Frontend:
http://localhost:5173 - Backend API:
http://localhost:8000
For quick evaluation, click the one-click demo role buttons on /login or enter:
| Role | Password | Access Level | |
|---|---|---|---|
| HR Lead (Recommended) | hr@novaworks.com |
equiwatch2025 |
Full analytics, signals, AI assistant, and reports |
| System Admin | admin@novaworks.com |
admin2025 |
Full system administration and data ingestion |
| Department Viewer | viewer@novaworks.com |
viewer2025 |
Read-only analytics dashboards |
| Policy Auditor | gov_monitor@policy.org |
policy2025 |
Government Preview (Aggregated anonymized sector metrics only) |
The seeded synthetic dataset models NovaWorks Technologies (1,200+ employees, 5 departments, 8 longitudinal quarters):
- Login as HR Lead (
hr@novaworks.com). - Dashboard Overview: Notice the top alert: "4 potential equity signals require review".
- Inspect Priority Queue: The "Where should HR look first?" queue flags Sales for persistent task allocation and promotion disparities.
- Open Sales Deep-Dive:
- Task Allocation: See that women carry 61% of administrative tasks vs 39% for men (a 22.0 pp difference).
- Promotions: View the 8-quarter trajectory where female promotion rates (18.4%) lag male rates (26.7%) by 8.3 pp, with the gap widening over time.
- Explain with AI: Click "Explain this trend" to see structured natural-language observations.
- Compare with Finance:
- Open Finance to observe an apparent raw pay difference that disappears completely when controlling for role title and seniority bands (99.2% parity within comparable tiers).
- Trigger Decision Actions:
- On the Sales signal, click "What should HR do?" to generate customized leadership 1-on-1 discussion scripts and investigation checklists.
- Generate Report:
- Click "Generate Department Report" to produce an official printable review dossier.
- Test Empirical Accuracy:
- Visit
/impactto review the live Empirical Precision & Recall Benchmark Harness run directly against 100 control test cases.
- Visit
Run the full automated test suite (testing analytics math, comparable group controls, signal detection, and API endpoints):
# Run pytest in backend
PYTHONPATH=backend backend/venv/bin/pytest backend/testsRun frontend production build verification:
cd frontend && npm run build- Primary: SDG 5 — Gender Equality (Target 5.5: Equal opportunity for leadership and career advancement).
- Supporting: SDG 8 — Decent Work (Target 8.5) and SDG 10 — Reduced Inequalities (Target 10.3).
- Commercial SaaS Model: B2B recurring subscription with automated HRIS/payroll connectors and continuous equity audit dossiers.
- No Autonomous Decisions: EquiWatch does not determine that discrimination has occurred.
-
Minimum Sample Safeguards: Requires a minimum cohort sample (
$n \ge 8$ ) before raising signals. - Privacy by Design: Role-gated views prevent PII exposure to external monitors.



