Skip to content

fix(lemmatizer): lemma_candidate 빈 문자열 입력 시 IndexError 방어 가드 추가 - #299

Merged
lovit merged 1 commit into
refactor-2026from
feature/290
Mar 10, 2026
Merged

fix(lemmatizer): lemma_candidate 빈 문자열 입력 시 IndexError 방어 가드 추가#299
lovit merged 1 commit into
refactor-2026from
feature/290

Conversation

@lovit

@lovit lovit commented Mar 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • lemma_candidate: if not l: return set() 가드 추가
  • lemma_candidate_chat: if not l: return candidates 가드 추가
  • 단위 테스트 2개 추가

관련 이슈

Closes #290

🤖 Generated with Claude Code

…xError 방어 가드 추가

l[-1] 접근 전 l이 빈 문자열인지 확인하는 가드 추가.
- lemma_candidate: if not l → return set()
- lemma_candidate_chat: if not l → return candidates (lemma_candidate 결과)
단위 테스트 추가.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lovit
lovit merged commit dbb8cc0 into refactor-2026 Mar 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant