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

ea_restart core dumps on k_max <= k' #195

Open
mmccarl opened this issue Aug 23, 2022 · 1 comment
Open

ea_restart core dumps on k_max <= k' #195

mmccarl opened this issue Aug 23, 2022 · 1 comment

Comments

@mmccarl
Copy link

mmccarl commented Aug 23, 2022

i specified bitspersample = 4, alphabetsize = 16 and hminestimate = 3.2, but input file has only 3 bits per sample (with the 5 high order bits all zeros). When ea_restart was run, it said that the symbols appear to be narrower than described then it aborted with a core dump because Assertion 'k_max <= k' failed. No json output is produced in this scenario.

the program should at least produced a json output containing an error message.

@joshuaehill
Copy link
Contributor

Your estimate suggests that the sample used to produce $H_\text{original}$ actually had 4 bits per sample. You then have a fairly large restart sample where this is not so, so this is an instance where the restart testing is expected to reduce your entropy claim.

In practice, the restart testing is going to reduce the estimate to less than 3 bits: both $H_{c}$ and $H_{r}$ are going to be less than 3. As such, you could reduce your estimate to 3 and the result will be the same (or better) as if that assert was removed. From a 90B perspective, this would be done by reducing your $H_{\text{submitter}}$ value.

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

No branches or pull requests

2 participants