good point. No, at this time it does not. It's early in the morning - can someone cough up a formula that takes rot into account? An approximation would be enough.
daily_loss = consumption+rot
if daily_loss is < production, then display blank, else:
days_remaining = (bushel_count) / absolute(production - daily_loss)
Yes, it's a bit conservative, because rot will be overstated, but it will become more accurate the fewer days food remain.