MCPcopy Create free account
hub / github.com/53AI/53AIHub / fallbackSkillScore

Function fallbackSkillScore

api/service/skill_library_scan.go:1232–1237  ·  view source on GitHub ↗
(riskLevel string)

Source from the content-addressed store, hash-verified

1230}
1231
1232func fallbackSkillScore(riskLevel string) float64 {
1233 if strings.TrimSpace(riskLevel) == model.SkillRiskLevelHigh {
1234 return 1.0
1235 }
1236 return 3.0
1237}
1238
1239func looksLikeHighRiskSkill(content string) bool {
1240 if content == "" {

Callers 1

fallbackSkillScanOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected