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

Function _score_multi_step

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

Source from the content-addressed store, hash-verified

136
137
138def _score_multi_step(text: str) -> float:
139 patterns = [r"first.*then", r"step \d", r"\d\.\s"]
140 hits = sum(1 for p in patterns if re.search(p, text, re.IGNORECASE))
141 return 0.5 if hits > 0 else 0.0
142
143
144def _score_question_complexity(text: str) -> float:

Callers 1

classify_clawrouter_v2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected