Skip to content
echogeco
Workflows, state and the harness · Graphs

Which steps get a model

Sort a nine-step invoice SOP into model steps and code steps, then estimate the weekly rework of that design against an agent that does all nine.

casemediumExercise · 3 min · 23 of 75
On this page

An SOP can read like nine judgments and turn out to be seven rules. Which steps get a model decides how many invoices come back each week, and deterministic first is the lesson this practises.

The situation

The Friday invoice run bills 40 projects a week from the time tracker's export. By hand it takes the operations manager about 6 minutes an invoice, $120 a week at $30 an hour. A wrong invoice costs about $50 of rework. The SOP has nine steps:

  1. Export last week's time entries.
  2. Group hours by client and project.
  3. Apply each client's rate card.
  4. Flag hours that look wrong: more than 10 in a day, or 50% above last week.
  5. Turn each project's free-text notes ("fixed nav bug, call w/ Sam re Q3") into two or three lines a client can read.
  6. Add tax by the client's country.
  7. Decide whether the invoice needs a cover note: over the purchase-order cap, or 20% above last month.
  8. Write the cover note, about 4 a week.
  9. Create the invoice in the accounting system and email it.

A contractor proposes one agent with six tools that does all nine. Assume a model step is right 95% of the time, a tested code step every time, and a code check after a model step catches 80% of its errors.

The question

Decide which steps get a model and which never do, and estimate the weekly rework under your design and under the contractor's agent.

A strong answer · Rubric · Where answers go wrong

Write your answer first, then open