Skip the intro and go to the first project
~/localhost

./tour --start

Enter Mansi's Project World

Four miniature labs, one continuous flight. Scroll to travel through the systems Mansi Aher has built, from a code-search backend to thesis research.

Zone 1 of 4 · The Code Foundry

DevPilot AI

Ask questions about a GitHub repository and get answers grounded in its actual source.

In developmentBackend · Code intelligence

  1. Public GitHub repository
  2. Job queue + worker
  3. pgvector index
  4. 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.
Role
Sole engineer
Built with
Python 3.12 · FastAPI · Pydantic v2 · structlog · PostgreSQL 16 · pgvector (HNSW) · SQLAlchemy 2 (async) · Alembic · sentence-transformers · jina-embeddings-v2-base-code · Argon2id · PyJWT (HS256) · pytest · mypy (strict) · ruff · Docker Compose · GitHub Actions

Results

  • 144Automated testsSource: Counted in the public repository: 19 test files, 78 unit and 66 integration tests against real Postgres
  • 4 / 9Milestones completeSource: Project README roadmap
  • BuiltRetrieval eval harnessSource: 15 hand-labeled queries, recall@1/5/10 and MRR. Not yet run.

No retrieval-quality metrics yet: the evaluation harness exists but hasn't been run, so none are shown.

About this scene: The scene is an illustration of the flow, not captured output from DevPilot.

Zone 2 of 4 · The Pressure Lab

AI-Enabled Water Leak Detection

Detecting and localizing leaks in simulated urban water networks from pressure-sensor data.

ResearchMaster's thesis · Machine learning

  1. Simulated network with injected leaks
  2. Pressure residuals at each sensor
  3. Trained classifiers
  4. 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).
Role
Researcher (M.S. thesis) and Research Assistant
Built with
EPANET · WNTR · scikit-learn · Random Forest · XGBoost · SVM · Logistic Regression · Python · pandas · NumPy · matplotlib · seaborn · Google Colab

Results

  • 84.5% accuracyLeak-node localization, Anytown (22 nodes)Source: Random Forest, macro-F1 0.85. Printed in the thesis notebook.

Only results reproduced in the thesis notebooks are shown. Leak-detection results will be added once they are reproduced.

About this scene: The network and its readings are illustrative. They are not thesis data or model output.

Zone 3 of 4 · The Living Library

AI Knowledge Copilot

A reusable retrieval-augmented generation (RAG) platform: upload any PDFs, ask questions, get cited answers.

PrototypeApplied AI · RAG

  1. Any PDF documents
  2. Chunks with page metadata
  3. Vector retrieval (top 4)
  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.
Role
Sole engineer
Built with
Python · FastAPI · SQLAlchemy 2 · SQLite · ChromaDB · sentence-transformers · all-MiniLM-L6-v2 · transformers · google/flan-t5-base (local) · Streamlit · pypdf · Docker Compose · pytest · GitHub Actions

Results

  • 6REST endpointsSource: Health, document upload/list/delete, ask, chat history
  • 11Automated testsSource: Chunking, PDF service, repository and API health

No answer-quality metrics have been measured yet.

About this scene: The documents and answer in the scene are illustrative, not real Copilot output.

Zone 4 of 4 · The Imaging Bay

Brain Tumor MRI Classifier

A ResNet18 transfer-learning classifier that labels brain MRI scans as tumor or no tumor, and explains each prediction with Grad-CAM.

CompleteDeep learning · Explainable AI

  1. Brain MRI scan
  2. Preprocessing
  3. Pretrained CNN
  4. Grad-CAM explanation

1/3 Scan

It starts with the scan

Resize each scan to 224×224 and normalize it. The project uses a public Kaggle brain-MRI dataset.

2/3 Model

A pretrained network does the looking

An ImageNet-pretrained ResNet18 with a new two-class output layer (tumor / no tumor). A pretrained backbone learns well from a modest public dataset.

3/3 Explain

Then it has to show its evidence

Grad-CAM saliency maps overlaid on the input scan. Grad-CAM shows whether the model looks at plausible regions, not artifacts.

Zone debrief

Brain Tumor MRI Classifier: the record

Research and educational project only. It is not a medical device, is not clinically validated, and must not be used for diagnosis.

Status
Complete Research and educational prototype. Not clinically validated.
Role
Sole engineer
Built with
Python · PyTorch · torchvision ResNet18 · Transfer learning · Grad-CAM · Streamlit · Kaggle brain MRI dataset (tumor / no tumor)

Results

Evaluation metrics are not yet available: the repository doesn't record them, so none are shown.

About this scene: Synthetic illustration. Nothing here is a real MRI or real model output.