-
Notifications
You must be signed in to change notification settings - Fork 5
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
Ambiguity is not affected by types and slots #86
Labels
Comments
very good idea, thanks! |
I'm aware of the task, give me some time to find a developer... |
many thanks for the report, I topped your account for 15 mins, transaction 40755235 |
@yegor256 the task is yours |
@davvd assign someone else pls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think we need to take types and slots into account while calculating ambiguity because static structure (types and slots) could be as important as processes (UCs), if not more. To prove that, see this task of clarifying a TBD, such tasks almost always need defining new detailed types.
Maybe we can do this by defining a set of standard simple types that are considered unambigous while calculating ambiguity. This will be something like the list of elementary use cases we already have for UCs, e.g.,
creates
,reads
, etc.However, it is possible that some projects may need additional simple data types. If we are going to allow that, we can extend requs syntax to mark data type as "simple". If we go this way, we don't even need a standard list of simple types that requs recognizes, because SRS author will decide on his own which of his types are "simple".
UML also has enumeration stereotype for class (and probably a lot of other crazy stuff, from which I think enumerations deserve some attention). Maybe we should extend the syntax in this direction, too. I mean, allow enum definitions and consider them as simple types.
After we define what is a "simple" data type, each slot defined as informal will give +1 ambiguity point, each slot using a simple type or another type from this SRS will decrease ambiguity.
Preciesly, ambiguity could then be calculated as:
where:
The text was updated successfully, but these errors were encountered: