Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner executes trigger tests and returns classification metrics.
func NewRunner ¶
func NewRunner(spec *TestSpec, engine execution.AgentEngine, cfg *config.BenchmarkConfig, out io.Writer) *Runner
func (*Runner) RunDetailed ¶
func (r *Runner) RunDetailed(ctx context.Context) ([]models.TriggerResult, *models.TriggerMetrics, error)
type TestPrompt ¶
type TestSpec ¶
type TestSpec struct {
Skill string `yaml:"skill"`
ShouldTriggerPrompts []TestPrompt `yaml:"should_trigger_prompts"`
ShouldNotTriggerPrompts []TestPrompt `yaml:"should_not_trigger_prompts"`
}
Click to show internal directories.
Click to hide internal directories.