MCPcopy Create free account
hub / github.com/aetherstate/GODMOD3.AI / randomClassifier

Function randomClassifier

research/eval_baselines.ts:186–188  ·  view source on GitHub ↗
(_msg: string)

Source from the content-addressed store, hash-verified

184
185// Baseline 1: Random (uniform)
186function 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%

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected