Skip to content

Fix definition of ChangesCountMap #227

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

Merged
merged 3 commits into from
Aug 16, 2023
Merged

Fix definition of ChangesCountMap #227

merged 3 commits into from
Aug 16, 2023

Conversation

arskama
Copy link
Contributor

@arskama arskama commented Jul 6, 2023

ChangesCountMap is a map with source as key
and state changes count as value.

Fixes: #226


Preview | Diff

ChangesCountMap is a map with source as key
and state changes count as value.

Fixes: w3c#226
@arskama arskama requested review from anssiko and kenchris July 6, 2023 12:20
index.html Outdated
@@ -375,7 +375,10 @@ <h3>
a <dfn>[[\PenaltyDuration]]</dfn> integer set as part of the [=reset observation window=] steps.
</li>
<li>
a <dfn>[[\ChangesCountMap]]</dfn> integer set as part of the [=reset observation window=] steps.
a <dfn>[[\ChangesCountMap]]</dfn> [=ordered map=], [=map/keyed=] on a {{PressureSource}},
representing the [=source type=] to which the last state change belongs.
Copy link
Member

Choose a reason for hiding this comment

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

Would this proposed alternative wording mean the same:

representing the [=source type=] that triggered transition to the [=current pressure state=].

If that makes sense, then on L385 how about this wording:

representing the [=source type=] of the last {{PressureRecord}}.

(Disclaimer: I read this PR without additional context just trying make those lines read more like English, so this may not be what you try to specify.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, Thanks I ll make the change!

index.html Outdated
a <dfn>[[\ChangesCountMap]]</dfn> integer set as part of the [=reset observation window=] steps.
a <dfn>[[\ChangesCountMap]]</dfn> [=ordered map=], [=map/keyed=] on a {{PressureSource}},
representing the [=source type=] to which the last state change belongs.
The [=ordered map=]'s [=map/value=] is an integer representing the count of state changes in the
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe "amount of"

@arskama arskama requested a review from anssiko August 16, 2023 07:34
Copy link
Member

@anssiko anssiko left a comment

Choose a reason for hiding this comment

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

Approved with a grammar improvement suggestion.

index.html Outdated
a <dfn>[[\ChangesCountMap]]</dfn> integer set as part of the [=reset observation window=] steps.
a <dfn>[[\ChangesCountMap]]</dfn> [=ordered map=], [=map/keyed=] on a {{PressureSource}},
representing the [=source type=] that triggered transition to the [=current pressure state=].
The [=ordered map=]'s [=map/value=] is an integer representing the amount of state changes in the
Copy link
Member

Choose a reason for hiding this comment

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

s/amount of state changes/number of state changes

@arskama arskama merged commit 1deb0e5 into w3c:main Aug 16, 2023
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.

Fix definition of ChangesCountMap
3 participants