benchmarks

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 3 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 BenchmarkFixture

type BenchmarkFixture struct {
	ID          string   `json:"id"`
	Description string   `json:"description"`
	Tools       []string `json:"tools"`
}

type BenchmarkMetric

type BenchmarkMetric struct {
	ID             string  `json:"id"`
	Label          string  `json:"label"`
	Score          float64 `json:"score"`
	Numerator      int     `json:"numerator"`
	Denominator    int     `json:"denominator"`
	Interpretation string  `json:"interpretation"`
}

type CrossToolBenchmarkInput

type CrossToolBenchmarkInput struct {
	DiscoveryRelevantFound, DiscoveryRelevantTotal      int
	DedupeTrueMerges, DedupeProposedMerges              int
	ParserCorrectFields, ParserTotalFields              int
	ReferenceNormalized, ReferenceTotal                 int
	RetrievalRelevantAtK, RetrievalRelevantTotal        int
	ScreeningBaselineRecords, ScreeningModelRecords     int
	ReportReproducibleChecks, ReportReproducibleTotal   int
	PackageReproducibleChecks, PackageReproducibleTotal int
}

func DefaultCrossToolBenchmarkInput

func DefaultCrossToolBenchmarkInput() CrossToolBenchmarkInput

type CrossToolBenchmarkReport

type CrossToolBenchmarkReport struct {
	SchemaVersion string             `json:"schemaVersion"`
	Fixtures      []BenchmarkFixture `json:"fixtures"`
	Metrics       []BenchmarkMetric  `json:"metrics"`
	Markdown      string             `json:"markdown"`
}

func BuildCrossToolBenchmarkReport

func BuildCrossToolBenchmarkReport(input CrossToolBenchmarkInput) CrossToolBenchmarkReport

func (CrossToolBenchmarkReport) HasFixture

func (r CrossToolBenchmarkReport) HasFixture(id string) bool

func (CrossToolBenchmarkReport) HasMetric

func (r CrossToolBenchmarkReport) HasMetric(id string) bool

func (CrossToolBenchmarkReport) Score

Jump to

Keyboard shortcuts

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