That sounds like a really interesting project! It could make the solving of issues really efficient.
I wonder if there are not well-know assisting tools of the same kind.
Looks interesting, though I wonder what sort of checking would be needed to ensure it didn't accidentally replicate a bug everywhere because it was accidentally implemented while fixing something. You wouldn't want something like this on full automatic.
My favorite paper on the subject of automatic program repair is "A Systematic Study of Automated Program Repair:Fixing 55 out of 105 Bugs for $8 Each" [0][1] see also http://program-repair.org/
We were attempting something similar last year but with ML (training from error messages to patchfiles to fix the given bug) but found it didn't scale well beyond simple scripts. This is very interesting though. There's a large potential market for this with continuous integration platforms.
13 comments
[ 3.0 ms ] story [ 42.7 ms ] threadhttps://github.com/quantifiedcode/quantifiedcode
This one also creates graphs from code and once you write a fix for one pattern you can apply it to all.
EDIT: it's for python
I'm skeptical that this would work, but if it does great, probably better suited to bugs than features?
I'm quite interested in the possibility of just letting it loose on the internet, and seeing what you get back.
Though with the option to manually interact with local projects so it isn't locked to one particular repository manager.
[0] http://web.eecs.umich.edu/~weimerw/p/weimer-icse2012-genprog...
[1] https://squareslab.github.io/genprog-code/