Question
You asked an AI agent to add a unit test for a Go function `ParseAmount(s string) (cents int64, err error)` that parses dollar strings like "$12.34" into cents. It produced a passing test. Before you accept it, you need to judge whether the test is actually meaningful or just decorative. What do you look at, and what makes you reject it even though it's green?
Treat the AI’s output as a draft to verify, not an answer to trust. Name the specific flaw and the input that triggers it, say how you’d catch it — tests, edge cases, reading critically — and how you’d re-prompt or decompose to get it right.
Vibe coding: describe the solution in plain language (or narrate it) and the coach grades your approach. Generating runnable code from your description is coming next.