commitimpact

package
v0.0.0-...-32a7359 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitImpactReport

type CommitImpactReport struct {
	Commits    common.CommitMap
	Impact     map[string]float64
	MeanImpact float64
}

func NewCommitImpactReport

func NewCommitImpactReport(commits common.CommitMap) *CommitImpactReport

func (*CommitImpactReport) Generate

func (cir *CommitImpactReport) Generate()

Not all commits we have will get impact scores, this depends on the CommitCodingReport

type GPTCommitImpactReport

type GPTCommitImpactReport struct {
	Commits common.CommitMap
	Impact  common.CommitMap
	// contains filtered or unexported fields
}

func NewGPTCommitImpactReport

func NewGPTCommitImpactReport(commits common.CommitMap, gptClient *openai.Client) *GPTCommitImpactReport

func (*GPTCommitImpactReport) Generate

func (gcir *GPTCommitImpactReport) Generate()

Jump to

Keyboard shortcuts

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