Make this text less complex.
If sweating is interrupted, the resulting cocoa may be ruined; if underdone, the cocoa seed maintains a flavor similar to raw potatoes and becomes susceptible to mildew.
If it is overdone they may be ruined; if underdone they have a flavor like raw potatoes and are susceptible to mildew.