Building Efficiency with AI in Experimentation

21 October 2026
|
By Brian Rutherfoord-Jones

A common struggle faced by every industry today is understanding where AI sits within their workflows, and it is no different for the CRO world.  

I have been exploring AI-assisted experiment building for the last couple of years to see if it can support our process in some way. During this time, I found that most tools fell short in one way or the other, but advances in AI and specific features of one tool has changed how I build. Here's what made the difference, and where it still needs a careful eye.

AI in A/B Testing

One of the initial blockers with most AI models is that they don’t have the right context for A/B Testing and make the task more complex than it needs to be. I found a workaround for this by chunking code into functions and feeding it structured context. It did improve the initial results but did not offer an optimised output every time because the AI tool would go off on a different tangent and add parts I didn’t need.

Other tools helped with parts of the job, such as investigating APIs, but none I found could work from Figma designs, so translating the designs into CSS still required time and effort on my part.

Then I tried Codex, and it resolved most of the problems I'd been hitting.

What is Codex?

Codex is a cloud-based software engineering agent that can work on many tasks in parallel. As per OpenAI,

“Codex is powered by codex-1, a version of OpenAI o3 optimized for software engineering. It was trained using reinforcement learning on real-world coding tasks in a variety of environments to generate code that closely mirrors human style and PR preferences, adheres precisely to instructions, and can iteratively run tests until it receives a passing result.”

Two of the features that stood out to me with Codex are its Figma integration and Skills feature. The Figma integration solved the visual shortcoming of the previous AI tools and given that our designers work primarily in Figma, it fit right into our existing process. Additionally, the Skills feature kept the output focused and consistent.

Codex Skills

The Skills feature is like a persistent knowledge base for the tool that stores context, so you don’t have to enter it with every prompt. This fixed one of my earlier problems, the tool doing more than I asked. I tell it exactly what needs to be done, and its skills guide it on how to do it properly.

Some examples of skills I used on my Codex are:

  • Where to get data and how to structure code
  • SolidJS internal functions to use
  • Instruction to reuse code from existing experiments for readability
  • Boilerplate structure and naming conventions
Codex Workflow with Skills

Even though the tool might not provide a flawless output initially – the more I train it based on my expectations, the more it learns over time.  

Why I choose AI?

While I found AI to be helpful in speeding up my experimentation processes from the beginning, the early tools used to fall short in some features. Codex is the first one where I have been able to achieve the complete package, and I haven't hit any major disappointments with it yet.

The reason I believe AI is supporting my experiments is:

  • It gets things done with speed. It can take repetitive work off my hands and knock off hours of development, depending on the build size. You add some time for cross checking everything but that’s still more efficient and frees me up for other work.
  • It reduces the error rate in API investigation. AI reads large, nested API responses and spots data that’s easy to miss by me or any other developer.
  • It expands my knowledge. For example, it recently found React Fiber - a method of accessing React Logic that I had not come across before.

Challenges I still face

AI has improved my experimentation process, but it isn't a magic fix. Here are the main challenges I still face with Codex:

  • A developer must read the code carefully every time, as it may generate spaghetti code that’s unnecessarily complicated.  
  • Irrespective of how great the Skill input is, the tool occasionally decides to ignore the instructions and make mistakes.
  • The more complex a build is, the more prompting it needs. For example, it needs more context and instructions for cross-page APIs as compared to single-URL builds.

Conclusion

AI has earned a place in my experimentation workflow. It takes on the more repetitive work and spots things I might have missed, giving me more time for the other tasks that need my attention. But it's a collaborator, not an autopilot. The more code it writes for you, the more your code review skills matter, spotting missed instructions and subtle errors before anything goes near a live experiment - it is always a good practice to make sure the output is exactly how you wanted it to be.

‍

AI is a collaborator, not an autopilot and our experts are the ones in the driving seat. Get in touch at hello@eclipsegroup.co.uk to see how we build experiments that are fast, accurate and ready for a live site.

Brian Rutherfoord-Jones
Senior Software Engineer

About the Author

If you enjoyed this article and want to know how to apply it to your own work, please get in touch: connect with Brian on LinkedIn or use our contact form. Brian has over 7 years of experience in software development and QA automation. In that time, he has turned designs into user-friendly interfaces and worked with A/B testing tools including Adobe Target and AB Tasty. He is a Senior Software Engineer at Eclipse, an experimentation-focused agency in the UK.