회기 무발화 0턴 분리, 자기예측 락 불변식 및 TDD 회귀 검증 완료
Some checks failed
API contract / OpenAPI type drift (push) Failing after 3m27s
Some checks failed
API contract / OpenAPI type drift (push) Failing after 3m27s
This commit is contained in:
parent
a479db7a5a
commit
a0311c5957
100 changed files with 4884 additions and 11210 deletions
22
apps/api/app/services/practice_competency.py
Normal file
22
apps/api/app/services/practice_competency.py
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
"""실제 연습과 전이 평가가 공유하는 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue