MCPcopy Create free account
hub / github.com/astercloud/aster / NewQualityAnalyzer

Function NewQualityAnalyzer

pkg/memory/quality_analyzer.go:19–24  ·  view source on GitHub ↗

NewQualityAnalyzer 创建质量分析器

(metrics *QualityMetrics, memory *SemanticMemory)

Source from the content-addressed store, hash-verified

17
18// NewQualityAnalyzer 创建质量分析器
19func NewQualityAnalyzer(metrics *QualityMetrics, memory *SemanticMemory) *QualityAnalyzer {
20 return &QualityAnalyzer{
21 metrics: metrics,
22 memory: memory,
23 }
24}
25
26// Inconsistency 不一致性信息
27type Inconsistency struct {

Callers 11

TestNewQualityAnalyzerFunction · 0.85
TestDetectContradictionsFunction · 0.85
TestDetectDuplicatesFunction · 0.85
TestDetectOutdatedFunction · 0.85
TestDetectLowConfidenceFunction · 0.85
TestCalculateSimilarityFunction · 0.85
TestGenerateReportFunction · 0.85
TestSuggestImprovementsFunction · 0.85

Calls

no outgoing calls

Tested by 11

TestNewQualityAnalyzerFunction · 0.68
TestDetectContradictionsFunction · 0.68
TestDetectDuplicatesFunction · 0.68
TestDetectOutdatedFunction · 0.68
TestDetectLowConfidenceFunction · 0.68
TestCalculateSimilarityFunction · 0.68
TestGenerateReportFunction · 0.68
TestSuggestImprovementsFunction · 0.68