I have an algorithm that records values that are either 0 or 1. However, when I look at the plot of recorded variables it shows all sorts of points in between like 0.8, 0.35, etc. Using log.debug I can clearly see that these values are never actually recorded. What's going on here?