Testing & Architecture

4 posts

AI Engineering

What Building a RAG Eval Suite in Swift Taught Me About AI Engineering

WhattaRAG is my on-device RAG app, built entirely in Swift, and one of the most useful AI engineering lessons I've picked up building it came from its eval suite. To make retrieval and prompt changes provable instead of felt, I built an eval suite with 242 test cases. Its biggest win wasn't confirming a fix, it was killing three plausible ones and proving the real bug is a missing computation, not a wording problem. Here's what the evals measure, what they ruled out, and why seven of eight gate clauses still fail.

Testing & Architecture

Where Are You Spending Your 10x?

Clients have always wanted it for yesterday, and developers have always cut corners to give it to them. That trap didn't go away with AI, it got 10x faster. If we can now write ten times more code, we can also ship ten times more bugs, and burn out ten times sooner. Here's how I think about spending that 10x: not on more features, but on the robustness, correctness, and user experience of the ones we ship.

Swift

Unlocking the Power of SOLID Principles in Swift

Following SOLID Principles allows you to build better software. SOLID is a well known acronym created by Uncle Bob many years ago. It’s a set of rules that will help you understand how good software should be crafted.