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