-
Notifications
You must be signed in to change notification settings - Fork 2k
test: improve coverage PgVectorEmbeddingDimensionsTests
#3907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: improve coverage PgVectorEmbeddingDimensionsTests
#3907
Conversation
e4d965f to
7f1ce23
Compare
|
@alxkm Thanks for the PR improving the test coverage. |
| } | ||
|
|
||
| public Builder frequencePenalty(Double frequencyPenalty) { | ||
| public Builder frequencyPenalty(Double frequencyPenalty) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is recently fixed via 128c45a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for letting me know! I see that commit 128c45a addressed some of the issues.
However, this PR is specifically focused on improving test coverage for the PgVectorEmbeddingDimensionsTests class
I've cleaned up the branch to remove any unrelated commits and now it only contains the test improvements.
Signed-off-by: alxkm <[email protected]>
Signed-off-by: alxkm <[email protected]>
38463e2 to
56f65c3
Compare
PgVectorEmbeddingDimensionsTests
|
Hello @ilayaperumalg, I’ve fixed the incorrect data from the previous merge. Could you please take a look? |
…jects#3907) Enhances PgVectorEmbeddingDimensionsTests with additional test cases covering edge scenarios: - Embedding model returning zero/negative dimensions - Explicitly setting zero/negative dimensions via builder - Improved test structure with Given-When-Then comments - Ensures all code paths in embeddingDimensions() method are properly tested. Signed-off-by: alxkm <[email protected]>
…jects#3907) Enhances PgVectorEmbeddingDimensionsTests with additional test cases covering edge scenarios: - Embedding model returning zero/negative dimensions - Explicitly setting zero/negative dimensions via builder - Improved test structure with Given-When-Then comments - Ensures all code paths in embeddingDimensions() method are properly tested. Signed-off-by: alxkm <[email protected]>
…jects#3907) Enhances PgVectorEmbeddingDimensionsTests with additional test cases covering edge scenarios: - Embedding model returning zero/negative dimensions - Explicitly setting zero/negative dimensions via builder - Improved test structure with Given-When-Then comments - Ensures all code paths in embeddingDimensions() method are properly tested. Signed-off-by: alxkm <[email protected]>
…jects#3907) Enhances PgVectorEmbeddingDimensionsTests with additional test cases covering edge scenarios: - Embedding model returning zero/negative dimensions - Explicitly setting zero/negative dimensions via builder - Improved test structure with Given-When-Then comments - Ensures all code paths in embeddingDimensions() method are properly tested. Signed-off-by: alxkm <[email protected]> Signed-off-by: 家娃 <[email protected]>
Enhances
PgVectorEmbeddingDimensionsTestswith additional test cases covering edge scenarios:Ensures all code paths in
embeddingDimensions()method are properly tested.