Skip to content

fix many many nits in test_sampler.c#2051

Draft
baallan wants to merge 1 commit intoovis-hpc:mainfrom
baallan:test_sampler_fixes
Draft

fix many many nits in test_sampler.c#2051
baallan wants to merge 1 commit intoovis-hpc:mainfrom
baallan:test_sampler_fixes

Conversation

@baallan
Copy link
Collaborator

@baallan baallan commented Oct 14, 2025

  • dead function
  • memory leaks, most but not all, in error paths
  • uninit memory use, including free(wild) in error paths
  • int/unsigned conflicts that theoretically can lead to loop over max_uint.

- dead function
- memory leaks, most but not all in error paths
- uninit memory use, including free(wild) in error paths
- int/unsigned conflicts that theoretically can lead to loop over max_uint.
@github-actions github-actions bot added the main label Oct 14, 2025
@baallan baallan self-assigned this Oct 14, 2025
@baallan baallan added this to the v4.5.2 milestone Oct 14, 2025
@baallan baallan marked this pull request as draft October 14, 2025 23:07
@baallan
Copy link
Collaborator Author

baallan commented Oct 14, 2025

this needs test input that runs valgrind clean before merging.

@baallan baallan removed this from the v4.5.2 milestone Jan 20, 2026
@tom95858
Copy link
Collaborator

tom95858 commented Mar 3, 2026

@baallan, I would like to convert this sampler to take a JSON configuration file to allow for more convenient configuration. Currently, it has a very long configuration string with a bunch of hard to understand (without reading the code).

@baallan
Copy link
Collaborator Author

baallan commented Mar 3, 2026

@tom95858 fine by me, but maybe consider yaml instead of json?

@tom95858
Copy link
Collaborator

tom95858 commented Mar 4, 2026

@baallan, yeah that makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants