func determineChallengerStrength(u common.UserRecord) (strength int) { … } func determineBaseStrength(u common.UserRecord) (strength int) { … } func determineBasePenalty(from common.UserRecord, against common.UserRecord) (penalty int) { … } func determineDefenderStrength(u common.UserRecord) (strength int) { … } func determineChallengerPenalties(challenger common.UserRecord, defender common.UserRecord) (penalty int) { … } func determineDefenderPenalties(challenger common.UserRecord, defender common.UserRecord) (penalty int) { … }