working well, good docs. TUI.
This commit is contained in:
@@ -176,7 +176,11 @@ class TUIInterface:
|
||||
stdscr.addstr(status_y, 0, status[:width-1], curses.A_REVERSE)
|
||||
|
||||
def _get_flows_list(self):
|
||||
"""Get sorted list of flows"""
|
||||
"""Get sorted list of flows - prioritize by largest sigma outlier"""
|
||||
flows_list = list(self.analyzer.flows.values())
|
||||
flows_list.sort(key=lambda x: x.frame_count, reverse=True)
|
||||
# Sort by maximum sigma deviation first, then by frame count as secondary criterion
|
||||
flows_list.sort(key=lambda x: (
|
||||
self.analyzer.statistics_engine.get_max_sigma_deviation(x),
|
||||
x.frame_count
|
||||
), reverse=True)
|
||||
return flows_list
|
||||
Reference in New Issue
Block a user