Refactoring with AI
-
02Pinning Both Ends: Letting AI Rewrite 15k Lines of Test ToolingI pinned both ends of an old test generator, the parsed input and the golden output, and let the AI rewrite everything in between. The generator shrank from about 15,000 lines to about 3,500.
-
01Deleting 19k Lines of Dead Compiler Code Without Trusting the LLMThe AI colored the dependency graph, classified every node, and deleted most of the code. I reviewed every classification by hand. Every deletion step was small enough to review in one sitting.