On tests and documentation

2026-04-27

I'm working on a new semantic layer called 💫 Cantrip, where semantics are defined as VIEWs stored in the database: metrics, dimensions, relationships, metadata — everything lives in views. This has some nice features:

💫 Cantrip

If you're not familiar with semantic layers, they are a way of formalizing the definition of metrics and their relationships, so you can compute metrics in a consistent way in different tools, and break them down by well known dimensions. The missing piece of the modern data stack is a nice article describing how they're useful.

The missing piece of the modern data stack

While getting Cantrip ready for an official release, two common patterns stood out to me:

documentation

README Drive Development

Anyway, this is nothing new. But even though I've seen this pattern before in other projects, it still surprises me how many things I've missed that are caught by unit tests and good documentation!

#software

#data

Gemini Mention

Home