(_msg: string)
| 184 | |
| 185 | // Baseline 1: Random (uniform) |
| 186 | function randomClassifier(_msg: string): ContextType { |
| 187 | return CONTEXT_TYPES[Math.floor(Math.random() * CONTEXT_TYPES.length)] |
| 188 | } |
| 189 | |
| 190 | // Baseline 2: Majority class (always predict conversational — or whichever is "majority") |
| 191 | // With balanced classes, this gives exactly 20% |
nothing calls this directly
no outgoing calls
no test coverage detected