Cola
Download Cola

XX post

Codebase Analysis and Test-Driven Development with Local LLMs

Codebase Analysis and Test-Driven Development with Local LLMs
Original image

The author utilized a local model on a Mac mini to process a 20K-token codebase and implement functional features.

Using Ollama, the author processed a 20K-token codebase in 11 seconds and generated code that passed 40/40 tests. The model also successfully built a JSON parser from scratch, resolving 13 initial failures in a single iteration.

Try this prompt

Try the approach in this post once on a small task: Using Ollama, the author processed a 20K-token codebase in 11 seconds and generated code that passed 40/40 tests. The mo… X post · https://x.com/pratikg/status/2113087627503256038