cbmi/varify — pull request #243 by naegelyd (2014-04-10 14:15:15+00:00)
Title: Only truncate once before updating frequencies

Fix #238.

This fixes a bug where we were only seeing the frequencies being updated for the last cohort in the list. This was a result of the placement of the truncate command. Previously, the truncation happened every loop iteration. Now, it happens before the loop starts.

Signed-off-by: Don Naegely