Firstpost
  • Home
  • Video Shows
    Vantage Firstpost America Firstpost Africa First Sports
  • World
    US News
  • Explainers
  • News
    India Opinion Cricket Tech Entertainment Sports Health Photostories
  • Asia Cup 2025
Apple Incorporated Modi ji Justin Trudeau Trending

Sections

  • Home
  • Live TV
  • Videos
  • Shows
  • World
  • India
  • Explainers
  • Opinion
  • Sports
  • Cricket
  • Health
  • Tech/Auto
  • Entertainment
  • Web Stories
  • Business
  • Impact Shorts

Shows

  • Vantage
  • Firstpost America
  • Firstpost Africa
  • First Sports
  • Fast and Factual
  • Between The Lines
  • Flashback
  • Live TV

Events

  • Raisina Dialogue
  • Independence Day
  • Champions Trophy
  • Delhi Elections 2025
  • Budget 2025
  • US Elections 2024
  • Firstpost Defence Summit
Trending:
  • Charlie Kirk shot dead
  • Nepal protests
  • Russia-Poland tension
  • Israeli strikes in Qatar
  • Larry Ellison
  • Apple event
  • Sunjay Kapur inheritance row
fp-logo
MIT researchers create bug squashing AI ten times better than predecessors
Whatsapp Facebook Twitter
Whatsapp Facebook Twitter
Apple Incorporated Modi ji Justin Trudeau Trending

Sections

  • Home
  • Live TV
  • Videos
  • Shows
  • World
  • India
  • Explainers
  • Opinion
  • Sports
  • Cricket
  • Health
  • Tech/Auto
  • Entertainment
  • Web Stories
  • Business
  • Impact Shorts

Shows

  • Vantage
  • Firstpost America
  • Firstpost Africa
  • First Sports
  • Fast and Factual
  • Between The Lines
  • Flashback
  • Live TV

Events

  • Raisina Dialogue
  • Independence Day
  • Champions Trophy
  • Delhi Elections 2025
  • Budget 2025
  • US Elections 2024
  • Firstpost Defence Summit
  • Home
  • Tech
  • News & Analysis
  • MIT researchers create bug squashing AI ten times better than predecessors

MIT researchers create bug squashing AI ten times better than predecessors

tech2 News Staff • December 29, 2016, 12:50:41 IST
Whatsapp Facebook Twitter

The system analysed the general properties of 777 patches in open source programs, and learned about the general properties of the successful patches.

Advertisement
Subscribe Join Us
Add as a preferred source on Google
Prefer
Firstpost
On
Google
MIT researchers create bug squashing AI ten times better than predecessors

MIT researchers have developed a bug squashing program ten times better than previous such attempts. Fan Long, a graduate student, and his advisor Martin Rinard are co-authors of a paper describing the system which was presented at the Symposium on Principles of Programming Languages. The machine learning system was made to go through patches applied to open-source programs hosted on GitHub, as well as the source code before the patch. The system analysed the general properties of 777 patches in popular open-source programs, and learned about the general properties of the successful patches. The knowledge of the general properties of the patched code allowed the system to automatically fix bugs in open source programs. The system was trained based on live open source programs and patches. The system is called Prophet. Although automatically fixing bugs is a useful application of the system, there are other implications of the findings. The ability to recognise good code has enormous implications for software engineering. Eran Yahav, a professor at Technion in Israel, says “It relies on the insight that despite differences between software projects, fixes — patches — applied to projects often have commonalities that can be learned from. Using machine learning to learn from ‘big code’ holds the promise to revolutionize many programming tasks — code completion, reverse-engineering, et cetera.” The bug fixing process is a little slow, as the patches have to be tested to see if they work well, which is a time consuming process. The researchers accelerated the time needed to fix bugs, but making the software rank the suggested patches. Prophet was tested on a set of 69 code errors, that had not yet been patched, in the 8 open-source programs used for the research. The performance of the system depended on how long it was allowed to work on the problem. Of the 69 bugs identified, 50 were too complex for the Prophet to fix and the need to process large sections of the code. The remaining 19 were exactly the type of bugs that Prophet could handle. If the machine was allowed to fix the source code with the first patch it thought of, Prophet was able to fix 15 of the 19 problems. When allowed to run for 12 hours on each problem, Prophet had an impressive success rate of 18. Long says “Typically, there will be good connections in the correct patches, corresponding to useful or productive program logic. And there will be bad patterns that mean disconnections in program logic or redundant program logic that are less likely to be successful.” The researchers now want to improve the Prophet by making it capable of handling larger sections of the code in an effort to create automatic bug repair systems for more complex code.

Tags
MIT artificial intelligence prophet AI Open Source Github
End of Article
Latest News
Find us on YouTube
Subscribe
End of Article

Top Stories

Charlie Kirk, shot dead in Utah, once said gun deaths are 'worth it' to save Second Amendment

Charlie Kirk, shot dead in Utah, once said gun deaths are 'worth it' to save Second Amendment

From governance to tourism, how Gen-Z protests have damaged Nepal

From governance to tourism, how Gen-Z protests have damaged Nepal

Did Russia deliberately send drones into Poland’s airspace?

Did Russia deliberately send drones into Poland’s airspace?

Netanyahu ‘killed any hope’ for Israeli hostages: Qatar PM after Doha strike

Netanyahu ‘killed any hope’ for Israeli hostages: Qatar PM after Doha strike

Charlie Kirk, shot dead in Utah, once said gun deaths are 'worth it' to save Second Amendment

Charlie Kirk, shot dead in Utah, once said gun deaths are 'worth it' to save Second Amendment

From governance to tourism, how Gen-Z protests have damaged Nepal

From governance to tourism, how Gen-Z protests have damaged Nepal

Did Russia deliberately send drones into Poland’s airspace?

Did Russia deliberately send drones into Poland’s airspace?

Netanyahu ‘killed any hope’ for Israeli hostages: Qatar PM after Doha strike

Netanyahu ‘killed any hope’ for Israeli hostages: Qatar PM after Doha strike

Top Shows

Vantage Firstpost America Firstpost Africa First Sports
Latest News About Firstpost
Most Searched Categories
  • Web Stories
  • World
  • India
  • Explainers
  • Opinion
  • Sports
  • Cricket
  • Tech/Auto
  • Entertainment
  • IPL 2025
NETWORK18 SITES
  • News18
  • Money Control
  • CNBC TV18
  • Forbes India
  • Advertise with us
  • Sitemap
Firstpost Logo

is on YouTube

Subscribe Now

Copyright @ 2024. Firstpost - All Rights Reserved

About Us Contact Us Privacy Policy Cookie Policy Terms Of Use
Home Video Shorts Live TV