Documentation
¶
Overview ¶
Package integerstats provides the deterministic integer.stats Spice Agent tool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Manifest ¶
func Manifest() spicestarter.Manifest
Manifest returns exact compatibility and review metadata.
Types ¶
type IntegerStatistics ¶
type IntegerStatistics struct {
Count int `json:"count"`
Minimum int64 `json:"minimum"`
Maximum int64 `json:"maximum"`
Sum int64 `json:"sum"`
MeanNumerator int64 `json:"mean_numerator"`
MeanDenominator int64 `json:"mean_denominator"`
}
IntegerStatistics is an exact, immutable summary of bounded integers.
func NewIntegerStatistics ¶
func NewIntegerStatistics(values []int64) (IntegerStatistics, error)
NewIntegerStatistics computes exact aggregate values and a reduced rational mean.
type IntegerStatisticsRequest ¶
type IntegerStatisticsRequest struct {
Values []int64 `json:"values"`
}
IntegerStatisticsRequest is the strict model-visible input for integer.stats.
type IntegerStatisticsTool ¶
type IntegerStatisticsTool struct {
// contains filtered or unexported fields
}
IntegerStatisticsTool implements the deterministic read-only integer.stats tool.
func NewIntegerStatisticsTool ¶
func NewIntegerStatisticsTool() (*IntegerStatisticsTool, error)
NewIntegerStatisticsTool constructs the extension tool and validates its public definition.
func (*IntegerStatisticsTool) Definition ¶
func (statisticsTool *IntegerStatisticsTool) Definition() tool.Definition
Definition returns a defensive copy of the model-visible contract.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package autoconfigure contributes the fallback tool only through an explicit blank import.
|
Package autoconfigure contributes the fallback tool only through an explicit blank import. |
|
internal
|
|
|
qualitygate
command
|
|
Click to show internal directories.
Click to hide internal directories.