MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / normalize_topic_token

Function normalize_topic_token

agents/master-coordinator/main.py:402–404  ·  view source on GitHub ↗

Normalize topic labels for fuzzy matching.

(value: str)

Source from the content-addressed store, hash-verified

400
401
402def normalize_topic_token(value: str) -> str:
403 """Normalize topic labels for fuzzy matching."""
404 return re.sub(r"[\s_\-]+", "", (value or "").strip().lower())
405
406
407def get_canonical_topic_aliases(topic_key: str) -> List[str]:

Callers 4

handle_expand_pushMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected