Documentation
¶
Index ¶
- type C7Analyzer
- func (a *C7Analyzer) Analyze(targets []*types.AnalysisTarget) (*types.AnalysisResult, error)
- func (a *C7Analyzer) Enable(evaluator *agent.Evaluator)
- func (a *C7Analyzer) Name() string
- func (a *C7Analyzer) SetDebug(enabled bool, w io.Writer)
- func (a *C7Analyzer) SetDebugDir(dir string)
- func (a *C7Analyzer) SetEvaluator(eval *agent.Evaluator)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type C7Analyzer ¶
type C7Analyzer struct {
// contains filtered or unexported fields
}
C7Analyzer implements the pipeline.Analyzer interface for C7: Agent Evaluation.
func NewC7Analyzer ¶
func NewC7Analyzer() *C7Analyzer
NewC7Analyzer creates a C7Analyzer. It's disabled by default. debugWriter defaults to io.Discard to prevent nil writer if SetDebug is never called.
func (*C7Analyzer) Analyze ¶
func (a *C7Analyzer) Analyze(targets []*types.AnalysisTarget) (*types.AnalysisResult, error)
Analyze runs C7 agent evaluation using 5 MECE metrics in parallel.
func (*C7Analyzer) Enable ¶
func (a *C7Analyzer) Enable(evaluator *agent.Evaluator)
Enable activates C7 analysis with the given CLI evaluator.
func (*C7Analyzer) Name ¶
func (a *C7Analyzer) Name() string
Name returns the analyzer display name.
func (*C7Analyzer) SetDebug ¶
func (a *C7Analyzer) SetDebug(enabled bool, w io.Writer)
SetDebug enables debug mode with the given writer for diagnostic output.
func (*C7Analyzer) SetDebugDir ¶
func (a *C7Analyzer) SetDebugDir(dir string)
SetDebugDir configures the directory for response persistence and replay.
func (*C7Analyzer) SetEvaluator ¶
func (a *C7Analyzer) SetEvaluator(eval *agent.Evaluator)
SetEvaluator sets the evaluator for C7 analysis. Setting a non-nil evaluator auto-enables C7; setting nil disables it. This method matches C4's pattern for LLM control.