I like the simplicity of your implementation but I would fear overfitting to your example development data.
In clojure if youre writing tests, even a quick mock-up, I’d recommend you do so directly using “clojure.test”.
Clojure has my favorite test suite, especially when paired with “clojure.test.check”.
It’s super powerful, and fun to use with its toolbox of generators that can test over a broad variety of inputs.
When using the generators it’s less about the variables being defined so much as their properties.