Home / Tech News / Featured Announcement / Mozilla will use Ubisoft’s machine learning platform to quell Firefox bugs

Mozilla will use Ubisoft’s machine learning platform to quell Firefox bugs

Last year, Ubisoft unveiled its ‘Commit’ artificial intelligence, an assistant intended to spot bugs before they make it into a game’s final code. Keen to show that its machine learning efforts have applications beyond the video game industry, the company has now teamed up with Mozilla to detect errors within the Firefox updates before they go live.

Like a video game, building a browser is no small feat. As Mozilla states, the application needs to play audio-visual material, handle network protocols and “secure communications using advanced cryptographic algorithms.” Millions of lines of written code make up the browser you’re reading article this from, and just one mistake can cost hundreds of hours to fix and a less-than-smooth experience for the user.

This is where Ubisoft La Forge’s Commit coding assistant comes in, supporting Firefox’s use of JavaScript, C++ and Rust programming languages. Once a fault has been detected, the team is alerted and even provided with suggested fixes to speed the process up.

Although Ubisoft touted a 60-70 percent detection rate at the time of release, it simultaneously had a 30 percent false positive rate. Fortunately, Commit is based on Ubisoft’s CLEVER research program which utilises machine learning to gradually lessen this high false positive rate. It has not yet been revealed how effective CLEVER has been within its first year.

Considering Mozilla releases a Firefox update every “6 to 8 weeks,” this is sure to take a load off the engineering team when the newly dubbed Clever-Commit is fully integrated into the code writing process. Mozilla will begin using the tool during its code review phase, before eventually implementing it into other stages of code writing if proven successful.

“We expect to save hundreds of hours of bug riskiness analysis and detection,” reveals the company. “Ultimately, the integration of Clever-Commit into the full Firefox developer workflow could help catch up to 3 to 4 out of 5 bugs before they are introduced into the code.”

Fortunately, this will be a two-way street for Ubisoft as Mozilla pledges to “contribute to the development of Clever-Commit by providing programming language expertise in Rust, C++ and Javascript, as well as expertise in C++ code analysis and analysis of bug tracking systems.”

KitGuru Says: Considering browsers handle an awful lot of personal data, it’s good to see Mozilla doubling down on its bug fixing initiative. Ubisoft’s Clever-Commit is sure to have even more applications than we’ve seen, but it’s still early days for the year-old machine learning tool.

Become a Patron!

Check Also

KitGuru Advent Calendar Day 21: Win a Corsair gaming bundle!

For Day 21 of the KitGuru Advent Calendar we have teamed up with Corsair to give one lucky reader a big bundle of gaming gear! One winner today will get a new Corsair gaming chair, a mechanical gaming keyboard and a wireless gaming headset.