3 ms·
The point is that a patch without a test is not generally a useful thing. How do we know the AI generated patches are valid?
by dboreham 3y ago
The point is that a patch without a test is not generally a useful thing. How do we know the AI generated patches are valid?
- nfm 3y agoI agree in principle, but if it also generated a test, how would you know that was valid? The value I get from copilot is the ability to code faster, not the ability to code.
- abhikrc 3y agoWe know that by testing the patches. Automated Program Repair is an area of research which has done this. The patches are tested against a test-suite. So, if there are tests, we welcome them, we definitely use them to validate the patches.