At the request of a few people, I developed a spreadsheet that will tell you how many casts of each ability you could have had throughout the fight. This is useful when you’re looking for missed casts. The closer your numbers on WarcraftLogs’s “Cast” tab are to this spreadsheet, the more optimal your rotation.
I am hoping that I can extend this to determining how you should save/use your buffs like Serenity, Xuen, etc. to stack them a little better than using them when they come up, which is the best strategy to avoid missing casts.
Hope it works for you.