package
0.0.0-20241217200950-e77bea9c52fc
Repository: https://chromium.googlesource.com/infra/luci/luci-go
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package rules contains methods to read and write failure association rules.
No description provided by the author
Package shards provides methods to access the ReclusteringShards Spanner table.
No description provided by the author

# Functions

AlgorithmsAndClustersEqual returns whether the algorithms and clusters of two cluster results are equivalent.
ClustersAreSortedNoDuplicates verifies that clusters are in sorted order and there are no duplicate clusters.
ClustersEqual returns whether the clusters in `as` are element-wise equal to those in `bs`.
EscapeToGraphical escapes the input so that it only contains graphic unicode characters.
FailureFromProto extracts failure information relevant for clustering from a LUCI Analysis failure proto.
FailuresFromProtos extracts failure information relevant for clustering from a set of LUCI Analysis failure protos.
QuoteForRule escapes the input to a double-quoted string literal suitable for use in a failure association rule.
SortClusters sorts the given clusters in ascending algorithm and then ID order.

# Constants

AlgorithmRePattern is the regular expression pattern matching validly formed clustering algorithm names.
FailureReasonAlgorithmPrefix is the algorithm name prefix used by all versions of the failure reason clustering algorithm.
MaxClusterIDBytes is the maximum number of bytes the algorithm-determined cluster ID may occupy.
RulesAlgorithmPrefix is the algorithm name prefix used by all versions of the rules-based clustering algorithm.
TestNameAlgorithmPrefix is the algorithm name prefix used by all versions of the test name clustering algorithm.

# Variables

AlgorithmRe matches validly formed clustering algorithm names.
ChunkRe matches validly formed chunk IDs.

# Structs

ClusterDescription captures the description of a cluster, for use in bug filing.
ClusterID represents the identity of a cluster.
ClusterResults represents the results of clustering a list of test failures.
ClusterSummary captures information about a cluster.
Failure captures the minimal information required to cluster a failure.
FailureUpdate describes the changes made to the clustering of a specific test failure.
Update describes changes made to the clustering of a chunk.