findings

package
v0.0.0-...-c44c8e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenFlakeBug

type OpenFlakeBug struct {
	// Name of the test.
	Name string `json:"name"`

	// Monorail bug ID.
	BugId string `json:"bug_id"`

	// Current flake rate.
	FlakeRate float64 `json:"flake_rate"`
}

OpenFlakeBug represents a potential false negative finding based on the existence of an open flake bug matching a failed test.

TODO(atyfto): Implement a subcommand which checks failed tests against open flakes and returns OpenFlakeBugs.

type SummarySimilarity

type SummarySimilarity struct {
	// Similarity score [0.0, 1.0] between summary markdowns.
	Score float64 `json:"score"`

	// Buildbucket build ID.
	BuildId string `json:"build_id"`

	// Commit distance between the build and the base commit.
	CommitDist int `json:"commit_dist"`

	// Whether the build has SUCCESS status.
	IsGreen bool `json:"is_green"`
}

SummarySimilarity represents a potential false negative finding based on similarity to a build's summary markdown.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL