health

package
v0.45.4 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DemandScore

func DemandScore(d DemandInput) float64

func Grade

func Grade(score float64) string

func Overall

func Overall(demand, throughput, responsiveness float64) float64

func ResponsivenessScore

func ResponsivenessScore(r ResponsivenessInput) float64

func ThroughputScore

func ThroughputScore(t ThroughputInput) float64

Types

type DemandInput

type DemandInput struct {
	StarGrowthPct            float64
	ExternalContributorDelta float64
	NewPRDelta               float64
	NewIssueDelta            float64
}

type ResponsivenessInput

type ResponsivenessInput struct {
	FirstResponsePRHours    float64
	FirstResponseIssueHours float64
	RespondedWithin48hPct   float64
	UnansweredPct           float64
}

type ThroughputInput

type ThroughputInput struct {
	MedianMergeHours float64
	PRBacklogDelta   float64
	AgingPRsPct      float64
}

Jump to

Keyboard shortcuts

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