DataSoft/Nova — Issue #74: FeatureSet Calculate Off by One Error
Author: PherricOxide
Created: 2012-03-09 01:59:35+00:00
State: open

Currently in master/proc_consolidate, the calculation of the interval mean and deviation has an off by one error. It's using the number of packets rather than the number of intervals (# packet - 1) for the calculations. This has little effect after many packets, but produced major discrepancies when only a few packets were seen. This can be demonstrated with the tester_FeatureSet.h unit test.

This has been fixed in the branch unitTestCreation (a branch off of SuspectTableIntegrate), but not the main branches, hence this ticket. The interface for SuspectTableIntegrate is different enough on the library functions that I'm using it to set up unit tests instead of proc_consolidate or cluttering up Dave's branch with my unrelated commits.