Documentation ¶
Overview ¶
Package model contains the model for the assessment process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvaluationGtResult ¶
type EvaluationGtResult struct { Metrics GuaranteeData // violent metrics Violations []model.Violation // violations occurred as of violated metrics }
EvaluationGtResult is the result of the evaluation of a guarantee term
It contains the failed metrics and associated violations if any.
type ExpressionData ¶
type ExpressionData map[string]model.MetricValue
ExpressionData represents the set of values needed to evaluate an expression at a single time
type GuaranteeData ¶
type GuaranteeData []ExpressionData
GuaranteeData represents the list of values needed to evaluate an expression at several points in time
type Result ¶
type Result struct { Violated map[string]EvaluationGtResult // terms that were violated LastValues map[string]ExpressionData // last value of variables in the term LastExecution map[string]time.Time // last execution of a guarantee }
Result is the result of the agreement assessment
func (*Result) GetViolations ¶
GetViolations return the violations contained in a Result
Click to show internal directories.
Click to hide internal directories.