package scoring // Score 总分(100 分制) func Score(c *CandidateOutfit, ctx *ScoreContext) int { return weatherScore(*c, *ctx) + occasionScore(*c, *ctx) + colorScore(*c) + completenessScore(*c) + styleScore(*c, *ctx) } // IsPass 是否达到阈值 func IsPass(score, threshold int) bool { return score >= threshold }