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.

"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

Managing security risk and compliance in a challenging landscape

How key technology partners grow with your organisation

Download now

Evaluate your order-to-cash process

15 recommended metrics to benchmark your O2C operations

Download now

AI 360: Hold, fold, or double down?

How AI can benefit your business

Download now

Getting started with Azure Red Hat OpenShift

A developer’s guide to improving application building and deployment capabilities

Download now

Recommended

How to become a machine learning engineer
Careers & training

How to become a machine learning engineer

23 Dec 2020
Data science fails: Building AI you can trust
Whitepaper

Data science fails: Building AI you can trust

2 Dec 2020
MLOps 101: The foundation for your AI strategy
Whitepaper

MLOps 101: The foundation for your AI strategy

2 Dec 2020
Realising the benefits of automated machine learning
Whitepaper

Realising the benefits of automated machine learning

2 Dec 2020

Most Popular

How to move Windows 10 from your old hard drive to SSD
operating systems

How to move Windows 10 from your old hard drive to SSD

21 Jan 2021
WhatsApp could face €50 million GDPR fine
General Data Protection Regulation (GDPR)

WhatsApp could face €50 million GDPR fine

25 Jan 2021
Trump pardons convicted ex-Google engineer Levandowski
intellectual property

Trump pardons convicted ex-Google engineer Levandowski

20 Jan 2021