test: Add missing coverage for chunking module edge cases#431
test: Add missing coverage for chunking module edge cases#431vedssharma wants to merge 1 commit intogoogle:mainfrom
Conversation
Adds tests for untested guard clauses (IndexError/ValueError/TokenUtilError error paths), ChunkIterator constructor fallbacks, TextChunk property raises and caching behavior, _sanitize, make_batches_of_textchunk batch sizes, and the broken_sentence flag reset logic. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
No linked issues found. Please link an issue in your pull request description or title. Per our Contributing Guidelines, all PRs must:
You can also use cross-repo references like |
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Your branch is 1 commits behind git fetch origin main
git merge origin/main
git pushNote: Enable "Allow edits by maintainers" to allow automatic updates. |
Adds tests for untested guard clauses (IndexError/ValueError/TokenUtilError error paths), ChunkIterator constructor fallbacks, TextChunk property raises and caching behavior, _sanitize, make_batches_of_textchunk batch sizes, and the broken_sentence flag reset logic. addresses issue #430