| 112 | |
| 113 | |
| 114 | def 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 | |
| 124 | def method_paths(benchmark_dir: Path, requested: Sequence[str]) -> List[Tuple[str, str, Path]]: |