Hacker News new | ask | show | jobs
by codeenlightener 1656 days ago
Denigma works very poorly on short code– especially single lines. It warns you.

It is designed for explaining real-world code in context, and performs poorly on esoteric examples.

1 comments

In case it wasn't clear, I modified your DevOps example, so it's not like that code came out of left-field or was hand-crafted to trip you up. If you want to say "it is not good at reasoning about shell, instead focusing on programming languages" that'd be a much more plausible concession

Since you're hanging out here, what is the explanation for how it can say "exit 1 is used to stop any further commands from running." and then carry on?

It's even more bizarre that it (seems to?) understands what "exit 1" does, but only when it is not the first command in the sequence?