Skip to content
View arashmparsa's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report arashmparsa

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.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. 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
arashmparsa/README.md

Arash Mehrabi Parsa, ML engineer: LLM agents, RAG and evaluation. I build machine learning systems, RAG knowledge bases and LLM agents, and evaluate them carefully enough to trust the numbers.

Website LinkedIn Open-source fixes

Highlights. 8 merged open-source fixes: Silent bugs in the code behind papers, in projects from Stanford, Harvard and NTU labs. UCSF clinical ML: Point-in-time clinical trial matching from timestamped notes with a small CPU-trained model. Veru365 LLM agents and evals: LLM-as-judge pipelines and red-teaming of production financial agents. 2015 bio-sensing hardware: At UC Berkeley since 2015: embedded firmware, four-layer PCBs and sensor signal processing.

GitHub summary Activity and community Contribution calendar Languages

Bay Area. Today I build machine learning systems, RAG knowledge bases and LLM agents, and evaluate them carefully enough to trust the numbers. My path runs from bio-sensing hardware and bioinformatics through applied ML in industry to LLM systems.

Background: BS Bioengineering/Bioinformatics (UC Santa Cruz); Data Science/Analytics (Georgia Tech).

Merged open-source fixes

8 pull requests merged into 8 open-source projects, ranked by GitHub stars:

mims-harvard/ToolUniverse: 1.8k stars, PR #911 merged. An agent tool returned 4 empty rows instead of 2,965 MedlinePlus genetics pages. csinva/imodels: 1.6k stars, PR #340 merged. Importing imodels failed on fresh installs because of an undeclared dependency. MultiQC/MultiQC: 1.5k stars, PR #3767 merged. ngsderive v4 read-length support of 89.63% showed as 8963. ForeverBlue816/PhysioWave: 288 stars, PR #4 merged. Installs on Python 3.9 failed with a misleading PyWavelets error. ForeverBlue816/PrismQuant: 158 stars, PR #6 merged. GPTQ quantization crashed on CPU-only machines after the math had finished. HazyResearch/intelligence-per-watt: 122 stars, PR #48 merged. The GPQA loader put the correct answer at option A on every question. chip-ai-agent/PCBRouteAgent: 87 stars, PR #5 merged. Comments after values in the env file crashed the LLM provider. StanfordMIMI/Glyph: 39 stars, PR #2 merged. Clinical reports were garbled before embedding on Windows.

Star counts are a snapshot. All fixes, including those under review

Open-source contributions

I fix bugs in the research code behind papers I read: the quiet kind, where a pipeline keeps running but returns plausible, wrong results. Merged so far:

In Stanford MIMI's Glyph, which learns sparse concepts from foundation-model embeddings of clinical reports, labs and images, report files were decoded with the machine's locale. On Windows that turned UTF-8 symbols such as ×, ± and ≥ into garbage before tokenization, silently shifting the embeddings. Reports and lab JSON are now read as UTF-8.

In Harvard's ToolUniverse, a library of biomedical tools that LLM agents call, the MedlinePlus genetics-index tool returned 4 rows with empty names (the section URLs) instead of the 2,965 pages in TopicIndex.xml. It now reads the pages one level down, so agents get every gene, condition, chromosome and handbook page. A second fix made the sequence tools ignore line breaks: FASTA pasted from Ensembl or NCBI is wrapped, and a wrapped 30-nt DNA sequence with 60% GC was reported as a 2,713 Da protein with 56.25% GC. The GC-content tool also rejects protein input now, instead of reporting 8.71% "GC" for TP53.

In PrismQuant's GPTQ quantizer, fasterquant called torch.cuda.synchronize() unconditionally, so quantizing on a CPU-only machine crashed after the math had finished. It now synchronizes only when the weights are on a GPU.

In NTU's PhysioWave, wavelet foundation models for EEG, ECG and sEMG (NeurIPS 2025), the package declared Python 3.9 support, but its PyWavelets 1.8 dependency and zip(strict=True) calls need 3.10, so installs on 3.9 failed with an unsatisfiable PyWavelets error rather than a clear version message. It now declares Python 3.10+, matching the lab's own setup docs.

In PCBRouteAgent, where LLM agents plan PCB routing and KiCad's push-and-shove router lays the tracks, the env loader kept the comments that follow values in .env.example. Uncommenting the template's Anthropic effort setting stopped the provider with "Invalid Anthropic effort", and its PCBWORLD_ROOT line gave a wrong path. Comments after a value are now dropped, and quoted values keep their #.

In imodels, a Python package for fitting interpretable models such as rule lists and small trees (JOSS 2021), skope_rules.py imported six without declaring it. Once python-dateutil 4.0 dropped six, import imodels failed on a fresh install. It no longer needs six, and a test imports the package with six unavailable.

In MultiQC, which combines quality-control results from bioinformatics tools into one report, the ngsderive module still multiplied by 100 after ngsderive v4 switched from fractions to percentages. Read-length support of 89.63% showed as 8963, and v4 strandedness files crashed the module. It now reads both formats correctly.

In Hazy Research's intelligence-per-watt, which divides model accuracy by energy or power use, the GPQA loader put the correct answer at option A on every question. On 198 synthetic questions, always answering A scored 100%, which would also inflate the efficiency scores. The options are now shuffled the same way on every run, and always answering A scores 28.3%.

21+ more fixes are under maintainer review; each is added here once merged.

Selected projects

Project What it shows
scanpy-claude-agent Claude agent + MCP server for single-cell RNA-seq; 95.5% cell-type accuracy on PBMC3k vs 85.7% baseline
latch-rnaseq-de Latch workflow for bulk RNA-seq DE (PyDESeq2), validated on planted genes: 97% recall, 95% precision
agent-permission-gateway Enforcement layer between an LLM agent and its tools: default-deny roles, PII tokenization, hash-chained audit log
pushback-eval Multi-turn sycophancy eval with a validated grader
insider-cluster-radar SEC Form 4 pipeline into Postgres and a look-ahead-safe event study (an honest null result)

Certifications

Anthropic Academy — Building with the Claude API (Nov 2026) · Model Context Protocol: Advanced Topics (Nov 2026) · Claude Code in Action (Nov 2026). CITI Program — Data or Specimens Only Research; Conflicts of Interest (2026).

Stack: Python, SQL/PostgreSQL, PyTorch, scikit-learn, XGBoost, Hugging Face, Scanpy/Squidpy, Nextflow, Docker, AWS.

Elsewhere: portfolio · LinkedIn

Earlier work (2015-2023, incl. DARPA SWARM) lives at github.com/arashmehrabiparsa, an account I can no longer access.

Pinned Loading

  1. sensor-data-pipeline sensor-data-pipeline Public

    IoT sensor monitoring pipeline: FastAPI, PostgreSQL, Redis caching and Docker/Kubernetes (3-pod architecture), real-time aggregation with ~1 s latency and a live dashboard

    Python

  2. agent-permission-gateway agent-permission-gateway Public

    Enforcement layer between an LLM agent and its tools: default-deny roles, limits, approvals, vault-injected secrets, PII tokenization, hash-chained audit

    Python

  3. latch-rnaseq-de latch-rnaseq-de Public

    Latch workflow for bulk RNA-seq differential expression (PyDESeq2), validated on planted DE genes: 97% recall, 95% precision

    Python

  4. pushback-eval pushback-eval Public

    Multi-turn sycophancy eval: do Claude models drop a correct answer under escalating user pressure? Grader validated; current set saturated

    Python

  5. scanpy-claude-agent scanpy-claude-agent Public

    Claude agent + MCP server for single-cell RNA-seq analysis; 95.5% cell-type accuracy on PBMC3k vs 85.7% textbook baseline

    Python

  6. seq2hic-gm12878 seq2hic-gm12878 Public

    Sequence (+ATAC) to GM12878 Hi-C contact maps with a dilated CNN, plus enhancer-promoter loop scoring on held-out chromosomes

    Python