Apply suggestions from code review

Co-authored-by: Henry Mercer <henrymercer@github.com>
This commit is contained in:
Esben Sparre Andreasen
2022-04-01 14:08:58 +02:00
committed by Stephan Brandauer
parent 5ac608d503
commit 57041aad7c

View File

@@ -2,7 +2,7 @@ import javascript
import experimental.adaptivethreatmodeling.EndpointFeatures
import TestUtil
// every feature must produce a single value for each endpoint that it computes a value for, otherwise the ML model will be confused(?)
// every feature must produce a single value for each endpoint that it computes a value for, per the contract of the `scoreEndpoints` HOP
from Endpoint endpoint, EndpointFeature feature, int arity
where arity = count(feature.getValue(endpoint)) and arity > 1
select endpoint, feature.getName(), arity