(candidates)
| 39 | |
| 40 | |
| 41 | def choose_best_candidate(candidates): |
| 42 | if not candidates: |
| 43 | return "" |
| 44 | for candidate in candidates: |
| 45 | if rule_based_action(candidate): |
| 46 | return candidate |
| 47 | return candidates[0] |
| 48 | |
| 49 | |
| 50 | def help_text(): |
no test coverage detected