AI-assisted development

Coding assistants speed up your team when tests and reviews set the frame.

Interactive example

AI coding assistance: fixing a bug

Simulation. A small pricing function rounds incorrectly — the suggestion and test run are simulated.

price_with_vat.py — buggy

def price_with_vat(net_cents: int, vat_rate: float) -> int:
    gross = net_cents * (1 + vat_rate)
    return int(gross)

Initial test run

  • 100 cents · 19%passed · 119 cents
  • 50 cents · 7%failed · 53 instead of 54 cents
  • 150 cents · 19% · edge casefailed · 178 instead of 179 cents

What you gain

  • Tests and review before any AI suggestion is merged
  • Rules so suggestions fit your project
  • Training so everyone works with it safely

Coding assistants need a frame of tests and approvals

A harness is the frame a coding assistant works in: automated tests, limited permissions and approval by a person. The comparison sets development with and without this frame side by side.

Development without a harness

  1. AI suggestion
  2. Straight into the product
  3. Errors surface in production
The assistant’s suggestion goes into the product unchecked. Errors only surface when customers notice them.

Development with a harness

  1. AI suggestion
  2. Harness
    1. Tests and limited permissions
    2. Approval by a person
  3. Product
Automated tests check every suggestion, the assistant only changes its own working area, and a person decides whether the change is merged. An error that a test catches does not reach the product.
Next topicMachine learningAll topics

What are you working on?

Tell us about your challenge. Together, we can work out whether and how we can help.

Get in touch