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

Function make_profile_text

experiments/baselines/discourse_aware/runner.py:408–414  ·  view source on GitHub ↗
(profile: Dict[str, Any])

Source from the content-addressed store, hash-verified

406
407
408def make_profile_text(profile: Dict[str, Any]) -> str:
409 parts = [
410 profile.get("description", ""),
411 " ".join(profile.get("terms", []) or []),
412 " ".join(profile.get("directions", {}).keys()),
413 ]
414 return " ".join(str(part or "") for part in parts if part)
415
416
417@dataclass

Callers 1

build_user_statesFunction · 0.70

Calls 1

getMethod · 0.80

Tested by

no test coverage detected