Question

1
Replies
4815
Views
SUNDARVIK Member since 2011 9 posts
Cognizant Technology Solutions
Posted: December 5, 2016
Last activity: January 23, 2017
Closed
Solved

Guardrails Compliance Score - Calculation - The rationale

Hi,

I am working on Pega 7.1.8 application and I came across the value of Compliance score to be 0 where as the percentage of compliance score is 47.Now when I checked the declare expression of the compliance score I could get the below expression

.pyrules<=0 

score=100

else

score=@max(0, (1 - @divide((10* .pyWarningsHighSeverityUnjustified) + (2 * .pyWarningsHighSeverityJustified) + (5 * .pyWarningsMediumSeverityUnjustified) + (1 * .pyWarningsMediumSeverityJustified), .pyRules))*100)
 
I also came across a link where this value being 0 is agrreable one and not a defect

https://pdn.pega.com/support-articles/guardrails-compliance-weighted-score-shows-zero

I am trying to understand the rationale behind the weighted score calculation.Techinically if the numerator in the division rule is going to greater than the number of rules(pyRules),the value would be always 0

System Administration
Moderation Team has archived post
Share this page LinkedIn