Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[uss_qualifier/scenarios/netrid/nominal_behavior] Add checks for UA classification in DP (NET0470) #871

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,36 @@ Note: C1, C2 & C4 are assumed to be implemented upstream of `RIDCommonDictionary
| 8 | [none or valid] | [matching data to inject] | [valid] | [none] | N/A | No failure; reporting UA type to observers is not required by API | N/A |
| 9 | [none or valid] | [matching data to inject] | [valid] | [invalid] | DP | Observation API contract violated | `interuss.automated_testing.rid.observation.ObservationSuccess`; `astm.f3411.v22a.NET0450`; `astm.f3411.v22a.NET0470,Table1,X` |
| 10 | [none or valid] | [matching data to inject] | [valid] | [valid, but not corresponding to SP value] | DP | SP information incorrectly reported to observer | `astm.f3411.v22a.NET0450`; `astm.f3411.v22a.NET0470,Table1,X` |

## UA classification type
todo Note: C1, C2 & C4 are assumed to be implemented upstream of `RIDCommonDictionaryEvaluator`.

Note: the UA classification type value is implied by the presence or absence of fields in the API (`eu_classification`).

| C | Data to inject | Injection API | SP API | Observation API | Responsible entity | Failure | Failed requirement |
|----|------------------|----------------------------------------------|---------------------------------------------|-----------------------------------------------------------------|--------------------|---------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
| 1 | [invalid] | [any] | [any] | [any] | Test designer | Invalid test data provided | Exception raised in scenario bootstrap |
| 2 | [none or valid] | [anything that doesn't match data to inject] | [any] | [any] | uss_qualifier dev | Test data not injected accurately | `interuss.automated_testing.rid.injection.UpsertTestResult` |
| 5 | [none or valid] | [matching data to inject] | [invalid] | [any] | SP | SP API contract violated | `astm.f3411.v22a.NET0710,X`; `astm.f3411.v22a.NET0260,Table1,X` |
| 7 | [none or valid] | [matching data to inject] | [anything that doesn't match injected data] | [any] | SP | UA classification type not communicated correctly | `astm.f3411.v22a.NET0260,Table1,X` |
| 8 | [none or valid] | [matching data to inject] | [valid] | [`uas` not specified] | N/A | No failure; reporting uas to observers is not required by API | N/A |
| 9 | [none or valid] | [matching data to inject] | [valid] | [`uas` specified with invalid data] | DP | Observation API contract violated | `interuss.automated_testing.rid.observation.ObservationSuccess`; `astm.f3411.v22a.NET0450`; `astm.f3411.v22a.NET0470,Table1,X` |
| 10 | [none or valid] | [matching data to inject] | [valid] | [`uas` specified with valid data not corresponding to SP value] | DP | SP information incorrectly reported to observer | `astm.f3411.v22a.NET0450`; `astm.f3411.v22a.NET0470,Table1,X` |

details: 710,2

## UA classification for 'European Union' type
Note: C1, C2 & C4 are assumed to be implemented upstream of `RIDCommonDictionaryEvaluator`.

Note: `none` refers to an empty `eu_classification` fields. Presence of the field implies UA classification type (see above).

| C | Data to inject | Injection API | SP API | Observation API | Responsible entity | Failure | Failed requirement |
|----|-----------------|-----------------------------------------------------------------|--------------------------------------------------|-----------------------------------------------------------------|--------------------|---------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
| 1 | [invalid] | [any] | [any] | [any] | Test designer | Invalid test data provided | Exception raised in scenario bootstrap |
| 2 | [none or valid] | [anything that doesn't match data to inject, including invalid] | [any] | [any] | uss_qualifier dev | Test data not injected accurately | `interuss.automated_testing.rid.injection.UpsertTestResult` |
| 3 | [none or valid] | [matching data to inject] | [none] | [any] | SP | API-required field not provided | `astm.f3411.v22a.NET0710,X`; `astm.f3411.v22a.NET0260,Table1,X` |
| 5 | [none or valid] | [matching data to inject] | [invalid] | [any] | SP | SP API contract violated | `astm.f3411.v22a.NET0710,X`; `astm.f3411.v22a.NET0260,Table1,X` |
| 7 | [none or valid] | [matching data to inject] | [valid, but not corresponding to injected value] | [any] | SP | UA classification not communicated correctly | `astm.f3411.v22a.NET0260,Table1,X` |
| 8 | [none or valid] | [matching data to inject] | [valid] | [`uas` not specified] | N/A | No failure; reporting uas to observers is not required by API | N/A |
| 9 | [none or valid] | [matching data to inject] | [valid] | [`uas` specified with invalid data] | DP | Observation API contract violated | `interuss.automated_testing.rid.observation.ObservationSuccess`; `astm.f3411.v22a.NET0450`; `astm.f3411.v22a.NET0470,Table1,X` |
| 10 | [none or valid] | [matching data to inject] | [valid] | [`uas` specified with valid data not corresponding to SP value] | DP | SP information incorrectly reported to observer | `astm.f3411.v22a.NET0450`; `astm.f3411.v22a.NET0470,Table1,X` |
Loading