세션 평가와 교수자 분석 보강

This commit is contained in:
Yun Chan 2026-07-01 12:10:52 +09:00
parent 5c4ac04e06
commit fe2796f05a
51 changed files with 4928 additions and 240 deletions

View file

@ -161,8 +161,16 @@ async def healthcheck() -> bool:
SELECT 1 FROM information_schema.columns
WHERE table_schema = 'app'
AND table_name = 'turns'
AND column_name = 'provider_events'
) AS has_turn_provider_events,
AND column_name IN (
'audio_ref',
'silence_ms',
'speech_rate',
'barge_in',
'provider_events'
)
GROUP BY table_schema, table_name
HAVING count(*) = 5
) AS has_turn_voice_metadata_columns,
EXISTS (
SELECT 1 FROM information_schema.columns
WHERE table_schema = 'app'
@ -191,7 +199,7 @@ async def healthcheck() -> bool:
and row["has_sessions"]
and row["has_turns"]
and row["has_session_review_status"]
and row["has_turn_provider_events"]
and row["has_turn_voice_metadata_columns"]
and row["has_session_review_worksheet_columns"]
)
except Exception: