mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Apply suggestions from code review
Co-authored-by: Stephan Brandauer <kaeluka@github.com>
This commit is contained in:
@@ -36,9 +36,9 @@ abstract class EndpointCharacteristic extends string {
|
|||||||
* isPositiveIndicator: If true, this characteristic indicates that this endpoint _is_ a member of the class; if
|
* isPositiveIndicator: If true, this characteristic indicates that this endpoint _is_ a member of the class; if
|
||||||
* false, it indicates that it _isn't_ a member of the class.
|
* false, it indicates that it _isn't_ a member of the class.
|
||||||
* confidence: A float in [0, 1], which tells us how strong an indicator this characteristic is for the endpoint
|
* confidence: A float in [0, 1], which tells us how strong an indicator this characteristic is for the endpoint
|
||||||
* belonging / not belonging to the given class. A confidence near zero means this characterestic is a very weak
|
* belonging / not belonging to the given class. A confidence near zero means this characteristic is a very weak
|
||||||
* indicator of whether or not the endpoint belongs to the class. A confidence of 1 means that all endpoints with
|
* indicator of whether or not the endpoint belongs to the class. A confidence of 1 means that all endpoints with
|
||||||
* this characteristic difinitively do/don't belong to the class.
|
* this characteristic definitively do/don't belong to the class.
|
||||||
*/
|
*/
|
||||||
abstract predicate getImplications(
|
abstract predicate getImplications(
|
||||||
EndpointType endpointClass, boolean isPositiveIndicator, float confidence
|
EndpointType endpointClass, boolean isPositiveIndicator, float confidence
|
||||||
|
|||||||
Reference in New Issue
Block a user