initial structure implemented

docs -> _docs
This commit is contained in:
Oleksandr Bezdieniezhnykh
2025-12-01 14:20:56 +02:00
parent 9134c5db06
commit abc26d5c20
360 changed files with 3881 additions and 101 deletions
@@ -0,0 +1,36 @@
# 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