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

Function translate_direction

agents/coldstart-agent/main.py:1720–1729  ·  view source on GitHub ↗

Translate internal direction keys into display labels.

(direction: str)

Source from the content-addressed store, hash-verified

1718
1719 lines.extend(["", "━━━ 方法论偏好 ━━━"])
1720 method_prefs = profile.get("methodology_preferences", {}) or {}
1721 if method_prefs:
1722 data_pref = method_prefs.get("preference_data_driven_over_theory")
1723 if data_pref is True:
1724 lines.append("├── 偏好数据驱动 > 纯理论")
1725 elif data_pref is False:
1726 lines.append("├── 偏好纯理论 > 数据驱动")
1727 else:
1728 lines.append("├── 数据驱动 / 纯理论:暂无明确信号")
1729
1730 systematic_pref = method_prefs.get("preference_systematic_work_over_incremental")
1731 if systematic_pref is True:
1732 lines.append("├── 偏好系统性工作 > 单点改进")

Callers 1

format_profile_cardFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected