Understand the structure of pass and violation objects
mainThe passes and violations arrays in the result object contain objects describing specific metrics. Each object includes an id, a score (representing points deducted), and a value (the actual measured value). Some metrics also include an actuals array showing the raw data points used for the calculation.
// Example violation object
{
"id": "AverageSelectorsPerRule",
"score": 0,
"value": 1.5,
"actuals": [
2,
1
]
}