📚 Course contents
AI & Computer Vision, lesson 50 of 52
Field Trip 3: The Final Deployment Test
Introduction
This is the dress rehearsal for your product. At a real venue, in real light, with real people, you'll test it against the success criteria you wrote in lesson 47, while a scribe records what really happened. Afterwards an acceptance tool turns the day into numbers, and tells you honestly whether the product passed.
By the end of this lesson you'll be able to:
- Prepare a venue visit with permission, consent, roles and a run sheet
- Run the full product for a timed test while a scribe writes down what really happens
- Record the raw video first and keep a log
- Turn the log into the numbers named in the brief
- Judge the result with an error bar and not a single flattering number
- Write an acceptance report whose decision follows from the evidence
Working principle
This is a test, not a demo
A demo is where everything is arranged to go well. A test is arranged to find out. You will write down what really happened, including the bad parts, and you will not retune the code halfway to get a nicer number. If you must change something, note the time, and test again after.
Everything from lesson 39 still applies
Permission in writing before you go, consent for everyone who may be filmed (lesson 14), a safety check of the rig and the place, preflight on the laptop, raw video first, an event log, and a backup before you pack. This lesson adds one thing: a verdict against the brief.
If you did lesson 39 well, re-use its checklist unchanged. The table below only lists what is different.
| Item | lesson 39 | This lesson |
|---|---|---|
| Purpose | Learn to run live | Judge the finished product |
| Brief | Not needed | The success criteria from lesson 47 are printed and on site |
| Scribe | Writes events | Writes events and does not look at the screen |
| Changes during the test | Allowed | Not allowed. Note them and test again |
| Duration | As long as the event | A fixed time, written in the plan (for example 20 to 30 minutes) |
| After | Debrief | Acceptance report with a decision |
Roles
| Role | Job |
|---|---|
| Camera and rig | Sets up, checks the picture, never leaves it |
| Operator | Runs the product, reads the health warnings, and does nothing else |
| Scribe | Watches the real event, not the screen, and writes GOAL (or your event) with the clock time |
| Safety and permissions lead | Talks to the venue, keeps students out of the way, keeps the paperwork |
| Team lead | Calls start and stop, makes decisions, takes the photos for the report |
Four or five people is enough. If you are three, the lead takes safety.
The scribe is the ground truth
The numbers are only as good as the scribe. The scribe must not see what the system announced, or they will write down what they think it saw. If the real event is hard to judge (was that a goal?), agree the rule on paper before the test.
Turning the log into numbers
debrief.py (lesson 40) pairs every system event with a real event within a few seconds, one to one. Anything left over on the system side is a false alarm; anything left over on the scribe side is a miss. From that, acceptance.py makes:
- Recall: of the real events, how many did you catch?
- Precision: of the events you announced, how many were real?
- False announcements per 10 minutes
- Median delay: how late was the announcement?
Error bars: why ten out of ten is not enough
Suppose the brief says recall of at least 90 percent, and in the test you catch 10 of 10 goals. Is the brief met? The honest answer is "probably, but we have only seen ten goals". If the true recall were 75 percent you would still get 10 of 10 about one time in 18. The tool calculates a 95 percent range (the Wilson interval) from the counts and says:
| Result | Meaning |
|---|---|
| PASS | Even the cautious end of the range meets the target |
| LIKELY | The number meets the target, but the range crosses it: a small test, not proof |
| FAIL | The number misses the target |
| NOT MEASURED | The test did not produce this number |
The decision follows: all PASS is ACCEPT; some LIKELY and no FAIL is ACCEPT WITH CAUTION; any FAIL or NOT MEASURED is NOT YET.
Most student tests end with ACCEPT WITH CAUTION. That is a good honest result. Saying "we caught 10 of 10 so it works" is not.
Rates and delays have one test only
False announcements per 10 minutes, and the delay, are measured once in this lesson. The tool marks them "one test, no error bar". Zero false alarms in 25 minutes is encouraging and it is not a guarantee. The delay also includes the scribe's reaction time of a second or two, and any clock difference (lesson 40): say so in the report.
If it fails, that is the result
NOT YET is a useful result, not a bad grade. The report says what failed, what you think caused it (use the clips from lesson 40 to look), and what you would change first. lesson 51 is then a story about what you learned, plus a live demo of what does work.
Evidence folder
The numbers are claims until the evidence is there. Before you leave, one folder holds: the event log, the raw video, the consent record, the venue permission, and your notes. The tool checks the folder and says what is missing. Keep the folder private (lesson 14): it holds recordings of people.
Honest limits
One venue, one day and one scribe is a small test. Your result is for that place and that light. Say so in the report and in the demo.

