DEV Community

Dev Station
Dev Station

Posted on

Write the acceptance test before you ask for a fixed price on AI work

Fixed price for AI work: split the quote

Engineers get asked for a fixed number on AI projects all the time. Part of that number is honest. The other part is a guess about data nobody has opened yet.

Our article on fixed price vs time and materials for AI projects covers the contract side for buyers. This post keeps to the engineering question: which parts of the build can you sign off without an opinion entering the room?

Sort the work by how acceptance is settled

A part can take a fixed price when a test decides it is done. Here is the split we use.

Part Fixed price? What settles acceptance
Data pipeline and ingestion Yes Row counts, field mapping, schema agreed first
Integration with a running system Yes, if documented A test call against the real endpoint
App, dashboard, portal Yes An agreed feature and screen list
Labelling Rarely Volume is unknown until counted
Reaching an accuracy threshold No Unknown until a model is trained
Monitoring and retraining No, retainer Drift has no end date

ISO/IEC 5338:2023, the AI system life cycle standard, draws the same line. Traditional software elements of an AI system can be built with the ISO/IEC/IEEE 12207 and 15288 processes.

Why the model stage resists a number

The IBM guide to CRISP-DM says most projects move back and forth between its six phases. A fixed quote cannot price that loop. Four questions set the size of the stage:

  • How rare is the event? A fault at 1 in 500 needs a far larger sample than one at 1 in 10.
  • How clean is the record? Mixed lighting or free text notes turn labelling into its own project.
  • Who confirms the labels? One domain expert often sets the pace.
  • What does a wrong answer cost? A missed crack and a false alarm cost different amounts, and that ratio sets the threshold.

A Phase 0 checklist

Before anyone quotes the build, Phase 0 on time and materials should produce:

  • [ ] Data counted from the actual tables, with the rare cases measured
  • [ ] Every integration called once against a real endpoint
  • [ ] A written acceptance test for the model, including the threshold
  • [ ] One named person who can say yes
  • [ ] A gate decision, where stopping is a real option

With those in hand, each later phase gets its own deliverables and a price.

The full breakdown, including the cost comparison and a sample contract structure, is in the original article on dev-station.tech.

Top comments (0)