Currently Building / 01 In progress

TraceWeaver

Static analysis misses most of the calls your code actually makes. I measured how much — and whether runtime traces can recover it.

GitHub ↗ Runtime × Static Analysis Python · sys.setprofile

A runtime execution layer I added to the open-source code-review-graph. The base tool builds a static call graph to estimate the blast radius of a change — the functions a given edit can reach. Static analysis of Python misses a lot of real calls, so I record which edges actually fire at runtime — a sys.setprofile tracer over each project's own test suite — and measure, carefully, whether that makes the graph better.

What I found

Method

To measure this honestly I expanded the project's impact benchmark from 13 hand-picked commits to 1,386 graded predictions mined from git history, with the commit-selection filter and the thresholds for "counts as a real effect" pre-registered before any result was computed.

Credit

The static graph is tirth8205/code-review-graph (MIT). My contribution is the runtime layer that observes the real call edges, re-ranks the graph, and measures the result.

Read it

The full write-up — method, pre-registration, and the ablation that separates the two interventions — lives in the repository ↗.