Writing & Research

Research, Dashboards & Writing

Engineering write-ups, research papers, and interactive dashboards that turn complex datasets and research questions into decision-ready tools.

Latest Engineering Write-ups

How I build backend systems that can prove they are correct, and what broke along the way.

Billing Python PostgreSQL AI Agents

How I Built A Billing Pipeline That Can Prove Every Invoice Is Right, Down To The Cent

An invoice you can't recompute is an invoice you can't defend. Four design decisions that held up under 1 million usage events and a live Salesforce org, the two bugs that taught me the most, and why this kind of proof matters more when AI agents write the code.

  • Full event log of 999,589 events replayed twice: all 200 invoices rebuilt with identical SHA-256 hashes
  • Live Salesforce Developer Edition org queried directly: $598,167.89 on both sides, matched to the cent
  • A 205-second aggregation query cut to 2.1 seconds with one ANALYZE on a temp table
Python, PostgreSQL, Salesforce, Hypothesis, AI agents

Papers & Technical Reports

A peer-reviewed conference paper on cybersecurity investment, and a technical report on detecting cellular injury in drug screens.

Computer Vision Drug Discovery Python

CytoGuard: Detecting and Classifying Cellular Injury in Cell Painting Screens

An open platform that flags injured wells in Cell Painting drug screens, names the likely injury mechanism, and shows the cells behind every call. Evaluated on 16,701 wells from IDR idr0133, with every compound scored by a model that never saw it.

  • Macro-F1 of 0.462 on never-seen compounds, against 0.146 for the published Pycytominer baseline; AUROC 0.947 for injured vs healthy wells
  • Raw images to injury calls with OME-Zarr, Cellpose-SAM and cp_measure; pixel-level scores match the published profiles at r = 0.95
  • FastAPI job queue, plugin system and a web viewer with segmentation overlays; 20 tests and a one-command Snakemake workflow
Cellpose-SAM, cp_measure, Pycytominer, copairs, LightGBM, FastAPI
Disaster Recovery TCO Analysis CISO Strategy

Cost-Benefit Analysis of Cold Site vs. Hot Site Disaster Recovery Strategies: A Framework for CISO Decision Making

A comprehensive analytical framework for CISOs to evaluate and justify disaster recovery investments, comparing Cold Site (slower recovery, lower cost) and Hot Site (immediate recovery, higher cost) strategies through an interactive cost-benefit model.

  • Quantifies total cost of ownership including infrastructure, downtime costs tied to RTO/RPO, and opportunity costs
  • Interactive calculator for real-time scenario analysis and board-ready reporting
  • Evidence-based recommendations for CISO budget defense and executive presentations
Risk Quantification, TCO Modeling, RTO/RPO Analysis, Executive Reporting

Interactive Dashboards

Complex datasets transformed into intuitive, explorable visualizations.

Finance Charts

Nepal National Budget Dashboard

The government's consolidated financial statement for FY 2080/081: receipts, payments, and the fiscal deficit, broken down by source.

JavaScript · Chart.js
Economics GVA

Gross Value Added Report

Sector-wise economic contribution analysis with interactive filtering capabilities.

JavaScript · D3.js
Time Series Macro

GDP Growth: 15 Years

Long-term economic trend analysis with year-over-year growth comparisons.

JavaScript · Chart.js
Simulation Policy

Nepal Redistricting Simulator

Fair representation analysis comparing current vs. simulated parliamentary seat distribution.

JavaScript · D3.js

Technical Writing

Notes and lessons from Salesforce, Java, and data visualization work.

Data Quality Public Health

How 1 Misassigned Hospital Made A Small Virginia City Top A National Health-Risk Ranking By 8x

A debug log: a small Virginia city topped a national health-risk ranking by 8x, not because it was the sickest place in America, but because a hospital catchment area was misattributed to one small county.

PCVI Atlas · August 2026
Data Quality Causal Inference

The Silent Bug That Made My Causal Model Look Right While Ignoring The 1 Confounder It Claimed To Control

A debug log: a causal model ran clean and produced a plausible-looking number. It just wasn't controlling for the thing it claimed to, because a confounder column got silently absorbed into the model's own fixed effects.

AMR-Climate Atlas · August 2026
Dataset Health Data

276 Medications That Raise Heat Risk, Traced From Clinical Trials To Medicare Prescribing Data

Dataset card for a 276-drug crosswalk of heat-vulnerability-inducing medications, resolved to RxNorm/ATC codes with a full evidence trail, built to connect RCT pharmacology literature to Medicare prescribing data.

PCVI Atlas · August 2026
Risk Assessment

How Small Business Owners Can Put A Dollar Figure On Cybersecurity Risk With 1 Formula

A comprehensive guide to calculating cybersecurity risk using the ALE formula, with practical examples for small business owners.

March 2025
Salesforce Ecosystem
Agentforce

What I Learned Automating CRM Workflows With Salesforce Agentforce AI

My experience experimenting with Agentforce AI for workflow automation and the potential impact on CRM development.

February 2025
Java

The Spring Boot Lessons I Learned Building A Production Digital Wallet

Lessons learned from building production-grade digital wallet applications with Spring Boot microservices.

December 2024
Data Viz

How To Build Interactive Data Dashboards With D3.js, Step By Step

A technical walkthrough of creating interactive data dashboards using D3.js and modern web technologies.

October 2024
Personal

From Nepal To UNLV: What Leaving Enterprise Java For Graduate School Taught Me

Reflections on transitioning from enterprise Java development to graduate studies in Management Information Systems.

August 2024

Interested in My Research or Work?

Open to discussing my research, cybersecurity tools, or full-time roles in software engineering and Salesforce development.