comparison

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 8 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

func DefaultEngineModelSettings

func DefaultEngineModelSettings() map[string]string

Types

type DisagreementResolution

type DisagreementResolution struct {
	RequiresReview bool    `json:"requiresReview"`
	Tolerance      float64 `json:"tolerance"`
	Reason         string  `json:"reason,omitempty"`
}

type EngineComparisonReport

type EngineComparisonReport struct {
	SchemaVersion      string                 `json:"schemaVersion"`
	RunID              string                 `json:"runId"`
	PrimaryEngine      string                 `json:"primaryEngine"`
	SecondaryEngine    string                 `json:"secondaryEngine"`
	InputHash          string                 `json:"inputHash"`
	EnvironmentLocks   []EnvironmentLock      `json:"environmentLocks"`
	ModelSettingParity bool                   `json:"modelSettingParity"`
	ModelSettings      map[string]string      `json:"modelSettings"`
	Warnings           []EngineWarning        `json:"warnings,omitempty"`
	OutputDeltas       EngineOutputDeltas     `json:"outputDeltas"`
	Disagreement       DisagreementResolution `json:"disagreement"`
}

func CompareAnalysisEngines

func CompareAnalysisEngines(run core.AnalysisRun, primary, secondary EngineResult, tolerance float64) EngineComparisonReport

type EngineOutputDeltas

type EngineOutputDeltas struct {
	EstimateDelta float64 `json:"estimateDelta"`
	VarianceDelta float64 `json:"varianceDelta"`
}

type EngineResult

type EngineResult struct {
	Engine        string            `json:"engine"`
	Estimate      float64           `json:"estimate"`
	Variance      float64           `json:"variance"`
	InputHash     string            `json:"inputHash"`
	Versions      map[string]string `json:"versions"`
	Warnings      []string          `json:"warnings,omitempty"`
	ModelSettings map[string]string `json:"modelSettings"`
}

func BuildMetaforFixtureResult

func BuildMetaforFixtureResult(run core.AnalysisRun, result core.AnalysisResult) (EngineResult, error)

func BuildPyMAREFixtureResult

func BuildPyMAREFixtureResult(run core.AnalysisRun, estimateDelta float64) (EngineResult, error)

type EngineWarning

type EngineWarning struct {
	Engine  string `json:"engine"`
	Message string `json:"message"`
}

type EnvironmentLock

type EnvironmentLock struct {
	Engine   string            `json:"engine"`
	Versions map[string]string `json:"versions"`
}

Jump to

Keyboard shortcuts

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