|
|
|
|
|
by rectang
54 days ago
|
|
> I recently deleted a whole bunch of automated tests because if the AI is going to write most of the code then I should test it to make sure it's good! ?? You say you deleted the tests, because you "should test it"? The logic seems inconsistent. Sanity checking LLM-generated code with LLM-generated automated tests is low-cost and high-yield because LLMs are really good at writing tests. |
|
I shipped a really embarrassing off-by-one error recently because some polygon representations repeat their last vertex as a sentinel (WKT, KML do this). When I checked the "tests", there was a generated test that asserted that a square has 5 vertices.