Skip to content
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

[MRG] add tests for multiple rounds of downsampling in prefetch and gather #1956

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

ctb
Copy link
Contributor

@ctb ctb commented Apr 16, 2022

NOTE: PR into #1955.

This adds tests for multiple rounds of downsampling in both sourmash gather and sourmash prefetch.

See comment here in #1955 for motivation.

@codecov
Copy link

codecov bot commented Apr 16, 2022

Codecov Report

Merging #1956 (348e4d4) into searchresult-dataclass (6d2cb5a) will not change coverage.
The diff coverage is n/a.

@@                   Coverage Diff                   @@
##           searchresult-dataclass    #1956   +/-   ##
=======================================================
  Coverage                   91.26%   91.26%           
=======================================================
  Files                          95       95           
  Lines                        9786     9786           
  Branches                     1918     1918           
=======================================================
  Hits                         8931     8931           
  Misses                        583      583           
  Partials                      272      272           
Flag Coverage Δ
python 91.26% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6d2cb5a...348e4d4. Read the comment docs.

@luizirber luizirber self-requested a review April 16, 2022 22:47
@bluegenes bluegenes merged commit d98c2c5 into searchresult-dataclass Apr 19, 2022
@bluegenes bluegenes deleted the ctb/test_multiple_downsample branch April 19, 2022 14:37
bluegenes added a commit that referenced this pull request Apr 20, 2022
…ing dataclasses (#1955)

* add some search/gather/prefetch columns to enable ANI estimation

* fix introduced err

* init SearchResult dataclass

* define generic write_cols

* add prefetchresult class, clean up post_init repetitiveness later

* clean up

* add gatherresult dataclass

* rm unused line

* upd

* init searchresult tests

* use query_n_hashes; remove num

* add basic gatherresult test

* save in progress changes

* closer...

* closer still...

* handle num sketches; clean up unnecessary sig comparison cls

* use base classes properly to simplify

* add tests for multiple rounds of downsampling in prefetch and gather (#1956)

* split sketchcomparison to new file; clean up *Result

* add minhash tests

* init sketchcomparison tests

* test incompatible sketch comparisons

* test failing *Results

* test num SearchResult

* fix calcs for gather

* upd with suggestions from code review

Co-authored-by: C. Titus Brown <titus@idyll.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants