MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / _score_question_complexity

Function _score_question_complexity

bench/clawrouter_v2_compat.py:144–146  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

142
143
144def _score_question_complexity(text: str) -> float:
145 count = text.count("?")
146 return 0.5 if count > 3 else 0.0
147
148
149def classify_clawrouter_v2(prompt: str, system_prompt: str | None = None) -> tuple[str, float]:

Callers 1

classify_clawrouter_v2Function · 0.85

Calls 1

countMethod · 0.45

Tested by

no test coverage detected