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 random stream eps incorrect #457

Merged

Conversation

lizhou1111
Copy link
Contributor

@lizhou1111 lizhou1111 commented Dec 30, 2023

this close #456
It is a logical error.The dividing point that causes a bug is max_block_size.If eps < max_block, it is ok, else, it will be incorrect eps.
Now it can generage exactly eps you want.
A small fixme: if the batch size generated in one interval is bigger than max block size, you have to split it into small batch.I will do it soon

@lizhou1111 lizhou1111 self-assigned this Dec 30, 2023
@CLAassistant
Copy link

CLAassistant commented Dec 30, 2023

CLA assistant check
All committers have signed the CLA.

@lizhou1111 lizhou1111 force-pushed the bugfix/issue-456-fix-random-stream-eps-incorrect branch 3 times, most recently from b8e5b9a to 72c759d Compare December 30, 2023 15:23
@lizhou1111 lizhou1111 added the bug Something isn't working label Dec 30, 2023
@lizhou1111 lizhou1111 marked this pull request as ready for review December 30, 2023 15:26
@chenziliang chenziliang merged commit 8ac7bbb into develop Dec 30, 2023
26 checks passed
@lizhou1111 lizhou1111 deleted the bugfix/issue-456-fix-random-stream-eps-incorrect branch December 31, 2023 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

random stream data generating speed is inconsistent with given eps
3 participants