Base your class on your participants. You don’t want to frustrate people.
Be flexible and able to change your workout depending upon need.
I had a teacher at my studio with a masters in exercise physiology, she would pre plan her workout and would NEVER change it even if the participants were unable to follow, she had the lowest class numbers.
The more you can “read”your class, the more success you will have.