Your Cart
Loading

How to Prove a Small Automation Works Before Client Handoff

A script can finish without throwing an exception and still produce the wrong business result. A useful handoff needs one clear example of what went in, what should have happened, and what actually happened.


Consider a CSV import with four rows: a valid record, an empty row, a row containing only spaces, and a malformed but nonempty record. A safe fix should leave the valid record unchanged, skip both blank rows, and preserve the existing validation error for the malformed row. “The import ran” does not prove any of those outcomes.


WRITE THE ACCEPTANCE CHECK BEFORE CHANGING CODE


For each case, record:

1. A sanitized input you can run again.

2. The expected output or database state.

3. The observed result before the change.

4. The observed result after the change.

5. A link or command that lets someone repeat the check.


Mark a case PASSED only when the observed result matches the expected result. Use NOT PROVEN when the test did not run, the source data is missing, or the result cannot be inspected. A green job status alone is not evidence of a correct record.


CHECK THE BOUNDARY AROUND THE FIX


The blank-row example needs more than one happy-path test. Verify that the malformed nonempty row still fails as intended, and that a valid row is not silently changed. For an API or webhook, also check retries, duplicate records, blank values that overwrite verified data, and writes to the wrong customer account. Only include cases relevant to the actual job; a small repair should have a bounded test plan.


HAND OVER SOMETHING THE CLIENT CAN RERUN


Deliver the focused change, a short explanation of the root cause, the exact test command or fixture, and any remaining uncertainty. Keep passwords, API keys, and personal records out of screenshots and sample files.


I put a self-produced CSV repair example and its expected-versus-actual QA table in a free live Notion preview. It is a demonstration, not a paid client result: https://desert-iris-a63.notion.site/AI-Automation-Project-OS-Free-Preview-417d661ff24c80d685b1cd6e2dc85531


If you manage several small client automations, AI Automation Project OS is a $15 Notion template with seven project stages, 12 model-agnostic prompts, a quick-start guide, and a buyer QA checklist. The free preview lets you inspect the workflow before buying. Notion AI is not required: https://payhip.com/b/XUMZG

If one reproducible Python/API data error is blocking your handoff, send a sanitized sample and expected result through my 6-hour repair inquiry. I review the scope before payment; the fixed service is $99 when the issue fits: https://payhip.com/b/yUF4Q