Bắt đầu ngayBắt đầu miễn phí

Fix the Case-Sensitivity Bug

The code-reviewer found an issue: artist search is case-sensitive even though the help text says it's not. Searching for "acdc" won't find "AC/DC" — that's a poor user experience.

The fix requires adding COLLATE NOCASE to the SQL query. Ask Claude to fix this bug in reporter.py, then run the tests to verify the fix works.

Bài tập này là một phần của khóa học

Software Development with Claude Code

Xem khóa học

Hướng dẫn bài tập

  • Start Claude Code with claude.
  • Ask Claude to fix the case-sensitivity bug in @reporter.py. The LIKE query needs COLLATE NOCASE.
  • Ask Claude to run the tests with pytest to verify the fix.
  • When done, type /exit to exit Claude Code.

Bài tập tương tác thực hành

Biến lý thuyết thành hành động với một trong các bài tập tương tác của chúng tôi

Bắt đầu bài tập