Also watch the 2013 senior American Cup. Katelyn Ohashi defeated Simone Biles on the strength of her floor routine, but I THINK she (not her coach) pulled a skill from a tumbling pass, possibly from a back injury, though I may be misremembering. I don’t think the change was coach sanctioned...
Research difficulty and execution scoring. That should give you some insight into how scoring works. I didn’t read this whole thing, so I cannot vouch for its accuracy, but seems like a decent overview:
https://www.rnrgymnastics.com/amp/gymnastics-meet-scores