Skip to content

test: cover adjacent comment cleanup in chunker#284

Open
haosenwang1018 wants to merge 1 commit intozilliztech:mainfrom
haosenwang1018:test/chunker-adjacent-comment-cleanup
Open

test: cover adjacent comment cleanup in chunker#284
haosenwang1018 wants to merge 1 commit intozilliztech:mainfrom
haosenwang1018:test/chunker-adjacent-comment-cleanup

Conversation

@haosenwang1018
Copy link
Copy Markdown
Contributor

Summary

  • add coverage for clean_content_for_embedding() handling back-to-back HTML comments
  • verify comment contents are fully stripped without leaving noisy comment holes behind
  • keep the patch scoped to chunker cleanup behavior under issue test: improve test coverage across the project #114

Testing

  • uv run python -m pytest tests/test_chunker.py -q
  • uv run ruff check tests/test_chunker.py
  • uv run ruff format --check tests/test_chunker.py

Refs #114

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