Ask questions about a GitHub repository and get answers grounded in its actual source.
In developmentBackend · Code intelligence
Public GitHub repository
Job queue + worker
pgvector index
Ranked chunks with citations
1/3 Ingest
A repository enters the foundry
DevPilot indexes public GitHub repositories. Only https://github.com/owner/repo URLs are accepted, validated with urllib.parse. git runs with shell=False, a scrubbed environment, https-only protocol and a timeout. Clones are shallow and blobless into a temp directory that is always removed.
2/3 Index
A separate worker does the heavy lifting
A Postgres table claimed with FOR UPDATE SKIP LOCKED, with heartbeat leases and reclaim. An out-of-memory error while embedding a large repo must not take down the API.
3/3 Search
Ask a question. Get the exact lines.
Results come back as ranked source chunks with citations to the exact files and line ranges. Chunks and embeddings in separate tables. HNSW index, cosine similarity.
Zone debrief
DevPilot AI: the record
Status
In development Milestone 4 of 9: semantic search with citations, plus a browser workspace served by the API. LLM answers and hybrid retrieval are planned.
Detecting and localizing leaks in simulated urban water networks from pressure-sensor data.
ResearchMaster's thesis · Machine learning
Simulated network with injected leaks
Pressure residuals at each sensor
Trained classifiers
Leak detected and localized
1/3 Simulate
Build a network, then break it on purpose
EPANET/WNTR networks with controlled leak injection. Benchmark scenarios come from LeakDB.
2/3 Sense
Listen to the pressure
Features are ΔP = P(baseline) − P(leak) at each sensor node, e.g. X = (ΔP₁ … ΔP₂₂). Subtracting the no-leak baseline isolates the leak's signature from normal demand patterns.
3/3 Detect
Follow the evidence to the leak
Random Forest plus baseline classifiers (XGBoost, SVM) for detection and node localization.
Zone debrief
AI-Enabled Water Leak Detection: the record
Status
Research M.S. thesis, California State University, Los Angeles (advisor: Dr. Navid Amini).
A reusable retrieval-augmented generation (RAG) platform: upload any PDFs, ask questions, get cited answers.
PrototypeApplied AI · RAG
Any PDF documents
Chunks with page metadata
Vector retrieval (top 4)
Answer with citations
1/4 Documents
Any PDFs. Not one fixed corpus.
It works with any set of PDFs, from handbooks and research papers to internal docs. Upload PDFs, ask questions and inspect citations. Talks to the API over HTTP.
2/4 Chunks
Pages become searchable pieces
Per-page PDF extraction, then character chunks (800 chars, 150 overlap), then embeddings, then ChromaDB with document/page metadata.
3/4 Retrieval
The question finds its evidence
Embed the question and take the top-4 chunks by cosine similarity. The local model works today, and hosted models can be added without touching the pipeline.
4/4 Answer
An answer that shows its sources
A prompt that says to answer only from the retrieved context, using a local flan-t5 model behind an LLMProvider interface. Each answer cites the source file, page and passage it came from, with a relevance score.
Zone debrief
AI Knowledge Copilot: the record
Status
Prototype Working end to end with a local model. Hosted LLM providers are planned.