An A/B test can be live, traffic can be flowing, and everything can look fine in your application — while the experiment records nothing useful.
The frustrating part is that it often doesn't fail loudly. You don't get a useful error or a stack trace. You find out days later, when the results page is empty and the traffic has already been spent.
Flagsmith's documentation for running experiments lists five reasons this can happen. I took those five failure modes and turned them into build-time checks in a tool I built called Trial . Then I built the rest of the experiment lifecycle around the same idea: validate before creating anything, keep the experiment definition versioned, and don't promote a winner just because one number looks good.
Here's what those failures look like, and what I built to catch them.
First, make the five failures visible
I wrote five intentionally broken examples and ran them through Trial's linter:
✓ 01-unkeyed-variant protocol unkeyed-variant: variant without a key ✓…