Added test for operational intent submission - #76
Merged
Conversation
hrishiballal
marked this pull request as draft
December 29, 2025 16:07
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds support for submitting operational intents directly to Flight Blender, implementing a test scenario for this new functionality alongside the necessary models, client methods, and configuration updates. The implementation includes dependency upgrades to newer versions of implicitdict (3.0.0 → 4.0.1) and uas-standards (3.5.0 → 4.2.0) to support ASTM F3548 Volume4D data structures.
Key Changes:
- Added new test scenario
test_add_operational_intent.pyfor operational intent submission - Introduced models for operational intent declarations including enums for operation states and types
- Updated Flight Blender client with methods to handle operational intent uploads and setup
Reviewed changes
Copilot reviewed 15 out of 16 changed files in this pull request and generated 11 comments.
Show a summary per file
| File | Description |
|---|---|
| uv.lock | Updated dependency versions for implicitdict and uas-standards |
| pyproject.toml | Updated dependency versions in project configuration |
| src/openutm_verification/simulator/models/declaration_models.py | Added enums and models for operational intent declarations |
| src/openutm_verification/simulator/flight_declaration.py | Implemented Volume4D generation and operational intent declaration method |
| src/openutm_verification/scenarios/test_add_operational_intent.py | New test scenario for operational intent submission |
| src/openutm_verification/scenarios/registry.py | Added support for operational intent data in scenario results |
| src/openutm_verification/scenarios/common.py | Added helper function to generate operational intent declarations |
| src/openutm_verification/core/reporting/reporting_models.py | Extended ScenarioResult to include operational intent data |
| src/openutm_verification/core/execution/scenario_runner.py | Added context management for operational intent declarations |
| src/openutm_verification/core/execution/dependencies.py | Updated dependency injection to handle operational intent config |
| src/openutm_verification/core/execution/config_models.py | Added configuration field for operational intent declarations |
| src/openutm_verification/core/clients/flight_blender/flight_blender_client.py | Implemented upload and setup methods for operational intent |
| src/openutm_verification/assets/simulator_templates/flight_declaration_via_operational_intent_template.json | New template for operational intent declarations |
| src/openutm_verification/assets/simulator_templates/flight_declaration_template.json | Modified existing template (contains breaking change) |
| config/default.yaml | Added configuration path for operational intent declarations |
| config/bern/flight_declaration_via_operational_intent.json | New configuration file with bounding box for operational intent |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…laration_template.json Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ender_client.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a test to verify the behaviour when submitting an operational intent directly