Skip to content

Test improvements#87

Merged
dqii merged 22 commits intomainfrom
@di/sql-tests
Aug 27, 2023
Merged

Test improvements#87
dqii merged 22 commits intomainfrom
@di/sql-tests

Conversation

@dqii
Copy link
Copy Markdown
Contributor

@dqii dqii commented Aug 25, 2023

No description provided.

@dqii
Copy link
Copy Markdown
Contributor Author

dqii commented Aug 25, 2023

TODO: Redo the out files once bug with REAL[] definition is fixed

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 27, 2023

Codecov Report

Merging #87 (5d5b889) into main (c14f315) will increase coverage by 0.50%.
The diff coverage is 79.59%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #87      +/-   ##
==========================================
+ Coverage   82.65%   83.16%   +0.50%     
==========================================
  Files          11       12       +1     
  Lines         865      891      +26     
  Branches      162      175      +13     
==========================================
+ Hits          715      741      +26     
+ Misses         71       67       -4     
- Partials       79       83       +4     
Files Changed Coverage Δ
src/hnsw.h 50.00% <ø> (ø)
src/hnsw.c 81.69% <71.42%> (-1.65%) ⬇️
src/hnsw/build.c 83.15% <100.00%> (+1.25%) ⬆️
src/hnsw/insert.c 81.03% <100.00%> (+0.33%) ⬆️
src/hnsw/scan.c 79.41% <100.00%> (+1.19%) ⬆️

... and 2 files with indirect coverage changes

@dqii
Copy link
Copy Markdown
Contributor Author

dqii commented Aug 27, 2023

I restructured the tests to avoid duplicate tests, and add the vector tests. I also fixed the discussed bug with DatumGetVector so I could get meaningful results in my out files. I also removed some of the "todos" that were already completed, and added a new "todo" (bug with hamming distance).

@dqii dqii marked this pull request as ready for review August 27, 2023 05:54
@dqii dqii requested a review from Ngalstyan4 August 27, 2023 06:01
@dqii dqii requested a review from var77 August 27, 2023 07:29
Copy link
Copy Markdown
Collaborator

@var77 var77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@dqii dqii merged commit 3eaec57 into main Aug 27, 2023
@Ngalstyan4 Ngalstyan4 self-assigned this Aug 27, 2023
@Ngalstyan4 Ngalstyan4 mentioned this pull request Aug 27, 2023
siddharth1729 pushed a commit to siddharth1729/lanterndb that referenced this pull request Aug 28, 2023
* Add total index size to ldb_get_indexes

* Better separate tests into files

* Install system dependencies before COPY to improve Docker caching

* Fix: Handle datums for real arrays (WIP)

* Add tmux to Dockerfile for debugging

* Fix: int array handling

* Fix: Revert some tests, fix some test bugs

* Remove completed todos, add new todo

* Add clang-format to dev container, format code

* Change float to float4

* Formatting nit

* Fix: scan.h forgotten vector call

* Add distance function error cases to tests

* Add to todo: we expect an error to be thrown when index not created

* Restore k iteration tests

* Add test cases for distance function dimension errors

* Add tests for vector_l2sq_dist

* typo

* Verify that index is not used without order by

* Bug: off instead of false

* Remove primary key for tests, test select for 1k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants