sensitivity changes
Objective
-
--sentivity flag for publish now defaults to true. Can disable with --no-sensitivity.
-
Removes redundant code from scoring algos
- Left over from adj list MR
-
Adds new
--sensitivityflag fortrudag score- This can be used with the
--dumpflag to dump the sensitivity scores for each item
- This can be used with the
CLI Example:
TRUSTABLE-SOFTWARE = 0.0; Missing
Sensitivity Data:
- TA-CONFIDENCE: 0.08333
- TA-FIXES: 0.08333
- TA-INPUTS: 0.08333
- TA-METHODOLOGIES: 0.08333
- TA-SUPPLY_CHAIN: 0.08333
- TA-UPDATES: 0.08333
- TA-ANALYSIS: 0.05556
- TA-DATA: 0.05556
- TA-ITERATIONS: 0.05556
- TA-RELEASES: 0.05556
- TA-TESTS: 0.05556
- TA-VALIDATION: 0.05556
- TA-BEHAVIOURS: 0.04167
- TA-CONSTRAINTS: 0.04167
- TA-INDICATORS: 0.04167
- TA-MISBEHAVIOURS: 0.04167
Dump Example:
{
"scores": [
{
"id": "TRUSTABLE-SOFTWARE",
"score": 0.0,
"origin": "Missing",
"sensitivity": {
"TA-CONFIDENCE": 0.08333,
"TA-FIXES": 0.08333,
"TA-INPUTS": 0.08333,
"TA-METHODOLOGIES": 0.08333,
"TA-SUPPLY_CHAIN": 0.08333,
"TA-UPDATES": 0.08333,
"TA-ANALYSIS": 0.05556,
"TA-DATA": 0.05556,
"TA-ITERATIONS": 0.05556,
"TA-RELEASES": 0.05556,
"TA-TESTS": 0.05556,
"TA-VALIDATION": 0.05556,
"TA-BEHAVIOURS": 0.04167,
"TA-CONSTRAINTS": 0.04167,
"TA-INDICATORS": 0.04167,
"TA-MISBEHAVIOURS": 0.04167
}
},
Closes #509 (closed)
Software Review
-
Achieves the stated objective of the change -
Actually addresses linked issue(s) -
Where applicable, changes to trustabledirectory meet Software Reviewer conditions
Trustable/Safety Review
-
Achieves the stated objective of the change -
Actually addresses linked issue(s) -
Where applicable, changes to trustabledirectory meet Trustable Reviewer conditions
Commit History Review
-
Included commits only relate to this MR -
Commit messages are well-formatted and clearly describe changes, Please see guide
Edited by Lucas Biaggi