logoalt Hacker News

bharatsuthartoday at 6:18 AM3 repliesview on HN

Yes and LLMs are known to cheat on tests written by them.


Replies

simonwtoday at 10:16 AM

Have you seen that recently? I used to see that happen, but I've not caught it with the more recent (Opus 4.5+, Fable 5, GOT 5.5/5.6) models.

andaitoday at 8:58 AM

Last year when they added computer use to Claude web I was excited to try it out.

I just asked it for a code snippet and it ended up setting up a whole repo in a docker container or something.

Even volunteered a test suite. This genuinely amazed me.

...until I checked the tests.

It was just console.log("Tests passed!")

AGI 2027

slopinthebagtoday at 6:50 AM

It's not always cheating either. They aren't intelligent, so they don't actually understand the purpose of the tests or can build them to define the actual semantics of the problem space. It's literally just next-token prediction based on the codebase and prompt. Cheating implies that they have agency, and ironically agents don't.