Skip to content
Motillo

How we quality-assure code in the AI era

Joakim Gudmunds

Joakim Gudmunds

Developer

How we quality-assure code in the AI era

Review has become the bottleneck

Just a year ago, writing code was what took the most time. Today our developers write code together with AI assistants, and both the pace and what we can produce have increased enormously. But far more code in less time also means more code to review and quality-assure. Whether the code is written by a human or by AI, code review plays just as important a role as before. This is where many bugs are prevented and security risks are caught. In e-commerce, a missed bug can have serious consequences: checkout flows can break, prices can be wrong, or the site can even go down.

To keep up the higher pace without compromising on quality, we have recently rebuilt our review processes from the ground up.

A second opinion, but for code

Claude has become our best friend when it comes to AI-assisted development at Motillo, but the code still needs other eyes on it. Just as doctors ask a colleague for a second opinion and an independent assessment, different AI models can see things from different angles. Two reviews from the same AI model tend to miss the same things, because they share the same blind spots.

That is why our process looks like this:

  1. The developer produces the code, with AI as support.
  2. The developer runs tests and a first AI review before handing the code over. We primarily use Claude from Anthropic, with instructions tailored to each project and platform.
  3. A second, independent review is run by a different model from a different provider. This is often where things the first review missed get caught.
  4. A developer on the team goes through the changes and also assesses the AI's comments before anything goes live on the client's website.

Large parts of this process now run fully automatically.

The AI suggests, the human decides

AI is good at spotting patterns and oversights, but it isn't always right. That is why we have also built in a simple way for the team to flag when the review is spot on and when it is wrong. We use that feedback to improve the review over time, so that it becomes more accurate for our particular projects.

”My philosophy is that nothing will look the same a year from now. That's why we need to be quick on our feet and constantly question every process and system. When we develop new tools and workflows, we always need to be able to replace, adapt and evolve them quickly as the world changes.”
Joakim Gudmunds

Joakim Gudmunds

Developer and AI Lead

Security first

Code from our clients' projects is handled with the same care as always. The review runs in an isolated environment we have built ourselves. It holds no passwords, keys or other sensitive data, and it has no internet access. The only thing it can reach is the AI model doing the review. So if anyone were to trick the AI through the code, there is nothing to steal and nowhere to send it.

What it means for our clients

Our clients notice it in two ways: we deliver faster, and more bugs are caught before they reach the website. AI doesn't replace experienced developers, but it makes them more accurate and more productive.

To stay at the forefront, we put a lot of effort into keeping up to date and using the best tools on the market – combined with our long experience and expertise to check, and take responsibility for, the results.

Want to know how we would work on your project? Get in touch and we'll tell you more.

More articles

Got any questions?

Get in touch and we'll talk about your growth journey