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

Template for requirements #119

Merged
merged 4 commits into from
Feb 21, 2025
Merged

Template for requirements #119

merged 4 commits into from
Feb 21, 2025

Conversation

hzbarcea
Copy link
Contributor

@hzbarcea hzbarcea commented Feb 3, 2025

No description provided.

Signed-off-by: Hadrian Zbarcea <[email protected]>
Copy link
Member

@csarven csarven left a comment

Choose a reason for hiding this comment

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

It seems there may be some confusion about the intent of this task, so I'd like to clarify a few points.

It's considered good practice to reference the issue or action that a PR addresses. This helps others understand the context and purpose of the PR, improves record-keeping, and clearly distinguishes related or alternative solutions.

For example, assuming this PR is a follow-up to an action from the LWS WG 2025-01-27 meeting, it should state something like:

"Resolves ACTION to define a requirements template for the lws-ucs repository."

If that's the intention, I don't believe this PR aligns with the ACTION's goal. The template proposed here resembles a template for conformance clauses in a specification, which differs from a template to help derive functional and non-functional requirements from use cases - what the ACTION is meant to address.

(This ACTION arose because issues referenced in #117 presented requirements framed as use cases without linking back to the actual use cases.)

Solution-centric references have no place in a UCR document.

Ensure that functional/non-functional requirements are traceable back to their corresponding use cases. Requirements in a specification respond to these, with conformance clauses representing possible solutions - there can be multiple solutions to the same requirements in a UCR document.

For reference, see:

Note how the last two include a Requirements Matrix for clarity.

@hzbarcea
Copy link
Contributor Author

hzbarcea commented Feb 3, 2025

Thanks for your thoughts @csarven. I am aware of the documents you link, I reviewed them last year. Out of all three, I like ldp-ucr, the most. But even that uses the term "shall" in the requirements extensively and pretty much follows the format I chose. I struggled a bit with with the term "component" and I was sure somebody will come up with a better phrasing. I am looking forward to the conversations in the group to best decide how to phrase this and everything will flow from there.

I also liked the dependency diagram in did-use-cases and plan to incorporate something like that in this doc.

@pchampin
Copy link
Contributor

pchampin commented Feb 6, 2025

The template proposed here resembles a template for conformance clauses in a specification, which differs from a template to help derive functional and non-functional requirements from use cases

+1

Out of all three, I like ldp-ucr, the most. But even that uses the term "shall" in the requirements extensively

the LDP-UCR document uses the term "shall" indeed, but without any reference to [RFC2119]. It is used in lowercase, and not contrasted with must / should / may ...

@w3c w3c deleted a comment from w3cbot Feb 10, 2025
@w3cbot
Copy link

w3cbot commented Feb 17, 2025

This was discussed during the #lws meeting on 17 February 2025.

View the transcript

Template for requirements (w3c/lws-ucs#119)

laurens: There has been some discussions on this PR already.
… csarven, you made some comments. Do you want to develop?

csarven: I don't have anything to add. pchampin's suggestions on the PR are good.
… They are pending response by Hadrian. Review from others would be good.

laurens: agreed; everyone is encouraged to give feedback on this PR.


hzbarcea and others added 3 commits February 20, 2025 21:55
Add different tags for functional vs non-functional requirements
@hzbarcea hzbarcea merged commit fe59797 into w3c:main Feb 21, 2025
1 check passed
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.

4 participants