UAT 456 Artificial Intelligence, Machine Learning and Computer Vision for UAS
Worksheet 15 An acceptance plan and test suite for the application
Objective
Write measurable acceptance criteria, compute the sample size, test the navigation or surveying part of the application and write the failure tests as code
Equipment and materials
- The group's data and code from Worksheets 11 to 14
- A printed ArUco marker of known size (if the navigation application is chosen)
- Computer with Python, OpenCV and the module 15 example code
Safety
- If flying to record, fly within CAAT conditions in visual line of sight, keep people clear, check batteries and propellers before flight, and do not record faces unnecessarily
- Test marker landing in a simulator or on the ground first, never directly on a flying drone near people
Steps
- Choose one application and write its requirement and at least three measurable acceptance criteria with pass limits
- Compute the sample size as in Example 1 and prepare the test set to that size
- Navigation: photograph the marker at several heights, find the greatest detection height and choose the gain by simulation
- Surveying: estimate the uncertainty budget and write a guarded decision rule
- Intelligent system: choose an N-of-M rule from the costs of false alerts and misses and test it on video with real events
- Write at least five failure test cases as code and write a one-page acceptance report
Record of results
| Acceptance criterion | Pass limit | How measured | Samples needed | Measured result (95% interval) | Pass? |
|---|---|---|---|---|---|
| Condition (height, measured value or rule) | Result | Error or probability | Decision or delay |
|---|---|---|---|
| Test case | Input | Expected outcome | Actual outcome | Pass? |
|---|---|---|---|---|
Questions
If 50 cracks are seeded and 45 found, what are the recall and its 95% Wilson interval, does it meet a lower bound of at least 0.90, and how many cracks must your plan seed?
Navigation: why is the angle to the marker more accurate than the range when the marker is small in the image, and how can the greatest detection height be computed in advance?
Surveying: with a measured 6.08 m, U = 0.053 m and an upper limit of 6.10 m, what does the guarded rule decide, and what is the probability the true value exceeds the limit?
Intelligent system: what does your chosen N-of-M rule trade, and why is the 1-of-1 rule unusable?
Why does writing failure cases as code let you change thresholds with confidence? Use the case of a marker seen every other cycle.
Check before you hand in
What to hand in
- Acceptance plan and sample-size calculation
- Test results for the navigation, surveying or intelligent part
- A runnable failure test suite
- One-page acceptance report