Like:
---
Programmer inputs on left:
compute std dev of x please
AI on right proposes edit to code:
+ import numpy as np
...
+ stddev_x = np.std(x)
---
Not super complicated to start with, but you can see where it will go from there.
Like:
---
Programmer inputs on left:
compute std dev of x please
AI on right proposes edit to code:
+ import numpy as np
...
+ stddev_x = np.std(x)
---
Not super complicated to start with, but you can see where it will go from there.
>To accomplish this goal, we leverage a dataset from a pedagogical programming online judge (OJ) system,2 intended for the undergraduate course, Introduction to Computing. The OJ system comprises different programming problems. Students submit their source code to a specific problem, and the OJ system judges its validity automatically (via running).
And trained seq2seq model on it on character level and it almost works, barring a few typos. IMHO this is an underappreciated breakthrough. With more data and a better model generating competition-grade programs seems possible.