"""실제 연습과 전이 평가가 공유하는 competency 분류.""" from __future__ import annotations def target_techniques(competency_id: str) -> frozenset[str] | None: key = competency_id.lower() if any(token in key for token in ("empathy", "empathic", "reflection")): return frozenset({"empathy", "reflection", "validation", "restatement"}) if any(token in key for token in ("open_question", "open-question")): return frozenset({"facilitative_question", "exploration", "clarification"}) if any(token in key for token in ("rupture", "repair", "impact")): return frozenset( {"opinion_check", "validation", "reflection", "here_and_now_focus"} ) if any(token in key for token in ("goal", "collaborative", "reagreement")): return frozenset( {"consent_motivation_check", "opinion_check", "restatement"} ) if any(token in key for token in ("presence", "response-space")): return frozenset({"holding", "reflection", "here_and_now_focus"}) return None