Skip to content
View Debarghyasg's full-sized avatar
😶‍🌫️
Slow on reply
😶‍🌫️
Slow on reply

Block or report Debarghyasg

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
DebarghyaSG/README.md

Debarghya Sengupta

Full-stack engineer focused on production ML systems, async pipelines, and LLM-powered applications. Currently building at the intersection of backend infrastructure and applied AI.

LinkedIn Portfolio X Instagram Email


Projects

Fin-Sight — Financial RAG Platform

Next.js · FastAPI · PostgreSQL · Groq Llama 3.3 70B · MiniLM (local) · Celery

A multi-tenant RAG platform for querying SEC 10-K filings with cited answers, side-by-side document comparison, z-score anomaly alerts, and a live EDGAR filing watcher.

Deliberate architecture: vectors stored as JSON in PostgreSQL (zero extensions, zero second service), cosine search done in Python with NumPy — brute-force is correct at this corpus size and the escape hatch to a pgvector HNSW index is a one-column migration. Cross-encoder reranking (ms-marco-MiniLM) improves citation accuracy ~3.4 points over dense-only retrieval at ~180 ms P50 CPU cost. Local MiniLM embeddings cut $13/month off the OpenAI embedding bill. End-to-end query P95: ~1.55 s. Full stack runs at ~$386/month for 1,000 MAU vs ~$2,563 on the equivalent paid stack — a $26k/year difference driven almost entirely by Groq Llama vs GPT-4o.

Backend ships with ≥70% line+branch coverage (pytest, in-memory SQLite, CI-enforced).

View repo →


Nyatik Nayan — Retail Fraud Detection

React · Node/Express · FastAPI · Redis · PostgreSQL · YOLOv8 · EasyOCR · RapidFuzz

Built for HackArena 2.0. Barcode scans run through a multi-layer verification pipeline under 1 second: inventory cross-reference, scan-frequency tracking (Redis TTL counters), barcode-age analysis, fuzzy string matching via RapidFuzz, YOLO object detection, and EasyOCR label verification — producing a risk score that either approves or blocks the transaction.

Redis NX locks (txn:lock:{shopId}:{barcode}, 5s TTL) prevent duplicate processing under concurrent scans. Fraud blocks above 0.7 risk fire a SendGrid alert with an AI-generated Llama explanation. Results pushed to the checkout UI via WebSocket in real time.

View repo →


PotatoScan — Crop Disease Detection

Node/Express · Flask · CNN (TensorFlow/Keras) · PostgreSQL · BullMQ · Redis · Socket.io

Precision agriculture app identifying 7 potato leaf disease classes at 97% accuracy. Multi-lingual (English, Hindi, Bengali) via crowdsourced JSON i18n. Trial scan quota system (3 scans, no account required) with Google OAuth for registered users.

ML inference runs on a Python/Flask CNN backend decoupled from the Express request cycle via BullMQ + Redis — uploads return 202 immediately with a job ID, inference runs in a worker, results are pushed via Socket.io with a polling fallback. Automated diagnostic email reports via Nodemailer.

View repo →


MediHub — Prescription Manager

Node/Express · Flask · EasyOCR · MobileNetV2 · KNN · PostgreSQL · node-cron

Digitizes physical prescriptions via OCR (EasyOCR + MobileNetV2 region detection + KNN field classification). Extracts doctor name, medications, and next visit date. Cron-based reminder emails fire 24 hours before scheduled appointments. Personalized dashboard with prescription history and doctor stats.


Core stack

Node.js Python TypeScript React Next.js FastAPI Express.js PostgreSQL Redis AWS Docker Git

Currently learning: DSA in Java · distributed systems internals


Fun fact: the first computer bug was a literal moth found in a relay at Harvard in 1947.

Pinned Loading

  1. Fin-Sight Fin-Sight Public

    A production-grade RAG platform for financial intelligence. Upload 10-Ks, earnings calls & annual reports → ask in plain English → get cited answers with page numbers and confidence scores. No hall…

    TypeScript 1

  2. Nyatik-Nayan Nyatik-Nayan Public

    Nyatik Nayan enables store admins to manage customer sessions, scan product barcodes at checkout, and instantly detect counterfeit or mismatched goods using AI-powered verification, real-time fraud…

    JavaScript 1

  3. Medi-Hub Medi-Hub Public

    AI-Powered Prescription & Appointment Manager MediHub is a full-stack web application designed to bridge the gap between physical medical records and digital health management.

    EJS 1

  4. Potato-Leaf-Disease-prediction Potato-Leaf-Disease-prediction Public

    PotatoScan is a precision agriculture web application that automates the detection of potato leaf diseases using Computer Vision and Deep Learning.

    EJS 1 1

  5. Data-Structures-and-Algorithm Data-Structures-and-Algorithm Public

    Data Structure Practice Repository.Made for easy handling focusing mainly on code optimization.

    Java 1

  6. Mahakash-Club Mahakash-Club Public

    Mahakash Club is a dedicated space club at GNIT focused on fostering curiosity and interest in space-related fields such as Astrophysics and Aerospace Engineering.

    EJS 1