-
Notifications
You must be signed in to change notification settings - Fork 22
Verification Artifacts Styleguide
All text documents that are requested to be verified shall provide line numberings within the document. the line numbering shall cover the complete document and start from line 1 and end with the last line of the last page. The numbering shall be continued when beginning a new page. Empy lines are not numbered. Tables figures and pictures shall be numbered with a separate line underneath the table, figures or picure.
(Proposal of 2013-10-14)
Interface Variables must be standardised.
Please use semantic versioning explained here: http://semver.org/spec/v2.0.0.html
Variables Namings are separated between internal (inside the EVC- Kernel) and external variables (used for communication between the EVC - Kernel and the interfaces). (see D2.4) All external variables are described inside the following documents:
- openETCS API documentation
- Subset-026-7
- to be completed
External and internal variables are announced to the data dictionary. (role and way to be defined)
Only variables accepted by the data dictionary are allowed to be used as variables inside the model.
The mapping between external and internal variables are defined inside the data dictionary.
The data dictionary will evolve over time and thus the need to have a synchronised set of variables has been identified a crucial part in a distributed development.
The proposal is to have a common document inside github with the following properties:
-
The name of the document is: "openETCSDataDictionary.xml"
-
The document is encoded with Extensible Markup Language (XML) see Extensible Markup Language Definition
-
All contributions to the document are launched as a pull request
-
Each variable will be represented within one xml- block consisting of
-
Variable name (see naming converntions within D2.4)
-
Variable type (see SysML Version 1.3 definition June 2012 and ISO/IEC 9899:TC2 specification)
-
Variable Range
-
Variable source (the name of the function or name of the interface the variable is derived from)
-
Requirements link either the use of the variable is defined or, if available, the variable itself is defined(see naming convention within D2.4)
-
Risk: possible ambiguity used for refinement of data dictionary, proposals e.g. to replace one variable by differentiating two aspects can be filed here (free text, string for later reuse)
-
The data dictionary will reside inside the SSRS Repository under the responsibility of the SSRS task leader.
-
Merging the block into the repository will be done according to the rules set within the SSRS task
-
Merging of the block related to the variable into the XML file master branch means that the variable has been
-
Checked for redundancy within the data dictionary
-
Checked for naming conventions and restrictions are met (defined within D2.4)
-
Checked that all information related to the variable is given
-
Approved and accepted by the SSRS team
Internal functions are named using an active form consisting of at least a combination of a verb and an object
Example:
- initiateTerminatingASession
The naming of the variables should consist of at least a combination of a verb and an object using the passive form
Examples:
- orderReceivedFromTrackside for a structure
- endOfMissionIsExecuted for a boolean
- Can be correlated to external variables
- Used to create internal functions
- The source the internal variable is derived from is given in the name of the function
- The variable type is defined within SysML Version 1.3 definition June 2012 and ISO/IEC 9899:TC2 specification)