lanterndata / lantern

PostgreSQL vector database extension for building AI applications
https://lantern.dev
GNU Affero General Public License v3.0
790 stars 57 forks source link

No global vars #51

Closed Ngalstyan4 closed 1 year ago

Ngalstyan4 commented 1 year ago

Incorporates the commit from #67 and closes #67

codecov[bot] commented 1 year ago

Codecov Report

Merging #51 (3655eb4) into main (969cc91) will increase coverage by 0.24%. The diff coverage is 89.07%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #51 +/- ## ========================================== + Coverage 82.86% 83.10% +0.24% ========================================== Files 9 11 +2 Lines 887 876 -11 Branches 179 165 -14 ========================================== - Hits 735 728 -7 + Misses 71 67 -4 Partials 81 81 ``` | [Files Changed](https://app.codecov.io/gh/lanterndata/lanterndb/pull/51?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lanterndata) | Coverage Δ | | |---|---|---| | [src/hnsw/build.c](https://app.codecov.io/gh/lanterndata/lanterndb/pull/51?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lanterndata#diff-c3JjL2huc3cvYnVpbGQuYw==) | `86.73% <75.00%> (-1.15%)` | :arrow_down: | | [src/hnsw/retriever.c](https://app.codecov.io/gh/lanterndata/lanterndb/pull/51?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lanterndata#diff-c3JjL2huc3cvcmV0cmlldmVyLmM=) | `83.33% <83.33%> (ø)` | | | [src/hnsw/extra\_dirtied.c](https://app.codecov.io/gh/lanterndata/lanterndb/pull/51?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lanterndata#diff-c3JjL2huc3cvZXh0cmFfZGlydGllZC5j) | `86.11% <86.11%> (ø)` | | | [src/hnsw/external\_index.c](https://app.codecov.io/gh/lanterndata/lanterndb/pull/51?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lanterndata#diff-c3JjL2huc3cvZXh0ZXJuYWxfaW5kZXguYw==) | `86.22% <89.15%> (+1.19%)` | :arrow_up: | | [src/hnsw.c](https://app.codecov.io/gh/lanterndata/lanterndb/pull/51?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lanterndata#diff-c3JjL2huc3cuYw==) | `84.11% <100.00%> (+0.14%)` | :arrow_up: | | [src/hnsw/insert.c](https://app.codecov.io/gh/lanterndata/lanterndb/pull/51?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lanterndata#diff-c3JjL2huc3cvaW5zZXJ0LmM=) | `84.41% <100.00%> (-0.40%)` | :arrow_down: | | [src/hnsw/scan.c](https://app.codecov.io/gh/lanterndata/lanterndb/pull/51?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lanterndata#diff-c3JjL2huc3cvc2Nhbi5j) | `76.47% <100.00%> (+0.28%)` | :arrow_up: |