Stream: git-wasmtime

Topic: wasmtime / PR #4976 ISLE: Stabilize the overlap error order


view this post on Zulip Wasmtime GitHub notifications bot (Sep 28 2022 at 22:20):

elliottt opened PR #4976 from trevor/stable-overlap-error-output to main:

We were finding rules with the most overlap errors by traversing the hash map, but weren't doing anything to prevent the unstable order of the hash map elements from affecting the error output order. This PR includes the rule id when looking for rules that have the largest number of overlaps, to break ties predictably.
<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Sep 28 2022 at 22:22):

elliottt edited PR #4976 from trevor/stable-overlap-error-output to main:

We were finding rules with the most overlap errors by traversing a hash map, but weren't doing anything to prevent the unstable order of the hash map elements from affecting the error output order. This PR includes the rule id when looking for rules that have the largest number of overlaps, to break ties predictably.
<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Sep 28 2022 at 23:59):

jameysharp submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 29 2022 at 00:23):

elliottt merged PR #4976.


Last updated: Dec 23 2024 at 12:05 UTC