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

Function profile_needs_bootstrap

agents/master-coordinator/main.py:247–249  ·  view source on GitHub ↗

Detect profiles that still only contain the role shell but no cold-start result.

(profile: Dict[str, Any])

Source from the content-addressed store, hash-verified

245
246
247def profile_needs_bootstrap(profile: Dict[str, Any]) -> bool:
248 """Detect profiles that still only contain the role shell but no cold-start result."""
249 return not profile.get("core_directions") and not profile.get("topic_weights")
250
251
252def repair_profile_from_role_description(user_id: str, profile: Dict[str, Any]) -> Dict[str, Any]:

Calls 1

getMethod · 0.80

Tested by

no test coverage detected