Mozilla will use Ubisoft's AI to stamp out Firefox bugs before release

Integrating the gaming firm’s Clever-Commit coding assistant will aim to iron out flaws that human developers miss

Image of the Ubisoft logo appearing on a phone before lines of code

Mozilla has partnered with games developer Ubisoft to integrate an artificial intelligence (AI) system into the Firefox development process.

The gaming firm's Clever-Commit coding assistant will be integrated to streamline the Firefox coding process initially by reviewing lines of code prior to release to spot any issues that developers may have missed. By assessing historical information, Clever-Commit will flag any issues that bear similarity to previous buggy code and alert a developer.

If this implementation proves successful, Mozilla will then bring the AI system into the early stages of code-writing, especially in the automation phase. The firm says that integrating Clever-Commit into the full workflow will stamp out three or four out of five bugs before they are introduced into the final code.

"A web browser plays audio and video, manages various network protocols, secures communications using advanced cryptographic algorithms, handles content running in parallel multiple processes," said Mozilla's FLOSS multitasker Sylvestre Ledru.

Advertisement
Advertisement - Article continues below

"And underneath all of this is a complex body of code that includes millions of lines written in various programming languages: JavaScript, C++, Rust. The code is regularly edited, released and updated onto Firefox users' machines."

He added every Firefox release, normally published every six to eight weeks, comprises an average of 8,000 software edits loaded into the browser's code by hundreds of Firefox staff and contributors.

Combining data from the bug tracking system and the version control system, or changes in the code base, Clever-Commit will use AI to detect patterns of programming mistakes based on historical development data. It'll allow the firm to address bugs at a far earlier stage where doing so will be less resource, and time, intensive.

Developed by the Ubisoft La Forge research team, Clever-Commit was first released as a prototype in 2018 to improve the quality of games on release. It began life scanning the development process of big-budget games to quickly identify and fix bugs more frequently.

"Working with Mozilla on Clever-Commit allows us to support other programming languages and increase the overall performances of the technology," said Ubisoft's technical architect data scientist Mathieu Nayrolles.

"Using this tech in our games and in Firefox will allow developers to be more productive, as they can spend more time creating the next feature rather than fixing bugs. Ultimately, this will allow us to create even better experiences for our gamers and increase the frequency of our releases."

Ubisoft added Clever-Commit is being used by hundreds of developers and has been integrated into already-released and upcoming titles such as For Honor and Rainbow Six Siege.

Featured Resources

The IT Pro guide to Windows 10 migration

Everything you need to know for a successful transition

Download now

Managing security risk and compliance in a challenging landscape

How key technology partners grow with your organisation

Download now

Software-defined storage for dummies

Control storage costs, eliminate storage bottlenecks and solve storage management challenges

Download now

6 best practices for escaping ransomware

A complete guide to tackling ransomware attacks

Download now
Advertisement

Recommended

Visit/technology/33253/toyota-partners-with-nvidia-to-create-the-future-of-autonomous-vehicles
Technology

Toyota, NVIDIA partner on self-driving cars

20 Mar 2019

Most Popular

Visit/cloud/microsoft-azure/354230/microsoft-not-amazon-is-going-to-win-the-cloud-wars
Microsoft Azure

Microsoft, not Amazon, is going to win the cloud wars

30 Nov 2019
Visit/cloud/amazon-web-services-aws/354223/what-to-expect-from-aws-reinvent-2019
Amazon Web Services (AWS)

What to expect from AWS Re:Invent 2019

29 Nov 2019
Visit/business/business-strategy/354252/huawei-takes-the-us-trade-sanctions-into-its-own-hands
Business strategy

Huawei takes the US trade sanctions into its own hands

3 Dec 2019
Visit/hardware/354237/five-signs-that-its-time-to-retire-it-kit
Sponsored

Five signs that it’s time to retire IT kit

29 Nov 2019