AI Coding meets Code Health πŸͺ„ β€” with Stuart Caborn

Β· Source: Refactoring Β· Field: Technology & Digital β€” Artificial Intelligence & Machine Learning, Software Development & Engineering, Data Science & Analytics Β· Depth: Advanced, extended

Summary

Love Holidays, an online travel agency, has achieved remarkable engineering efficiency by integrating AI coding with a strong focus on code health. Their engineers deploy to production over 80 times monthly, with more than 60% of production code written by AI, while maintaining an elite change failure rate under one percent and perfect code health. This success stems from a deliberate, multi-year journey that prioritized improving code quality for human engineers *before* AI adoption, using tools like CodeScene to identify "hot spots" and make quality visible through data products. They found that higher code quality leads to more successful LLM outcomes and lower token spend, highlighting the mutual benefits of human-centric code practices and AI efficiency.

Key takeaway

For Directors of AI/ML or MLOps Engineers aiming to scale AI coding, prioritize foundational code health and robust data product strategies. Your investment in high-quality, well-documented code directly translates to more efficient and successful AI agent performance, reducing token costs and accelerating deployment frequency. Implement "shift-left" guardrails and integrate AI-driven "skills" for processes and knowledge to empower both human and AI contributors, ensuring quality and fostering a flywheel of continuous improvement.

Key insights

High code quality significantly boosts AI coding success and reduces LLM token spend, creating a virtuous cycle.

Principles

Method

Love Holidays built data products for code health, incidents, and deployments, exposing metadata to AI agents (like Claude) via an MCP server. This enables AIs to access and correlate data. Guardrails, including unit testing and code quality checks, are integrated into the agentic loop.

In practice

Topics

Best for: CTO, VP of Engineering/Data, Executive, AI Engineer, MLOps Engineer, Director of AI/ML

Related on AIssential

Open in AIssential β†’

Editorial summary, takeaway, and curation by AIssential. Original article published by Refactoring.