BEFORE — Stage 1 of 3

AI Chaos Index: 87/100

CRITICAL

This is a real AI-generated SaaS dashboard — built with Cursor in a few sessions. It works. It runs. But structurally, it's a ticking time bomb.

ACI 87/100 — Critical zone. Architecture intervention required.

1,084 LOC in a single frontend file. 0% test coverage. No CI/CD.

Every change risks breaking unrelated functionality. Onboarding a new developer is extremely costly.

AI Chaos Index87/100

Score above 75 = Critical. Architecture intervention required before scaling.

Project Overview

Tech Stack
Next.js 14, React 18, Python (FastAPI), Tailwind CSS
Codebase Size
8 files • 2,259 LOC
Test Coverage
0% — Zero test files
CI/CD
None — No pipeline configured

Root Cause Severity Breakdown

RC01Architecture Drift
10/10

1,084 LOC single-file monolith. All UI + logic + state in one component.

RC02Dependency Graph Corruption
5/10

Overlapping util files. No shared types between frontend and backend.

RC03Structural Entropy
9/10

No README, no docs, mixed naming conventions, no .env.example.

RC04Test Infrastructure Failure
9/10

Zero tests. No testing framework installed. All 8 files untested.

RC05Deployment Safety Net
10/10

No CI/CD. No pre-commit hooks. No branch protection. No quality gates.

Top Findings

Critical

Monolithic Frontend (page.tsx = 1,084 LOC)

The entire application UI, state management, and business logic lives in a single React component file. Any change risks breaking unrelated functionality.

Risk: Every feature addition becomes exponentially harder. With 1,084 LOC in one file and zero tests, regression risk is significantly harder to control.

Critical

Zero Test Coverage

No tests exist anywhere. No testing framework is even installed. There is no way to verify changes don't break existing functionality.

Risk: Production deployments are blind — you have no way to catch regressions before users do. This is a leading cause of failure in AI-built apps after launch.

Critical

No CI/CD or Deployment Safety Net

Code goes directly from development to production without any automated checks, linting, or testing gates.

Risk: A single typo or broken import can take down production. No rollback mechanism exists.

High

Backend API Monolith (api.py = 619 LOC)

All routes, business logic, data access, and validation in a single file with no separation of concerns.

Risk: Adding new API endpoints becomes increasingly risky. Security vulnerabilities are harder to spot.

Medium

No Documentation or Architecture Records

No README, no architecture docs, no API documentation. A new developer would need to reverse-engineer the entire application.

Risk: Onboarding cost is extremely high. Knowledge is trapped in chaotic code.

Download the Sample Report

See exactly what you get with a Quick Scan — the full PDF report for this analysis.

Download PDF Report (ACI 87)

PDF • 5 pages • AI Chaos Index Quick Scan Report

THE REMEDIATION JOURNEY
87 (Critical)58 (High)23 (Stable)
Next: After Phase 1 →

Is your app in a similar state?

Get your AI Chaos Index score in 24 hours. Know exactly where you stand.