Test suite lacks meaningful assertions
You asked an agent to add tests for a TypeScript function that parses webhook payloads, and it gave you this. The PR shows good coverage numbers and all tests pass. Before you trust this suite to guard the parser, what do you check?
Implement
flag_vacuous_tests(test_names: list[str], assertions: list[str]) → list[str]Examples
in
[["parses valid payload","rejects invalid payload"],["toBeDefined","catch:toBeTruthy"]]out["parses valid payload","rejects invalid payload"]in
[["parses valid payload"],["toEqual;toBe"]]out[]in
[["rejects invalid payload"],["rejects.toThrow"]]out[]What a strong answer looks like
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.
0:00 of about 14 min
Vibe & agentic: describe the solution in plain language (or narrate it) and the coach grades your approach.
Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.
Run or narrate your approach, then ask the coach.