AI Root-Cause Diagnosis Engine — Fixly

By (author)Sehreen Atta Gul

Tech stack:
TS
Node.js

Analyzes incident logs and stack traces to diagnose root cause, severity, and confidence score using AI (Groq Llama 3.3) — with a deterministic rule-b...
read more
AI Contributions:1
Published At:August 13, 2026
Files Included:1 file(s)
Updated At:October 22, 2026

Read Me

AI Root-Cause Diagnosis Engine — Fixly

What it does
Analyzes an incoming incident (error log, stack trace, occurrence count) and produces a structured diagnosis: severity (LOW/MEDIUM/HIGH/CRITICAL), root cause explanation, confidence score (0–1), and whether an automated fix exists.

How diagnosis is built
1. Checks for a configured AI provider (Groq Llama 3.3); if available, sends the incident context and parses a structured JSON response.
2. If no AI key is present, falls back to a deterministic rule engine matching known error signatures (connection/timeout, null reference, syntax errors, permissions, memory).
3. Boosts confidence score based on occurrence count (recurring errors are more confidently classified).
4. Broadcasts a diagnosis:created WebSocket event so the live dashboard updates instantly.

Key design

The AI call always has a safe fallback — if the AI provider fails or isn't configured, the system never breaks; it degrades gracefully to rule-based diagnosis so the incident pipeline keeps working end-to-end.

Loading

Loading

Loading

More like this View all

SHA-256 Incident Fingerprinting & Dedup Engine — F

Deduplicates repeated incidents in real time by generating a SHA-256 fingerprint from normalized error signatures — so the same crash occurring 1,000 times creates one tracked incident with an occurre

  • 0

    Ratings

  • 1

    Files

    • TS
    • Node.js
    • +1

    Tech stack

Roman Urdu Order Parser: Text, Screenshot, Voice

Turn WhatsApp/Instagram order chats, chat screenshots and voice notes (English, Roman Urdu or mixed) into validated order JSON with per-field confidence. Gemini + zod, retries, fallback.

  • 0

    Ratings

  • 5

    Files

    • TS
    • Next.js
    • +2

    Tech stack

PK Seller Toolkit: Phones, WhatsApp, PKR, Khata

Zero-dependency TypeScript for Pakistani sellers: match phones in any format, wa.me links, Rs formatting, parse "dhai hazar"/"1.5k", khata balances and COD collection. 9 tests.

  • 0

    Ratings

  • 11

    Files

    • TS
    • Node.js
    • +2

    Tech stack