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

Function profile_text

experiments/human_eval/build_main_human_eval_packet.py:114–121  ·  view source on GitHub ↗
(user: Optional[Dict[str, Any]])

Source from the content-addressed store, hash-verified

112
113
114def profile_text(user: Optional[Dict[str, Any]]) -> str:
115 if not user:
116 return ""
117 directions = user.get("seed_directions")
118 if isinstance(directions, dict) and directions:
119 direction_text = ", ".join(str(key).replace("-", " ") for key in directions)
120 return f"{user.get('description') or ''}; core directions: {direction_text}".strip("; ")
121 return str(user.get("description") or "")
122
123
124def method_paths(benchmark_dir: Path, requested: Sequence[str]) -> List[Tuple[str, str, Path]]:

Callers 1

build_rowsFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected