13 comments

[ 3.0 ms ] story [ 42.7 ms ] thread
Reminded me of a project from a friend of mine that unfortunately is pretty much dead since two years:

https://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

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.
It spots copy paste? And reproduces a code change on all the occurrences?
So if there's a fork what happens?

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.

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 guess is this is the sort of functionality you'd want as a GitHub bot that proposed PRs automatically for you to manually evaluate and merge.
That is pretty much what crossed my mind.

Though with the option to manually interact with local projects so it isn't locked to one particular repository manager.

This seems like a crazy idea. Does it actually work?
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.
(comment deleted)
(comment deleted)