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

Make target group size optional #412

Merged
merged 3 commits into from
Nov 18, 2021

Conversation

justheuristic
Copy link
Member

@justheuristic justheuristic commented Nov 18, 2021

This pull-request makes target_group_size optional, to avoid bothering user with setting it.
The rationale here is that in most cases we ended up using target_group_size=some_very_large_number_please_be_large_enough.
Therefore, it would make sense to make this a default choice to avoid concerning users with the extra low-level kwarg.

@codecov
Copy link

codecov bot commented Nov 18, 2021

Codecov Report

Merging #412 (b6c4e28) into master (1cfc6a3) will increase coverage by 0.08%.
The diff coverage is 78.57%.

@@            Coverage Diff             @@
##           master     #412      +/-   ##
==========================================
+ Coverage   84.50%   84.58%   +0.08%     
==========================================
  Files          76       76              
  Lines        7280     7286       +6     
==========================================
+ Hits         6152     6163      +11     
+ Misses       1128     1123       -5     
Impacted Files Coverage Δ
hivemind/averaging/averager.py 85.86% <ø> (+0.11%) ⬆️
hivemind/averaging/key_manager.py 91.66% <75.00%> (-4.34%) ⬇️
hivemind/averaging/matchmaking.py 84.19% <100.00%> (-0.31%) ⬇️
hivemind/dht/node.py 92.63% <0.00%> (+1.90%) ⬆️

@mryab
Copy link
Member

mryab commented Nov 18, 2021

Maybe this parameter also isn't necessary in compression tests and examples/docs?

@justheuristic justheuristic merged commit 22665fd into master Nov 18, 2021
@justheuristic justheuristic deleted the make-target-group-size-optional branch November 18, 2021 14:39
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.

2 participants