I was like that growing up. bipolar 1 was missed. I'd be laughing and joking shortly after being in a really bad places. I'm still like this. I show the wrong affect a lot of times. So I can be laughing and joking and feel terrible. It's how I cope.
If you can get it so she can go to ISS for the rest of the day when things are going sucky for her. Then at least she's marked as there and gets the work? Have it so that she stays after school with a teacher to complete the work that she needs help with. The other option is a 5 year plan so she has a subject / study hall/ subject/lunch/subject/study hall..... The other option is have her in resource room all day studying for her GED.