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

Function make_profile_text

experiments/baselines/citation_enhanced/runner.py:385–391  ·  view source on GitHub ↗
(profile: Dict[str, Any])

Source from the content-addressed store, hash-verified

383
384
385def make_profile_text(profile: Dict[str, Any]) -> str:
386 parts = [
387 profile.get("description", ""),
388 " ".join(profile.get("terms", []) or []),
389 " ".join(profile.get("directions", {}).keys()),
390 ]
391 return " ".join(str(part or "") for part in parts if part)
392
393
394@dataclass

Callers 1

build_user_statesFunction · 0.70

Calls 1

getMethod · 0.80

Tested by

no test coverage detected