3 ms·
How about the other way. I define a few test cases and the AI writes code for a generalized solution. Not just code that regurgitates the test cases, but that g
by Buttons840 4y ago
How about the other way. I define a few test cases and the AI writes code for a generalized solution. Not just code that regurgitates the test cases, but that generalizes well to unseen cases. You'll notice this is simply the machine learning problem restated.
The next step could be to have the AI write code that describes its own reasoning, balancing length of code and precision.
- spawarotti 4y ago> I define a few test cases and the AI writes code for a generalized solution How about the AI never writing any code, just training "mini AI" / network that implements the test cases, of course in a generalized way, the way our current AI systems work. We could continue adding test cases for corner cases until the "mini AI" is so good that we no longer can come up with a test case that trips it over. In such future, the skill of being comprehensive tester would be everything, and the only code written by humans would be the test cases.
- avmich 4y ago> How about the other way. I define a few test cases and the AI writes code for a generalized solution. Not just code that regurgitates the test cases, but that generalizes well to unseen cases. You'll notice this is simply the machine learning problem restated. I think Barliman does something similar (http://minikanren.org/ http://minikanren.org/)