Spaces:
Running
Running
| { | |
| "mission_types": { | |
| "survey_missions": [ | |
| { | |
| "name": "High-Precision Survey", | |
| "message": "survey mission at 16.047123, 108.206456", | |
| "expected_type": "survey", | |
| "expected_coordinates": [16.047123, 108.206456], | |
| "description": "6-decimal precision coordinates for exact positioning" | |
| }, | |
| { | |
| "name": "Large Area Survey", | |
| "message": "map the entire area around 16.047, 108.206 with grid pattern", | |
| "expected_type": "survey", | |
| "description": "Grid-based mapping mission" | |
| }, | |
| { | |
| "name": "Agricultural Survey", | |
| "message": "I need to survey my farm at coordinates 16.047123, 108.206456", | |
| "expected_type": "survey", | |
| "description": "Agricultural mapping with proper overlap" | |
| } | |
| ], | |
| "patrol_missions": [ | |
| { | |
| "name": "Security Patrol", | |
| "message": "patrol mission around 16.047123, 108.206456", | |
| "expected_type": "patrol", | |
| "description": "Perimeter security monitoring" | |
| }, | |
| { | |
| "name": "Property Patrol", | |
| "message": "set up patrol route around my property at 16.047, 108.206", | |
| "expected_type": "patrol", | |
| "description": "Property boundary monitoring" | |
| } | |
| ], | |
| "photography_missions": [ | |
| { | |
| "name": "Aerial Photography", | |
| "message": "photography flight at 16.047123, 108.206456", | |
| "expected_type": "photography", | |
| "description": "Multi-angle aerial photography" | |
| }, | |
| { | |
| "name": "Building Photography", | |
| "message": "take aerial photos of building at 16.047, 108.206", | |
| "expected_type": "photography", | |
| "description": "Architectural photography mission" | |
| } | |
| ], | |
| "inspection_missions": [ | |
| { | |
| "name": "Structure Inspection", | |
| "message": "inspection mission at 16.047123, 108.206456", | |
| "expected_type": "inspection", | |
| "description": "Detailed structure examination" | |
| }, | |
| { | |
| "name": "Infrastructure Inspection", | |
| "message": "inspect the building at 16.047, 108.206", | |
| "expected_type": "inspection", | |
| "description": "Infrastructure health assessment" | |
| } | |
| ], | |
| "go_straight_missions": [ | |
| { | |
| "name": "Directional Flight", | |
| "message": "go straight 100m north from 16.047123, 108.206456", | |
| "expected_type": "go_straight", | |
| "expected_direction": "north", | |
| "expected_distance": 100, | |
| "description": "Linear flight with specific direction" | |
| }, | |
| { | |
| "name": "Simple Straight Flight", | |
| "message": "fly straight 200m east from 16.047, 108.206", | |
| "expected_type": "go_straight", | |
| "expected_direction": "east", | |
| "expected_distance": 200, | |
| "description": "Basic directional movement" | |
| } | |
| ] | |
| }, | |
| "geocoding_test_cases": { | |
| "vietnamese_locations": [ | |
| { | |
| "name": "Hai Chau District", | |
| "message": "survey mission at Hải Châu district", | |
| "expected_geocoding": true, | |
| "location": "Hải Châu district", | |
| "description": "Vietnamese district with diacritics" | |
| }, | |
| { | |
| "name": "Complex Vietnamese Address", | |
| "message": "photography mission at 37 đội cung khuê trung cẩm lệ đà nẵng", | |
| "expected_geocoding": true, | |
| "location": "37 đội cung khuê trung cẩm lệ đà nẵng", | |
| "description": "Full Vietnamese address with special characters" | |
| }, | |
| { | |
| "name": "Da Nang City", | |
| "message": "patrol mission in Đà Nẵng", | |
| "expected_geocoding": true, | |
| "location": "Đà Nẵng", | |
| "description": "Major Vietnamese city" | |
| } | |
| ], | |
| "english_locations": [ | |
| { | |
| "name": "Da Nang English", | |
| "message": "survey mission in Da Nang", | |
| "expected_geocoding": true, | |
| "location": "Da Nang", | |
| "description": "English version of Vietnamese city" | |
| }, | |
| { | |
| "name": "District Reference", | |
| "message": "patrol around Hai Chau district", | |
| "expected_geocoding": true, | |
| "location": "Hai Chau district", | |
| "description": "English reference to Vietnamese district" | |
| } | |
| ], | |
| "distance_based": [ | |
| { | |
| "name": "Distance Around Location", | |
| "message": "scan 500m around Hải Châu district", | |
| "expected_geocoding": true, | |
| "expected_distance": 500, | |
| "description": "Distance-based area coverage" | |
| }, | |
| { | |
| "name": "Complex Distance Query", | |
| "message": "help me scan 300m around 37 đội cung khuê trung", | |
| "expected_geocoding": true, | |
| "expected_distance": 300, | |
| "description": "Distance with partial Vietnamese address" | |
| } | |
| ] | |
| }, | |
| "error_handling_test_cases": { | |
| "invalid_coordinates": [ | |
| { | |
| "name": "Out of Range Latitude", | |
| "message": "survey mission at 95.0, 108.206", | |
| "expected_error": true, | |
| "description": "Latitude > 90 degrees" | |
| }, | |
| { | |
| "name": "Out of Range Longitude", | |
| "message": "patrol mission at 16.047, 185.0", | |
| "expected_error": true, | |
| "description": "Longitude > 180 degrees" | |
| }, | |
| { | |
| "name": "Invalid Coordinate Format", | |
| "message": "survey mission at invalid, coordinates", | |
| "expected_error": true, | |
| "description": "Non-numeric coordinates" | |
| } | |
| ], | |
| "empty_or_malformed": [ | |
| { | |
| "name": "Empty Message", | |
| "message": "", | |
| "expected_guidance": true, | |
| "description": "Empty input handling" | |
| }, | |
| { | |
| "name": "Too Short", | |
| "message": "hi", | |
| "expected_guidance": true, | |
| "description": "Very short greeting" | |
| }, | |
| { | |
| "name": "Malformed Request", | |
| "message": "asdfghjkl random text that makes no sense", | |
| "expected_guidance": true, | |
| "description": "Random text input" | |
| } | |
| ], | |
| "ambiguous_requests": [ | |
| { | |
| "name": "Missing Location", | |
| "message": "I want to do a survey mission", | |
| "expected_guidance": true, | |
| "expected_state": "need_location", | |
| "description": "Mission type without location" | |
| }, | |
| { | |
| "name": "Missing Mission Type", | |
| "message": "I want to fly at 16.047, 108.206", | |
| "expected_guidance": true, | |
| "expected_state": "need_mission_type", | |
| "description": "Location without mission type" | |
| }, | |
| { | |
| "name": "Vague Request", | |
| "message": "help me with my drone", | |
| "expected_guidance": true, | |
| "expected_state": "need_details", | |
| "description": "Very general request" | |
| } | |
| ] | |
| }, | |
| "conversation_flow_test_cases": { | |
| "greetings": [ | |
| { | |
| "name": "Simple Hello", | |
| "message": "hello", | |
| "expected_guidance": true, | |
| "expected_variety": true, | |
| "description": "Basic greeting with response variety" | |
| }, | |
| { | |
| "name": "Polite Greeting", | |
| "message": "good morning", | |
| "expected_guidance": true, | |
| "description": "Time-based greeting" | |
| }, | |
| { | |
| "name": "Casual Hi", | |
| "message": "hi there", | |
| "expected_guidance": true, | |
| "description": "Casual greeting" | |
| } | |
| ], | |
| "drone_status_requests": [ | |
| { | |
| "name": "Direct Status Request", | |
| "message": "what is the drone status", | |
| "expected_drone_status": true, | |
| "description": "Direct drone status query" | |
| }, | |
| { | |
| "name": "Battery Check", | |
| "message": "check drone battery", | |
| "expected_drone_status": true, | |
| "description": "Specific battery status request" | |
| }, | |
| { | |
| "name": "Flight Readiness", | |
| "message": "is the drone ready to fly", | |
| "expected_drone_status": true, | |
| "description": "Flight readiness check" | |
| } | |
| ], | |
| "follow_up_responses": [ | |
| { | |
| "name": "Acknowledgment", | |
| "message": "ok", | |
| "context": "previous_guidance", | |
| "expected_guidance": true, | |
| "description": "Simple acknowledgment" | |
| }, | |
| { | |
| "name": "Confusion", | |
| "message": "what?", | |
| "context": "previous_guidance", | |
| "expected_guidance": true, | |
| "description": "User confusion" | |
| }, | |
| { | |
| "name": "Agreement", | |
| "message": "yes", | |
| "context": "previous_question", | |
| "expected_guidance": true, | |
| "description": "Positive response" | |
| } | |
| ] | |
| }, | |
| "stress_test_cases": { | |
| "rapid_requests": [ | |
| { | |
| "name": "Rapid Survey Requests", | |
| "count": 10, | |
| "base_message": "survey mission {i} at 16.047, 108.206", | |
| "description": "10 rapid survey requests" | |
| }, | |
| { | |
| "name": "Mixed Mission Types", | |
| "messages": [ | |
| "survey mission at 16.047, 108.206", | |
| "patrol mission at 16.048, 108.207", | |
| "photography mission at 16.049, 108.208", | |
| "inspection mission at 16.050, 108.209", | |
| "go straight 100m from 16.051, 108.210" | |
| ], | |
| "description": "Different mission types in sequence" | |
| } | |
| ], | |
| "api_key_rotation": [ | |
| { | |
| "name": "API Key Stress Test", | |
| "count": 20, | |
| "base_message": "test api key rotation {i} at 16.047, 108.206", | |
| "description": "Force API key rotation through volume" | |
| } | |
| ], | |
| "concurrent_requests": [ | |
| { | |
| "name": "Concurrent Mission Generation", | |
| "count": 5, | |
| "base_message": "concurrent test {i} at 16.047, 108.206", | |
| "description": "Simultaneous mission requests" | |
| } | |
| ] | |
| }, | |
| "precision_test_cases": { | |
| "coordinate_precision": [ | |
| { | |
| "name": "6-Decimal Precision", | |
| "message": "survey mission at 16.047123, 108.206456", | |
| "expected_precision": 6, | |
| "description": "Verify 6-decimal place accuracy" | |
| }, | |
| { | |
| "name": "High Precision Geocoding", | |
| "message": "patrol mission at Hải Châu district", | |
| "expected_geocoding_precision": 6, | |
| "description": "Geocoded coordinates should have 6-decimal precision" | |
| } | |
| ], | |
| "mission_quality": [ | |
| { | |
| "name": "Professional Survey Pattern", | |
| "message": "survey mission at 16.047123, 108.206456", | |
| "expected_waypoint_count": 16, | |
| "expected_overlap": 0.8, | |
| "description": "Professional survey grid with proper overlap" | |
| }, | |
| { | |
| "name": "Inspection Flight Pattern", | |
| "message": "inspection mission at 16.047123, 108.206456", | |
| "expected_altitude_variation": true, | |
| "expected_multiple_angles": true, | |
| "description": "Multi-angle inspection approach" | |
| } | |
| ] | |
| } | |
| } | |