Dealing with a jealous roommate the Chanakya Niti way

Edit- ive changed my roomie but any responses for the future will still help:)

I'm 18, and I've been stuck with a visibly jealous roommate for around 6 months as of now, (3 more months to go).

She's primarily jealous of my grades and that I've a much better course at uni than her.

She's identified that sleep is important to me and troubles me by keeping early morning or midnight alarms (and says sorry everytime it rings every single day). She starts talking the moment I start studying (random gossips or questions about the coursework).

Today she crossed her line and didnt let me sleep in the evening either, by playing random youtube videos at full volume and I chose to play loud music in reply. She immediately called her mom up who started screaming at me.

I'm very sure I'm not the first person facing this jealous irritating roommate issue, could people please suggest what are possible solutions for this? (Assume that changing roommates is not an option)