mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-04-22 22:06:37 +00:00
4f8c18a066
gen_tests updated solution.md updated
37 lines
1.5 KiB
Markdown
37 lines
1.5 KiB
Markdown
# Acceptance Test: AC-8 - Real-Time Results + Async Refinement
|
|
|
|
## Summary
|
|
Validate Acceptance Criterion 8: "Results of image processing should appear immediately to user, so that user shouldn't wait for the whole route to complete in order to analyze first results. Also, system could refine existing calculated results and send refined results again to user."
|
|
|
|
## Linked Acceptance Criteria
|
|
**AC-8**: Real-time streaming + async refinement
|
|
|
|
## Test Steps
|
|
|
|
### Step 1: Immediate Results (Part 1 of AC-8)
|
|
- **Action**: Upload AD000001, connect SSE client
|
|
- **Expected Result**: "image_processed" event received within 1 second of processing complete
|
|
|
|
### Step 2: Progressive Availability (Part 1)
|
|
- **Action**: Upload 60 images, monitor SSE stream
|
|
- **Expected Result**: First result available within 10 seconds, don't need to wait for all 60
|
|
|
|
### Step 3: Refinement Notification (Part 2 of AC-8)
|
|
- **Action**: Image 20 adds GPS anchor, factor graph refines images 1-19
|
|
- **Expected Result**: "trajectory_refined" event sent within 2 seconds
|
|
|
|
### Step 4: Refined Results Delivered
|
|
- **Action**: Client receives refinement event, fetches updated results
|
|
- **Expected Result**: Refined GPS coordinates available, version incremented
|
|
|
|
## Success Criteria
|
|
- Initial results latency < 1 second
|
|
- First result available before flight complete
|
|
- Refinements notified immediately
|
|
- Both initial and refined results accessible
|
|
|
|
## Pass/Fail Criteria
|
|
**Passes If**: AC-8 both parts met (immediate + refinement)
|
|
**Fails If**: Results delayed > 2s, or refinements not sent
|
|
|