Skip to content

chore: fix ByRank replies and add basic tests #5122

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

Merged
merged 1 commit into from
May 14, 2025
Merged

chore: fix ByRank replies and add basic tests #5122

merged 1 commit into from
May 14, 2025

Conversation

kostasrim
Copy link
Contributor

  • fix ByRank replies
  • add basic test

@kostasrim kostasrim self-assigned this May 13, 2025

resp = Run({"TDIGEST.BYRANK", "res", "0", "1", "2", "3", "4"});
auto results = resp.GetVec();
ASSERT_THAT(results, ElementsAre(DoubleArg(10), DoubleArg(20), DoubleArg(30), DoubleArg(40),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will finish with all of the tests by tomorrow.

The only thing left is serialization so we can replicate or snapshot the histograms and we are feature complete 🕺

@kostasrim kostasrim merged commit e766a35 into prob_base May 14, 2025
2 checks passed
@kostasrim kostasrim deleted the kpr5 branch May 14, 2025 06:51
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.

1 participant