Spaces:
Runtime error
Runtime error
Commit History
-
revert: AI 모델 gemini-2.5-flash로 복구
ClaudeUnverified signaturehttps://claude.ai/code/session_016DE3uHLsVmA5Uv7gZGGaKT454c839 -
chore: AI 모델 gemini-2.5-flash → gemini-3-flash-preview 업그레이드
ClaudeUnverified signaturehttps://claude.ai/code/session_016DE3uHLsVmA5Uv7gZGGaKT77f0731
-
feat: 교사 세특 작성 영역 전체 제거
ClaudeUnverified signature연구대회 학생 배움 중심 스프린트 방향에 따라 세특 기능 제외. AI 세특 초안 생성 UI, 세특 보관함, 관련 DB 쿼리, 프롬프트 빌더, session_state, CSS를 모두 삭제. https://claude.ai/code/session_016DE3uHLsVmA5Uv7gZGGaKT10d9001
-
fix: 코드 리뷰 지적사항 8건 수정
ClaudeUnverified signature[🔴 심각] - env.py 신설: _get_secret → get_secret 공개 API로 전환 db.py, config.py, teacher_auth.py, teacher_dashboard.py 임포트 일괄 정리 - app.py: 의견 제출 Rate Limiting 추가 (10초 제한) [🟡 경고] - validators.py: validate_opinion_content에 allowed_pattern=None 적용 (특수문자·이모지 허용, 길이만 체크) - validators.py: _validate_text_field 길이 체크를 truncate 이전에 수행 (TOO_LONG 오류가 절대 발생하지 않던 버그 수정) - utils.py: get_kst_now()를 timezone-aware KST datetime 반환으로 변경 - app.py: DB 저장 전 IP를 SHA-256 해시(16자)로 처리 [🔵 개선] - tests/ 신설: validators, utils 단위 테스트 24개 (pytest) - CI에 test job 추가 - teacher_dashboard.py를 hint/summary/records 3개 컴포넌트로 분리 - wordcloud.py: max_words 75→40으로 축소 (O(n²) 성능 개선) - utils.py: compact_ai_report_output 이중 치환 버그 → 정규식으로 수정 https://claude.ai/code/session_01BRbPoMBBfvgN58bGkNhmv744ebedd
-
Fix: 캐시 중첩 호출로 인한 10초 지연 제거, Running 표시 숨김
ClaudeUnverified signaturefetch_room_names/fetch_room_names_by_owner/fetch_topic_data의 @st.cache_data 추가가 check_schema_columns(@st.cache_data) 중첩 호출 시 Streamlit 캐시 미스를 유발해 매 새로고침마다 10초 지연 발생. 세 함수의 데코레이터와 _ 파라미터 접두사 제거로 원복. stStatusWidget CSS 숨김으로 Running 표시 제거. https://claude.ai/code/session_01Q3iYL9HzBCznNPUTHLZLnq180a1f1
-
Refactor: split app.py into pages/ and components/ modules
ClaudeUnverified signature- config.py: all constants, feature flags, and CSS - pages/home.py, lobby.py, admin.py: full-page views - components/sidebar.py: teacher login/signup + student room selection - components/chat_board.py: live message board with auto-refresh fragment - components/teacher_dashboard.py: AI hints, summary reports, 세특 drafts - app.py rewritten as lean orchestrator (~160 lines) https://claude.ai/code/session_018WXW8M8SMsWcHtj1RynUi43bb2388