Sub topic 13
Measuring time saved and quality, then iterating
This chapter assumes you have a workflow with fixed test inputs and a quality checklist (from the testing chapter), and that your workflow is versioned. You should be comfortable reading short Python snippets. The goal is to decide, with numbers, whether a workflow is worth keeping and what to change next.
Start with a baseline
You can't claim time saved without a "before" number. Measure the manual task first, for two to four runs, and record these values:
- Minutes of hands-on work per run, from opening the brief to publishing.
- Number of revision rounds before approval.
- Defects found after publishing, such as wrong links, off-brand phrasing, or factual errors.
Use a stopwatch or a simple log. Estimates from memory usually run low, and they inflate the apparent gain from automation.
Measure the workflow's real cost
The workflow's time is not just the model call. Count everything a person still does:
- Preparing inputs (collecting the brief, pulling data).
- Reviewing and editing the draft at each human checkpoint.
- Fixing failures, such as a validation error that forces a rerun.
- Maintenance, such as updating templates and test cases, averaged over runs.
Net time saved per run is the baseline minutes minus the workflow's minutes (items 1 to 3), minus the maintenance share. Teams often skip item 4 and overstate the gain.
Track quality with the same checklist
Speed means little if quality drops. Reuse the checklist from your test set and score each real run on it, for example brand voice, accuracy, length limit, and call to action. Add two operational signals:
- Edit rate: the share of the draft a reviewer changed. A rising edit rate often signals drift in the inputs or the model.
- First-pass approval rate: the share of drafts approved with no changes.
Business metrics such as open rate or click-through rate are useful, but many things affect them, such as send time and audience. Treat them as a sanity check, not as proof that the workflow works.
A small tracking script
Keep one record per run. This snippet appends runs to a CSV file and summarizes them.
import csv
from pathlib import Path
LOG = Path("workflow_runs.csv")
FIELDS = ["run_date", "version", "minutes", "checklist_score", "approved_first_pass"]
def log_run(run_date, version, minutes, checklist_score, approved_first_pass):
new_file = not LOG.exists()
with LOG.open("a", newline="") as f:
writer = csv.DictWriter(f, fieldnames=FIELDS)
if new_file:
writer.writeheader()
writer.writerow({
"run_date": run_date,
"version": version,
"minutes": minutes,
"checklist_score": checklist_score,
"approved_first_pass": int(approved_first_pass),
})
def summarize(baseline_minutes):
with LOG.open() as f:
rows = list(csv.DictReader(f))
if not rows:
return None
n = len(rows)
avg_minutes = sum(float(r["minutes"]) for r in rows) / n
avg_score = sum(float(r["checklist_score"]) for r in rows) / n
first_pass = sum(int(r["approved_first_pass"]) for r in rows) / n
return {
"runs": n,
"avg_minutes_saved": round(baseline_minutes - avg_minutes, 1),
"avg_checklist_score": round(avg_score, 2),
"first_pass_rate": round(first_pass, 2),
}
log_run("2026-11-02", "v1.2", 25, 0.8, False)
log_run("2026-11-09", "v1.2", 20, 0.9, True)
print(summarize(baseline_minutes=90))Because each row stores the workflow version, you can compare versions side by side and see whether a change helped.
The iteration loop
Follow these rules when iterating:
- Change one thing at a time. If you edit the template and the model together, you can't tell which change mattered.
- Retest on the fixed inputs first. Only release a version if it does at least as well as the current one on the checklist.
- Let the data pick the target. If reviewers keep fixing the same phrase, fix the template or brand context. If outputs fail validation, tighten the structured-output instructions.
- Record the change. Note what you changed and why in the version history.
Common errors
- Comparing a polished workflow run with a rushed manual run, or the reverse.
- Judging from one or two runs. Weekly tasks vary, so wait for several runs before concluding.
- Ignoring review time. A draft that takes 40 minutes to fix saves nothing.
- Optimizing speed after quality has slipped, because the checklist was not scored on real runs.
Exercise
A weekly report workflow takes 15 minutes to run and review. The manual process took 60 minutes. You also spend 40 minutes per month on maintenance (4 runs per month). What is the net time saved per run, and what check should you make before calling it a success?
Show answer
Maintenance adds 10 minutes per run (40 / 4), so the workflow costs 25 minutes per run and the net saving is 60 - 25 = 35 minutes. Before calling it a success, check that the checklist score and first-pass approval rate are at least as good as the manual process, over several runs rather than one.