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

Fix/Placement sorting #480

Merged
merged 2 commits into from
Aug 1, 2023

Commits on Jul 31, 2023

  1. netmap: Add mean aggregator test

    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    fd512ad View commit details
    Browse the repository at this point in the history
  2. netmap: Fix min aggregator

    Do not return next element if `0` is being facing. Also, add a public key to
    the test nodes. It is used in `Hash()` method and, therefore, is the main
    start point in the HWR sorting, without it, every node is considered the
    same, so it is hard to pick a good test value, cause sorting is random for
    the same hashes.
    Closes nspcc-dev#438.
    
    Signed-off-by: Pavel Karpy <[email protected]>
    carpawell committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    6e3c516 View commit details
    Browse the repository at this point in the history