i am a master's student in computer science at arizona state university. before that, i spent 4 years building software at pwc, infosys, mindstix and browserstack.
these days most of my time goes to research. three papers accepted so far, listed under research, and a lot more time spent on the ones that did not work.
outside of all that, i’m trying to make time for the people, places, and little things that make life interesting.
experience
- engineered a tensorflow/keras deep embedded clustering model that groups 1,765 arizona census tracts by need across 73 health indicators
- built a retrieval-augmented variable selector over 20,479 census and cdc variables, with e5 embeddings, llm ranking, and citations from trusted sources
- created a text-to-analysis llm agent that runs generated python in a sandboxed jupyter kernel, with retries
- developed llm matching of free-text health interventions to indicators, joining and clustering the data live
- productionized the ml engine on fastapi and postgresql, with hash-triggered re-clustering and a background job worker
- designed and built event-driven microservices using nestjs, azure service bus, and cosmos db to manage homesites, milestones, and alerts across 6+ modules, improving scalability and decoupling services
- executed data migration of 1m+ records from sql to azure cosmos db using azure data factory, achieving <5 minutes downtime via staged pipelines and data validation checks
- built distributed change propagation system with job orchestration and cosmos db stored procedures, updating 10k+ homesites and ensuring consistency across microservices
- implemented job tracking and retry mechanisms for long-running operations, preventing partial failures and ensuring reliable execution across distributed services
- led team of 5 developers and 3 qa engineers delivering features using node.js and react, improving sprint predictability and ensuring consistent on-time releases
- diagnosed and resolved multiple critical production issues impacting 40 areas, caused by inconsistent state across services, restoring system stability within sla timelines and saving hours of manual data correction
- optimized etl pipeline processing 120 csv files every 2 hours by introducing stream-based parsing and improving sql queries, reducing processing time from 2 hours to under 1 hour and improving system stability
- improved backend apis using graphql by optimizing resolvers and reducing redundant data fetching, decreasing response time and improving efficiency for client-side data consumption
- refactored 10,000+ lines of legacy code, reducing production defects by 60% based on release tracking and improving maintainability for faster feature development
- built serverless workflows using azure functions for asynchronous processing, improving scalability and reducing manual intervention in data handling tasks
- awarded excellence award (top 10 out of 250+ employees) and secured 2nd place out of 40 teams in a company-wide cloud innovation hackathon
education
arizona state university, master of science, computer science
don bosco institute of technology, bachelor of engineering, computer science
selected work
projects
Ask a question about SEC 10-K filings and get an answer where every sentence cites the exact paragraph it came from. Questions the filings cannot answer get a refusal, not a guess.
The corpus is the two latest 10-Ks of 20 large US companies: 40 filings, 53k paragraphs, 34.5k chunks. Retrieval is hybrid (BM25 computed in SQL, pgvector HNSW, reciprocal rank fusion, a cross-encoder rerank), queries are split per company, and a calibrated gate refuses before any model is called. Citations point to paragraph ids that survive re-ingestion, so chunking can change without breaking a stored citation. It also diffs Item 1A risk factors year over year and extracts obligations into typed rows a reviewer accepts or rejects.
On a 204-question golden set, a 56-configuration ablation took nDCG@10 from 0.567 to 0.617 and recall@8 from 0.709 to 0.800 (95% paired-bootstrap intervals). Per-company decomposition cut wrong-company results in the top 5 from 6.9% to 0.4%. The gate refuses 51% of out-of-scope questions at a 1.2% false-refusal rate, and on free-tier models 98% of answers were judged grounded and 90.5% correct.
what I learned
Postgres' built-in ranking has no inverse document frequency, and swapping it for real BM25 was worth 0.39 nDCG on its own, more than everything else combined. The reranker did not improve ranking at all, and at a 1,000-character cap it hurt recall because tables pushed the figure past the cut; it stays only because the refusal gate needs its calibrated score. An apparent win from parent expansion turned out to be 2.8 times more context, and vanished at an equal token budget.
Python, FastAPI, PostgreSQL, pgvector, BM25, FAISS, cross-encoder reranking, React, TypeScript
A real-time collaborative whiteboard: sticky notes, shapes, arrows and ink, live cursors, and offline editing that merges on reconnect, behind a horizontally scaled Go WebSocket tier that can lose a server mid-session without losing an edit.
Board state is a CRDT (last-writer-wins registers per field, an RGA sequence for text). An edit is acknowledged only once it is durable in a DynamoDB op log, and the client resends anything unacknowledged from IndexedDB. Redis Pub/Sub fans edits out across pods, MongoDB holds snapshots for time travel, and permissions live in Postgres, so content is eventually consistent and access is strongly consistent, on purpose.
Killing gateways mid-session (32 clients, 4,800 edits) lost 0 edits, even with every gateway killed and the board rebuilt from storage alone. Routing boards to pods by affinity held fan-out at 3.5 ms p50 and 161 ms p99 for 2,000 clients, against 19.5 ms and 353 ms with least-connections. Opening a board from a snapshot is 6 times faster than replaying its log (106 ms against 639 ms at 50k ops).
what I learned
Measuring kept overturning the design. Reconnect after a pod kill took 5.1 s because of HAProxy's connect timeout, not the gateway; tuning it got 0.6 s. Spreading one board across pods doubled its tail latency, which is why routing is by board. Two of my early load tests were measuring Docker's port proxy and a CPU-capped load generator instead of the server; they are kept, labelled, and left out of the results.
Go, WebSockets, CRDT, Redis, DynamoDB, MongoDB, PostgreSQL, HAProxy, Kubernetes, React, TypeScript
Order management and fulfilment for an online retailer, as Java and Spring Boot microservices. Checkout spans inventory, payment, shipping and notification services that each own their database, so no single transaction covers an order. Every order ends either fulfilled or cleanly compensated: stock released, payment refunded, customer told.
The saga is built both ways, choreography and orchestration, side by side, with a transactional outbox, idempotent consumers, Debezium CDC into an Elasticsearch read model, tracing in Jaeger, and KEDA autoscaling on Kafka consumer lag.
Rewinding every consumer group and redelivering all 7,918 messages from 1,795 orders changed nothing: identical state fingerprints, so every effect is applied exactly once. On a hot SKU at 64 threads, pessimistic locking held 562 reservations a second with no conflicts while optimistic locking needed 26k retries, and nothing was oversold in any run.
what I learned
Lock hold time sets the ceiling, not the lock type: with 5 ms of work inside the transaction every strategy flattened at about 115 a second. Killing the service between commit and publish lost 2 events in 12 kills with a plain dual write, rare enough to pass every test, which is what the outbox is for. Choreography spreads a failed order's story over two to four services; orchestration adds one place that holds all of it, and adding shipping touched three services under one and one under the other.
Java, Spring Boot, Kafka, PostgreSQL, MongoDB, Redis, Elasticsearch, Debezium, Keycloak, Kubernetes, KEDA, Terraform
A persistent, embedded key-value store on a log-structured merge tree, in C++17 with no dependencies: the storage-engine design behind RocksDB and LevelDB, built to be correct and explainable rather than to beat them.
It has a write-ahead log with group commit, a skip-list memtable with lock-free readers, immutable SSTables with prefix-compressed blocks and Bloom filters, leveled compaction on a background thread, atomic write batches, snapshots, and a MANIFEST of version edits swapped in by rename.
On an M4 laptop: 372K sequential and 278K random writes a second, 471K reads a second for present keys and 1.14M for absent ones, since the Bloom filters skip 99% of table probes. Random writes come within 10% of LevelDB and RocksDB on the same machine. Every acknowledged write survives power loss, and group commit gives 19.5 times the fsync'd throughput with 32 writers. 115 tests, including a 400,000-operation differential test against std::map, simulated power loss and real SIGKILL crashes, run clean under ASan, UBSan and TSan.
what I learned
Comparing against LevelDB and RocksDB found that block checksums, computed a byte at a time, made reads four times slower than they needed to be; the CPU's CRC32C instructions fixed it. I would not have found that without a baseline to be embarrassed by.
C++17, CMake, GoogleTest, LSM tree, Bloom filters, WAL, sanitizers
A market-intelligence assistant that answers questions over what founders and the tech press are talking about, by putting a knowledge graph under retrieval.
A pipeline scrapes LinkedIn, Reddit and TechCrunch with Selenium and Playwright, cleans and chunks the posts and comments, extracts entities and their relationships into Neo4j, and keeps embeddings in ChromaDB. Questions are answered with ASU's Voyager LLM over both, so the graph carries multi-hop questions that plain vector search misses.
Python, Neo4j, ChromaDB, Selenium, Playwright, LLMs
This website: a plain typeset page that gets damp wherever someone moves a cursor over it.
At rest it is a document. One typeface, black on off-white, hairline rules. Everything is already in the HTML, so rows open the moment you click them and every open row is a link you can send to someone.
Under the text sits a single WebGL canvas holding a low-resolution wetness buffer. Your cursor writes into it, other visitors' cursors write into it in their own colours, and it dries back to nothing in a few seconds. The chat, the postcards and the ripple all draw into that same buffer.
what I learned
I built the plain version first and put it online before touching any effects. After that, every effect had to be worth adding to a page that already worked, and a few of them were not.
Next.js, TypeScript, WebGL, PartyKit, Motion, Canvas 2D, sharp
research
When several LLM agents write to one shared database, an agent that is rolled back after committing an irreversible step leaves the shared state quietly corrupted. The agent is not the component that failed, so prompting cannot repair it, and classical concurrency control cannot either: it was designed for transactions lasting microseconds, not for agents that think for seconds between writes. We present AC-Saga, a transactional layer for agentic systems that couples a recoverability-conditioned locking policy with a deterministic, log-based compensation engine. Each lock decision is conditioned not only on contention but on whether the operation has a deterministic inverse (its compensability) and on whether an irreversible step has already committed (its exposure), which gives per-step serializability, interference-safe semantic recoverability, and no LLM calls on the recovery path. The policy is learnable: tabular Q-learning on a sim-faithful MDP, deployed on real PostgreSQL, records 0 catastrophic aborts in 5,400 saga attempts across a full contention sweep (95% upper bound 0.06%), aborting only before exposure, where an optimistic baseline that abandons a conflicted transaction reaches 10.0±1.7% unrecoverable aborts; allowed three re-plans, it reaches 0% observed but pays a planning round per retry and keeps the failure mode. The guarantee covers conflict-induced aborts and assumes each lock is acquired within its retry budget; a compensation that refuses can leave partial effects. The recoverability-blind learner stays safe by approximating exposure with step position. Because saga sub-steps commit and release their locks, we also guard every inverse against concurrent modification, so compensation refuses rather than overwrites a concurrent committed write, which an unguarded engine destroys in 100% of interfering trials whose undo rewrites a surviving row. Deterministic compensation also beats LLM-authored compensation on correctness, tokens and latency (100%, 0 tokens, ~0ms against 86–100% for four open models each handed the exact pre-image), and in a composed end-to-end estimate the coupling reaches 100% final-state correctness at zero recovery tokens, above a recovery-blind deterministic system (79.7%) and an LLM-recovery one (98.4%). Every headline metric is measured on real PostgreSQL. We also report a negative result: the coupling buys no throughput or token advantage when locks are cheap, so what it is worth is recoverability, not efficiency.
SNIPER-SQL ranks #1 globally on the BIRD-CRITIC-1.0-Open leaderboard (570 multi-dialect tasks) with a database-free validate-and-repair pipeline: dialect-strict chain-of-thought generation, adaptive decoding, and a static schema-aware SQL validator.
It generalises across six large language models from five model families, spanning 17B to 235B parameters, and raises SQL repair success for both frontier and open-weight models, with paired significance testing.
Further details and the paper will be released once the paper is accepted.
Literature-grounded question answering requires a system to retrieve the right paper, locate the right evidence within it, and generate an answer faithful to that evidence. These are three separate stages, each with its own failure mode. We present a stage-wise diagnostic study of this pipeline on LitTraceQA, a shared task requiring paper retrieval, coarse evidence localization (table/figure/page), and structured answer generation. Our pipeline combines cross-model hypothesis diversity for retrieval, a filter-then-rank evidence localizer (caption-pattern match, embedding similarity, evidence-type gate), and cross-model semantic entropy for generation-time answer aggregation and confidence estimation. We use an oracle-substitution ablation ladder, successively handing the pipeline the gold paper and then the gold evidence value, and reading off the resulting change in each stage’s own metric. These are sequential oracle-intervention gains, not an additive error decomposition: the stages are measured with different quantities and are not independent. Read that way, the ladder points at evidence localization as the dominant remediable bottleneck — multiple-choice accuracy rises from 0.42 with predicted evidence to 0.76 with the gold evidence value, and end-to-end accuracy stays near 0.29 even on the questions where retrieval already returned every gold paper. We also test whether cheap uncertainty signals computed at retrieval time predict which stage will fail before it does. Along the way we surface two infrastructure-level findings with direct implications for anyone building literature-grounded QA systems. First, evidence page numbers in this and similar benchmarks are keyed to a paper’s canonical published version rather than its arXiv preprint: a real failure mode when a paper has been substantively revised, though a systematic paired ablation across 45 questions finds it is an occasional rather than pervasive hazard in this pool. Second, a substantial fraction of papers hosted on OpenReview (ICLR/ICML/NeurIPS) are unreachable by ordinary scripted HTTP requests due to a JS bot-challenge, a venue-correlated failure mode unrelated to any modeling choice. We report our diagnostic protocol, quantitative results with bootstrap confidence intervals given the benchmark’s small public dev set, and a qualitative failure taxonomy, framing this as a resource and lessons-learned contribution rather than a leaderboard claim. All multiple-choice numbers are a best-case diagnostic condition: they assume access to the gold option text, which a genuine blind submission would not have.
Dense retrieval embeds each query as a single vector, inheriting the failure modes of whichever language model generates the representation. HyDE partially addresses this by embedding a generated hypothetical answer rather than the raw question, but the single-generator design is brittle: a confident hallucination deflects the query vector away from relevant passages, and on multi-hop benchmarks four of the five individual HyDE variants we tested degrade retrieval below the direct-query baseline (the fifth is roughly at parity).
We propose Cross-Model Hypothesis Aggregation (CMHA), which queries N diverse LLMs from distinct model families, embeds each generated hypothesis, and uses the normalized centroid as the final query vector. Per-model errors are geometrically uncorrelated across families, so centroid averaging cancels idiosyncratic mistakes while reinforcing shared factual content. On BEIR benchmarks with BAAI/bge-large-en-v1.5, CMHA with N=4 achieves Recall@10 of 0.8242 on Natural Questions (+8.9pp over direct query) and 0.8166 on HotPotQA, recovering a 7.7pp single-model HyDE degradation; pairing cross-model diversity with K=3 temperature samples per model further improves peak Recall@10 to 0.8313 on NQ and 0.8328 on HotPotQA. All headline gains are statistically robust (bootstrap 95% CIs excluding zero) and hold, with a larger effect size, under a stricter joint-recall metric. We also find, to our knowledge for the first time, that embedding the raw output of chain-of-thought thinking models catastrophically breaks HyDE-style retrieval by up to 68.2pp: unparsed reasoning traces are not document-like text and embed far from the relevant passage region. A diversity-based adaptive routing policy achieves 99.9% of full CMHA recall at only 3.8 average LLM calls per query, making the approach practical for latency-sensitive vector database deployments.
Energy poverty is nearly absent from NLP-for-social-good, and the little existing work is either static retrieval/QA or relies on carbon-intensive cloud LLMs, a self-defeating "computational irony" for a humanitarian setting. We present EqGrid, a closed-loop simulation in which a low-frequency, open-weight LLM policy agent sets price and carbon bounds and targeted subsidies over a community of empirically-grounded household personas, while high-frequency multi-agent RL traders clear a continuous double auction constrained by a physical distribution grid (IEEE-33-bus with Dynamic Operating Envelopes). Our contribution is threefold and directly addresses how to measure the social impact of AI: (i) grounded personas (region-matched socio-demographics) whose load curves are checked for shape and level realism against real smart-meter data; (ii) formal energy-poverty equity metrics (Energy Burden, Gini of EB, LIHC) showing the intervention reduces burden inequality without raising net grid cost; and (iii) a compute-efficiency frontier that measures how much equity performance survives compressing the policy agent from a 235B teacher down to a sub-1B model deployable on a laptop, in estimated energy/carbon per decision. A decoupled-safety design (the LLM sets bounds; a validate-and-project grid gate executes) yields zero grid-constraint violations versus 55 under direct LLM control. On energy-poverty equity, the LLM policy lowers the Gini of energy burden to 0.305 (from 0.351) and mean burden by 28% while cutting cost (outperforming a tuned rule baseline), and a 3B-active model retains 95% of the benefit at roughly 9x lower inference energy than the teacher, with even a 0.8B on-device model retaining 92% at roughly 24x lower energy. We will release code and configs.