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/utm/dss/subscription_interactions] Add test of requirement DSS0210,A2-7-2,4c #597

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

mickmis
Copy link
Contributor

@mickmis mickmis commented Mar 25, 2024

Build on top of the Subscription and entity interaction test scenario, extending an existing test case, to add checks for requirement DSS0210,A2-7-2,4c:

Tests must demonstrate that a subscription can be created on any DSS instance in the DSS pool, [...] and notifications for the subscription are triggered when intersecting entities are [...] modified (DSS0210,A2-7-2,4c) to any DSS instance within the DSS pool.

This PR builds on top of #588, as such please only review commit 1be30d5 until rebased. rebased.

@mickmis mickmis requested a review from barroco March 25, 2024 14:23
The response from a DSS to a valid OIR modification request is expected to contain any relevant subscription for the OIR's extents.
This should exclude one of subscriptions created earlier, as it is designed to not intersect with the OIRs being modified.

If the DSS includes the non-intersecting subscription, it fails to implement **[astm.f3548.v21.DSS0210,A2-7-2,4c](../../../../requirements/astm/f3548/v21.md)**.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not really sure about this check. I don't see a requirement explicitly excluding non-instersecting subscriptions to be returned. As an example, the current DSS implementation only relies on approximative intersections using geohash s2 cells to identify entities of interest. Therefore relaxing the requirement by making clearer that the check is only on the time dimension would help comprehension.
What do you think @BenjaminPelletier and @mickmis ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's true -- the DSS is guaranteed to return relevant subscriptions and any intersections are necessary relevant, but the threshold for irrelevancy is not standardized. As @barroco says, the InterUSS threshold for relevancy is "same s2 cell", but that's not related to a standard requirement.

We could perhaps specify that the two areas must be separated enough to not be relevant to each other in our description of the resources which puts the burden on the test designer to provide appropriate test data. But, "A implies B" being true does not mean "not A implies not B" is true, and the requirement is "notifications for the subscription are triggered when intersecting entities are [...] modified", so I'm not sure how this requirement would apply in the case when notifications are not triggered when intersecting entities are not modified -- it seems like we would at least need further explanation, and perhaps application of a different requirement as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed I agree with you @barroco @BenjaminPelletier. Given this I'd propose that for this PR I remove this check altogether, and if we deem necessary to test this further, we track this with a new issue on GitHub?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me. Please proceed and open an issue referencing this thread.

Copy link
Contributor

@barroco barroco Mar 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reference, relevant operational intent is defined in the standard, section 3.2.36, and includes the concept of Close proximity for 3D extents.

@mickmis
Copy link
Contributor Author

mickmis commented Mar 26, 2024

Please note that I've rebased this PR on top of #604 as such until it is merged, please only review commit 321b095. rebased

@mickmis mickmis requested a review from barroco March 26, 2024 15:29
@mickmis mickmis force-pushed the sub-oir-interactions-7274c branch 3 times, most recently from 321b095 to 86c37b6 Compare March 26, 2024 15:59
@mickmis mickmis force-pushed the sub-oir-interactions-7274c branch 2 times, most recently from 23d3ded to 8938e0b Compare March 27, 2024 10:43
@mickmis mickmis force-pushed the sub-oir-interactions-7274c branch from 8938e0b to 10fd0b0 Compare March 27, 2024 11:25
@mickmis mickmis merged commit 3c1bfff into interuss:main Mar 27, 2024
9 checks passed
github-actions bot added a commit that referenced this pull request Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants