Do I take the risk and go to UCSB?

How are you doing in the class at this given moment? If you doubt that it will be likely then I would go for CSULB after you determine your final grade. You do have until June 1 to send in your SIR so just play it by ear but be realistic.