convert default_done_ratio to float to avoid comparison against nil; re #837