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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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 @@ -3,18 +3,18 @@
The `RIDCommonDictionaryEvaluator` only implements checks that are the responsibility of SPs and DPs.
Validation or checks that are the responsibility of test designers or uss_qualifier developers are to be implemented in the calling test scenario.

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

| 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` |
| 4 | [none] | NotDeclared | [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` |
| 6 | [none] | [none] | [anything other than NotDeclared] | [any] | SP | UA type not communicated correctly | `astm.f3411.v22a.NET0260,Table1,X` |
| 7 | [none or valid] | [matching data to inject] | [valid, but not corresponding to injected value] | [any] | SP | UA type not communicated correctly | `astm.f3411.v22a.NET0260,Table1,X` |
| 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` |
| 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` |
| 4 | [none] | [Default Value] | [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` |
| 6 | [none] | [none] | [anything other than Default Value] | [any] | SP | Value not communicated correctly | `astm.f3411.v22a.NET0260,Table1,X` |
| 7 | [none or valid] | [matching data to inject] | [valid, but not corresponding to injected value] | [any] | SP | Value not communicated correctly | `astm.f3411.v22a.NET0260,Table1,X` |
| 8 | [none or valid] | [matching data to inject] | [valid] | [none] | N/A | No failure; reporting value 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` |
Loading
Loading