diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-04-05 18:53:43 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-04-06 10:14:04 +0200 |
| commit | 0870752005424bd8737bdea302071167f4f0026d (patch) | |
| tree | a2e2b5837696437f05fc1b1fad10f6729b190e8c /executor/executor_linux.h | |
| parent | e962f59f57afaccd1d28bfdbb2b91d0110acd285 (diff) | |
pkg/subsystem: rewrite the inference logic
Let's just accept that we cannot fully trust guilty paths and try to
increase the weight of subsystems extracted from reproducers.
Instead of taking all subsystems that have received the highest number
of votes, take all which have received >= 33%. This will reduce noise
and in almost all cases limit the number of assigned subsystems to 2.
If there are >= 3 reproducers that point to exactly the same set of
subsystems, give them a preference. But still take one subsystem from
guilty paths if there's one that's mentioned >= 66% times.
The numbers themselves are somewhat arbitrary, but hopefully this will
improve the quality of subsystem inference.
Add some more tests.
Diffstat (limited to 'executor/executor_linux.h')
0 files changed, 0 insertions, 0 deletions
