We are implementing a new algorithm to provide ranking information for the warnings. It would be nice to see the warnings ranked in the front end of kiskadee.
Metadata Update from @athoscr: - Issue tagged with: API, Front End, backend
firehose provides the firehose.model.CustomFields class. Each warning may have the customfields dict, which may hold additipnal information.
My proposal is to add a customfields['ranking'] in each warning: the value for this key wiil be -1 if the warning has not been ranked yet or a float number between 0 and 1, where 0 is the lowest ranking (higher probability of being false positive) and 1 is the highest ranking ( higher probability of being true positive). It would also be nice to add colors to the warnings somehow, reflecting the probabilities, like green for probabilities higher than 0.5 or 0.75 and red for probabilities lower than 0.5 or 0.25.
Any thoughts, @davidcarlos @fabio1079 ?
The frontend changes is current made on branch frontend-improvements, just waiting to backend to send to work without mocked values.