hkulekci / qdrant-php

Qdrant is a vector similarity engine & vector database. It deploys as an API service providing search for the nearest high-dimensional vectors. With Qdrant, embeddings or neural network encoders can be turned into full-fledged applications for matching, searching, recommending, and much more!
MIT License
93 stars 21 forks source link

tests improved for payload and CreateCollection request model #9

Closed hkulekci closed 1 year ago

hkulekci commented 1 year ago

fixes #6 also

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 95.23% and project coverage change: +8.34 :tada:

Comparison is base (48bfb1d) 73.56% compared to head (be5e4e4) 81.90%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #9 +/- ## ============================================ + Coverage 73.56% 81.90% +8.34% - Complexity 218 219 +1 ============================================ Files 51 51 Lines 764 768 +4 ============================================ + Hits 562 629 +67 + Misses 202 139 -63 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `81.90% <95.23%> (+8.34%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Haydar+K%C3%9CLEKC%C4%B0#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/hkulekci/qdrant-php/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Haydar+K%C3%9CLEKC%C4%B0) | Coverage Δ | | |---|---|---| | [src/Endpoints/Collections/Points.php](https://codecov.io/gh/hkulekci/qdrant-php/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Haydar+K%C3%9CLEKC%C4%B0#diff-c3JjL0VuZHBvaW50cy9Db2xsZWN0aW9ucy9Qb2ludHMucGhw) | `87.77% <88.88%> (+2.55%)` | :arrow_up: | | [src/Endpoints/Collections/Points/Payload.php](https://codecov.io/gh/hkulekci/qdrant-php/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Haydar+K%C3%9CLEKC%C4%B0#diff-c3JjL0VuZHBvaW50cy9Db2xsZWN0aW9ucy9Qb2ludHMvUGF5bG9hZC5waHA=) | `100.00% <100.00%> (+100.00%)` | :arrow_up: | | [src/Models/Request/CreateCollection.php](https://codecov.io/gh/hkulekci/qdrant-php/pull/9?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Haydar+K%C3%9CLEKC%C4%B0#diff-c3JjL01vZGVscy9SZXF1ZXN0L0NyZWF0ZUNvbGxlY3Rpb24ucGhw) | `100.00% <100.00%> (+45.94%)` | :arrow_up: | ... and [2 files with indirect coverage changes](https://codecov.io/gh/hkulekci/qdrant-php/pull/9/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Haydar+K%C3%9CLEKC%C4%B0) Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Haydar+K%C3%9CLEKC%C4%B0). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Haydar+K%C3%9CLEKC%C4%B0)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.