Skip to content
View parthtiwari-dev's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report parthtiwari-dev

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
parthtiwari-dev/README.md
██████╗ █████╗ ██████╗ ████████╗██╗ ██╗ ████████╗██╗██╗ ██╗ █████╗ ██████╗ ██╗
██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝██║ ██║ ╚══██╔══╝██║██║ ██║██╔══██╗██╔══██╗██║
██████╔╝███████║██████╔╝ ██║ ███████║ ██║ ██║██║ █╗ ██║███████║██████╔╝██║
██╔═══╝ ██╔══██║██╔══██╗ ██║ ██╔══██║ ██║ ██║██║███╗██║██╔══██║██╔══██╗██║
██║ ██║ ██║██║ ██║ ██║ ██║ ██║ ██║ ██║╚███╔███╔╝██║ ██║██║ ██║██║
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝

Typing SVG


PortfolioLinkedInEmailGitHubViews



◈ SYSTEM BOOT

$ initializing parth_tiwari.profile ...
[✓] identity → AI Systems Engineer
[✓] location → Bengaluru, India
[✓] status → open to the right problem
[✓] philosophy → evidence before claims
[✓] vibe-coding → NOT DETECTED
[✓] evaluation → ACTIVE
[✓] evidence systems → 9 mapped in EVIDENCEBOUND
[✓] current build → SecondSelf
[✓] work node → Stick and Dot (AI/ML Intern)
[READY] parth_tiwari.profile loaded successfully.



◈ WHO I AM (told through what broke)

Most profiles show you the wins. Here's what actually happened.


Building a fraud engine. Backtesting revealed this:

train ROC-AUC → 0.895 ← model looked great
production ROC → 0.60 ← system was lying to itself the whole time
cause: temporal features bled future signal into past training windows
fix: leakage validation, point-in-time enforcement, rebuilt from scratch
result: precision stayed useful under a real alert budget

Shipped a Text-to-SQL agent. Hallucination detector reported 100% hallucination:

hallucination_rate → 100% ← every query hallucinating?
actual rate → 0% ← the metric was wrong, not the system
cause: schema_tables_used returned ["schema_dict", "tables"] — dict keys, not table names
fix: one-line patch
lesson: I found this because I wrote a hallucination detector in the first place

Deployed to Render. LLM mixed up two different databases:

question → "what is the total revenue?" (ecommerce schema)
sql → SELECT SUM(amount) FROM fines (library schema — wrong database entirely)
cause: both schemas lived in the same Chroma collection, embeddings leaked cross-schema
fix: prompt isolation + schema-scoped retrieval + re-evaluated full 82-query benchmark

The pattern: I find these things because I build evaluation harnesses before I trust results.

- "it works on my machine" → ship it+ measure → break it intentionally → fix it → measure again → then ship it



◈ MODEL CARD

model_id : parth-tiwari-v2type : early-career AI systems engineerarchitecture : first-principles → build → evaluate → break → fix → deploytraining_data : production constraints, real failure modes, measurable outcomesbenchmarks:
text_to_sql_execution_success : 95.7% # 82-query ecommerce benchmarkcross_schema_generalization : 100%# zero-shot on unseen library schemasyntactic_hallucination_rate : 0.0% # schema-grounded generationfraud_precision_in_budget : 92.06% # 0.5% daily alert constraintfraud_p95_latency : ~386ms # API scoring pathmedrag_answered_faithfulness : ~0.99 # cited medical retrieval answersmedrag_refusal_accuracy : 100%# insufficient evidence => refusalvivid_beta_users : 10+# creative AI work under Stick and Dotserving:
portfolio : EVIDENCEBOUND — 9 evidence systems, same-world overlaysdeployment : Docker · Render · Streamlit · HuggingFace · Vercelcurrent_focus : SecondSelf · evidence-bound career/application OSknown_limitations : early-career · still learning · high ownership · ships with boundaries



◈ DEPLOYED SYSTEMS

Featured below: 3 public systems. Full map: EVIDENCEBOUND — 9 nodes across personal projects, work evidence, current builds, and tooling.



QUERYPILOT · Self-Correcting Text-to-SQL Agent

Live APISource

 Natural Language
│
▼
Schema-Aware RAG ──► SQL Generator
│
Static Validator
│
┌───────────────┼───────────────┐
Regex Repair LLM Fix Executor
└───────────────┴───────────────┘
Self-Correction Loop
(max 3 attempts)
MetricResultContext
First-attempt success90.0%No correction, cold generation
After self-correction95.7%3-stage loop on 82-query benchmark
Hallucination rate0.0%Zero invented tables or columns
Cross-schema generalization100%Library schema, zero domain tuning
Cold-start reduction~400msPer-schema agent caching

PythonLangGraphFastAPIChromaDBPostgreSQLDockerGitHub Actions



🛡 UPI FRAUD ENGINE · Real-Time Fraud Decision System

Live APILive UISource

 HARD CONSTRAINTS (non-negotiable):
├── score transaction at T using only pre-T features (no future leakage)
├── ≤ 0.5% daily alert budget (precision is everything)
└── simulate delayed fraud labels (real-world label lag)
transactions → point-in-time features → leakage tests → alert-budget model
train/serve drift surfaced → rebuilt → re-tested under real decision constraints
MetricResultContext
Precision in alert budget92.06%Only flags what matters
P95 latency~386msAPI scoring path
Leakage tests55+Temporal integrity checks
Backtest modeday-by-dayProduction-like replay

PythonXGBoostFastAPIDuckDBGreat ExpectationsDocker



🧬 EVIDENCE-BOUND DRUG RAG · Medical Knowledge Retrieval

Live AppHuggingFaceSource

 HARD CONSTRAINT: medical domain — hallucination is patient harm
├── every claim needs source evidence
├── insufficient evidence must trigger refusal, not a guess
└── faithfulness is measured, not assumed
FDA + NICE PDFs → semantic chunks → retrieval → citation → refusal policy
MetricResultContext
Answered faithfulness~0.99Claims grounded in source
Refusal accuracy100%Unsupported requests refused
Eval cost$0.168Cost-aware evaluation
Boundarynon-diagnosticNot medical advice

PythonFastAPIChromaDBSentenceTransformersLangChainRAGASStreamlit




◈ HOW I ACTUALLY BUILD

step 1 → define what "working" means before writing a single line
step 2 → build the evaluation harness
step 3 → write the system
step 4 → break it intentionally (adversarial inputs, edge cases, drift simulation)
step 5 → fix what breaks
step 6 → measure again
step 7 → deploy with monitoring hooks
step 8 → repeat when production proves you wrong

This is how suspicious metrics become trustworthy.This is how a metric bug gets caught before it becomes a product lie.This is how a smaller system with gates beats a bigger prompt with vibes.




◈ STACK

PythonSQLXGBoostLangGraphLangChainFastAPIDockerChromaDBDuckDBPostgreSQLStreamlitVueThree.jsGitHub Actions




◈ STATS

SignalCurrent State
Evidence systems9 mapped in EVIDENCEBOUND
Featured public systemsQueryPilot · UPI Fraud Engine · MedRAG
Main stackPython · FastAPI · RAG · XGBoost · Vue · Three.js
Current buildSecondSelf - evidence-bound career OS
GitHub contribution streak
GitHub activity graph



Typing SVG


PortfolioLinkedInEmail


$ ./parth --shutdown
[saving state] ✓ 9 evidence systems mapped
[saving state] ✓ 3 featured systems public
[saving state] ✓ all evaluation harnesses active
[saving state] ✓ open to the right problem
[goodbye] see you on the other side of the next PR.

Pinned Loading

  1. parth-tiwariparth-tiwariPublic

    my portfolio

    Vue

  2. querypilotquerypilotPublic

    QueryPilot -Production-ready multi‑agent Text-to-SQL API for Postgres. Schema‑aware LangGraph pipeline with ChromaDB + sentence‑transformers, Neon-backed DB, and full evaluation on real ecommerce &…

    Python 3 1

  3. Evidence-Bound-Drug-RAGEvidence-Bound-Drug-RAGPublic

    Evidence-grounded medical RAG system that retrieves FDA and NICE drug guidelines, generates cited answers, and safely refuses unsupported queries to minimize hallucinations.

    Python 1

  4. oncoverseoncoversePublic

    OncoVerse is an open-source cancer education atlas that makes cancer biology visible through immersive 3D anatomy, plain-English explanations, and stage-by-stage exploration for patients, families,…

    TypeScript

  5. stick-and-dot-appstick-and-dot-appPublic

    TypeScript

  6. tathyatathyaPublic

    Tathya (तथ्य, 'fact') ~ an autonomous, non-partisan record of India's central government. No manual topic selection, no AI verdicts: public sources are watched continuously and clustered into sourc…

    Python 1