Research

Research

Two lines of work. One asks whether a coding agent built the software it was asked to build. The other finds where a standard machine-learning accuracy score hides unstable decisions. Profiles: ORCID and Google Scholar.

Preprint on arXiv Software engineering, agentic systems, 2026

Rebuild Dossier: Mechanically-Enforced Specs for Agentic App Rebuilds, and What Model-Tier Failures Reveal

Rebuild Dossier is an open-source MCP server that extracts interface contracts and tests from an existing Express or Next.js application. It packages them for a fresh coding agent and adds hooks that enforce parts of the rebuild workflow. The tool produces a spec and evaluation material and the agent does the rebuild. The paper reports the runs that worked and the ones that failed.

Read on arXiv ↗Code and evidence ↗Archived software DOI ↗

Under review at ICSE 2027 SEIP Software engineering, agentic systems, 2026

Rebuild Dossier: Shared Blind Spots in Co-Generated Specifications and Acceptance Tests for Agent Rebuilds

A separate paper on the same tool, submitted to the Software Engineering in Practice track of ICSE 2027. When one pipeline derives both a rebuild’s specification and its acceptance tests from the same extraction, the two can share a blind spot. In a pre-registered study of 30 frozen rebuilds, a do-nothing stub passed every generated visible and held-out test. A requirements oracle frozen before scoring, plus 59 checks written independently by an external researcher, showed the weaker-model rebuilds answering every authentication-rejection check incorrectly. The paper proposes a three-step audit to run before trusting a green rebuild.

Code and evidence ↗

Under review at the Journal of Financial Data Science Quantitative finance, machine learning, 2026

When AUC Survives but Portfolios Do Not: Leakage-Repair Effects on Predictive-Metric Stability versus Investment-Decision Stability in a Cross-Sectional Equity Classifier

An audit of a tree classifier that ranks 99 U.S. small-cap stocks by their probability of beating a market benchmark. Repairing a validation-label leak left test AUC nearly unchanged (0.553 to 0.551) but replaced most of the selected portfolio (mean Jaccard overlap 0.389). Three variants that each change one factor, including a switch to logistic regression, reproduce the pattern, and the size of the gap depends on the model. A machine-learning-only portfolio does not beat a frozen momentum benchmark under corrected accounting. The paper does not claim a trading strategy. The stock list uses current constituents, so returns are provisional. The SSRN preprint is an earlier version of this paper.

Earlier version on SSRN ↗Code and evidence ↗

What the evaluation found

A passing suite can leave the wrong behavior intact.

In a sealed follow-up on one application, all 30 rebuild snapshots passed the 20 visible tests. A separate requirements check found large differences in authentication and response behavior. The check covered 77 database-independent requirements out of 132 written checks. It was written by the author and compared responses by key only. The result marks a concrete limit of the generated suite in that setting. It is not a failure rate for coding agents.

The chronological findings log records the experiments, bugs, fixes and later corrections. The arXiv paper is a versioned publication and the log is the living record. The latest requirements check is in the archived oracle and results.

From the workbench

All writing →