types

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PR

type PR struct {
	Author      string        `csv:"author"`
	TimeToMerge time.Duration `csv:"time_to_merge_duration"`
	MergedAt    time.Time     `csv:"merged_at"`
	Repo        string        `csv:"repo"`
	Number      int           `csv:"number"`
	Reviews     string        `csv:"reviews"`
}

type RepoSignal

type RepoSignal struct {
	// User Info
	Repo string `csv:"repo"`

	// Weighted Information
	WeightedTotal       float64 `csv:"weighted_total"`
	WeightedPRs         float64 `csv:"weighted_prs"`
	WeightedReviews     float64 `csv:"weighted_reviews"`
	WeightedPRShare     float64 `csv:"weighted_pr_share"`
	WeightedReviewShare float64 `csv:"weighted_review_share"`

	// Raw Stats
	NumPRs          int `csv:"num_prs"`
	NumReviews      int `csv:"num_reviews"`
	NumContributors int `csv:"num_contributors"`

	// Scoring Use Only
	TotalTimeToMerge time.Duration `csv:"-"`

	// Merge Information
	AverageDaysToMerge float64 `csv:"average_days_to_merge"`
}

type UserSignal

type UserSignal struct {
	// User Info
	User string `csv:"user"`

	// Weighted Information
	WeightedTotal                float64 `csv:"weighted_total"`
	WeightedPRs                  float64 `csv:"weighted_prs"`
	WeightedReviews              float64 `csv:"weighted_reviews"`
	WeightedPRShare              float64 `csv:"weighted_pr_share"`
	WeightedReviewShare          float64 `csv:"weighted_review_share"`
	WeightedDistributionModifier float64 `csv:"weighted_distribution_modifier"`

	// Raw Stats
	NumPRs     int `csv:"num_prs"`
	NumReviews int `csv:"num_reviews"`

	// Scoring Use Only
	TotalTimeToMerge time.Duration `csv:"-"`

	// Merge Information
	AverageDaysToMerge float64 `csv:"average_days_to_merge"`
}

Jump to

Keyboard shortcuts

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