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

Function _candidate_shift_topics

scripts/drift_engine.py:226–227  ·  view source on GitHub ↗
(profile: Dict[str, Any])

Source from the content-addressed store, hash-verified

224
225def _candidate_shift_topics(profile: Dict[str, Any]) -> List[str]:
226 return _canonicalize_topics(list((profile.get("drift_plan", {}) or {}).get("shift_topics", []) or []))
227
228
229def _downweight_topics(profile: Dict[str, Any]) -> List[str]:
230 return _canonicalize_topics(list((profile.get("drift_plan", {}) or {}).get("downweight_topics", []) or []))

Callers 2

initialize_hidden_anchorFunction · 0.85

Calls 2

_canonicalize_topicsFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected