Hacker News new | ask | show | jobs
by qayxc 1310 days ago
It can't do that. It can try to do that and it might work well in some cases. It is definitely incapable of doing that for any code you throw at it.

It also cannot generate comprehensive unit tests - it can can generate unit tests. The definition of "comprehensive" is way too subjective.

> Is that not good enough for you..?

No, it indeed isn't, but maybe that's because I actually have at least some idea of what happens behind the scenes and how the system works. From the implementation details, I can tell you for a fact that none of what you described can be done by the system in the general case - and especially not correctly. It's hit and miss depending on the input and that's basically a design limitation.

1 comments

Are humans capable of doing that for any code you throw at them?