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

Add Value Pools and Value Pool Fuzzer #2

Merged

Conversation

ThorbenCarl
Copy link
Owner

New pull request for @jonathanheitzmann

@ThorbenCarl ThorbenCarl marked this pull request as ready for review May 20, 2024 09:53
custom_components/test/fuzzing/fuzzer_utils/ValuePool.py Outdated Show resolved Hide resolved
Copy link
Owner Author

Choose a reason for hiding this comment

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

@jonathanheitzmann remove TODOs after editing

Copy link
Owner Author

Choose a reason for hiding this comment

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

@jonathanheitzmann remove TODOs after editing

self._STRING_POOL = list(sorted(set(self._STRING_POOL)))
self._BOOL_POOL = list(sorted(set(self._BOOL_POOL)))
self._BYTE_POOL = list(sorted(set(self._BYTE_POOL)))
self._LIST_POOL = list(sorted(set(map(tuple, self._LIST_POOL)))) # lists need to be converted to tuples for set
Copy link
Owner Author

Choose a reason for hiding this comment

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

@jonathanheitzmann

custom_components/test/fuzzing/fuzzer_utils/ValuePool.py:123: in _remove_duplicates
    self._LIST_POOL = list(sorted(set(map(tuple, self._LIST_POOL))))  # lists need to be converted to tuples for set
E   TypeError: '<' not supported between instances of 'str' and 'bool'

@ThorbenCarl ThorbenCarl changed the title Value Pools und Value Pool Fuzzer erstellt Draft: Value Pools und Value Pool Fuzzer erstellt May 20, 2024
@ThorbenCarl ThorbenCarl changed the title Draft: Value Pools und Value Pool Fuzzer erstellt Value Pools und Value Pool Fuzzer erstellt May 20, 2024
@ThorbenCarl ThorbenCarl marked this pull request as draft May 20, 2024 10:31
@ThorbenCarl ThorbenCarl requested review from JKortmann, jonathanheitzmann and hoegma and removed request for JKortmann and hoegma May 20, 2024 11:44
@ThorbenCarl ThorbenCarl mentioned this pull request May 21, 2024
@ThorbenCarl ThorbenCarl changed the title Value Pools und Value Pool Fuzzer erstellt Add Value Pools and Value Pool Fuzzer May 23, 2024
@ThorbenCarl
Copy link
Owner Author

@jonathanheitzmann I think this commit f23d947 is not working.

@ThorbenCarl
Copy link
Owner Author

Fix value pool fuzzer in faaadb7

@ThorbenCarl ThorbenCarl marked this pull request as ready for review May 23, 2024 20:14
@ThorbenCarl ThorbenCarl merged commit daea2d1 into fuzzing/value_pools May 23, 2024
@ThorbenCarl ThorbenCarl deleted the fuzzing/value_pool__value_pool_fuzzer branch May 23, 2024 20:17
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.

2 participants