TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

SimFix: Automatically fix programs with existing patches from other projects

96 pointsby magneticabout 6 years ago

9 comments

sitkackabout 6 years ago
My favorite paper on the subject of automatic program repair is &quot;A Systematic Study of Automated Program Repair:Fixing 55 out of 105 Bugs for $8 Each&quot; [0][1] see also <a href="http:&#x2F;&#x2F;program-repair.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;program-repair.org&#x2F;</a><p>[0] <a href="http:&#x2F;&#x2F;web.eecs.umich.edu&#x2F;~weimerw&#x2F;p&#x2F;weimer-icse2012-genprog-preprint.pdf" rel="nofollow">http:&#x2F;&#x2F;web.eecs.umich.edu&#x2F;~weimerw&#x2F;p&#x2F;weimer-icse2012-genprog...</a><p>[1] <a href="https:&#x2F;&#x2F;squareslab.github.io&#x2F;genprog-code&#x2F;" rel="nofollow">https:&#x2F;&#x2F;squareslab.github.io&#x2F;genprog-code&#x2F;</a>
jbogganabout 6 years ago
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&#x27;t scale well beyond simple scripts. This is very interesting though. There&#x27;s a large potential market for this with continuous integration platforms.
cleansyabout 6 years ago
Reminded me of a project from a friend of mine that unfortunately is pretty much dead since two years:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;quantifiedcode&#x2F;quantifiedcode" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;quantifiedcode&#x2F;quantifiedcode</a><p>This one also creates graphs from code and once you write a fix for one pattern you can apply it to all.<p>EDIT: it&#x27;s for python
dspillettabout 6 years ago
Looks interesting, though I wonder what sort of checking would be needed to ensure it didn&#x27;t accidentally replicate a bug everywhere because it was accidentally implemented while fixing something. You wouldn&#x27;t want something like this on full automatic.
评论 #19319945 未加载
jugg1esabout 6 years ago
This seems like a crazy idea. Does it actually work?
benj111about 6 years ago
So if there&#x27;s a fork what happens?<p>I&#x27;m skeptical that this would work, but if it does great, probably better suited to bugs than features?<p>I&#x27;m quite interested in the possibility of just letting it loose on the internet, and seeing what you get back.
shikobaabout 6 years ago
It spots copy paste? And reproduces a code change on all the occurrences?
jprissiabout 6 years ago
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.
fireismyflagabout 6 years ago
import exploits;