Click to Skip Ad
Closing in...

Tired of computer bugs? MIT may have the answer

Published Jan 29th, 2016 8:05PM EST

If you buy through a BGR link, we may earn an affiliate commission, helping support our expert product labs.

Researchers at MIT have developed a system to automatically repair computer bugs.

The program can comb through repairs to open-source computer programs and learn their general properties, according to MIT, building new repairs for a different set of programs.

Related: Researchers develop sarcasm detector for Twitter, and that’s no joke

The researchers tested the system on a set of programming errors, culled from real open-source applications, that had been compiled to evaluate automatic bug-repair systems. The MIT system repaired between 15 and 18, depending on whether it settled on the first solution it found or was allowed to run longer, MITnotes. Earlier systems were only able to repair one or two of the bugs.

“One of the most intriguing aspects of this research is that we’ve found that there are indeed universal properties of correct code that you can learn from one set of applications and apply to another set of applications,” said MIT Professor of electrical engineering and computer science Martin Rinard, whose group developed the system. “If you can recognize correct code, that has enormous implications across all software engineering. This is just the first application of what we hope will be a brand-new, fabulous technique.”

Related: Google program beats human at ancient Go game, in AI milestone

The research results were presented in a paper by MIT graduate student Fan Long at the Symposium on Principles of Programming Languages last week. Long and Rinard are the paper’s co-authors.

More from Tech: