(s float64)
| 73 | } |
| 74 | |
| 75 | func scoreToString(s float64) string { |
| 76 | if s == checker.InconclusiveResultScore { |
| 77 | return "?" |
| 78 | } |
| 79 | return fmt.Sprintf("%.1f", s) |
| 80 | } |
| 81 | |
| 82 | // GetAggregateScore returns the aggregate score. |
| 83 | func (r *Result) GetAggregateScore(checkDocs docChecks.Doc) (float64, error) { |