[TOMT] [MOVIE] Can only remember ending - details in post
A few years ago I watched a movie where at the end, a young girl is competing in a mathematics (or maybe spelling?) contest. She's up against the typical evil rivals and you're rooting for her to win, and you assume she's going to get that Hollywood victory. But she doesn't - she loses, and it's really harsh, and then the movie ends. I remember I was furious. I think the character didn't really care.
No, it's not Mean Girls (she definitely loses), and I don't think the movie is specifically about math or spelling or whatever the contest is. It's also not Akeelah and the Bee or Bee Season or Spellbound.
I can't remember a single other thing about the plot or characters.