The whole situation is reprehensible. Russia has a well-documented history of cheating, and this is almost certainly no exception. But Valieva is a child, and she's been failed by the system. Her coach is openly depostic, and Russian sports -- where athletes are treated as dispensable -- are clearly corrupt; no wonder she bowed to the pressure. The IOC should've protected her.
Valieva was a victim in a drug-testing scandal. The positive test -- which was both preceded and followed by negative ones -- was most likely due to accidental contamination. The media glare and international attention that resulted from this would've been too much for anyone, let alone a child. The IOC's handling of the situation was entirely unfair, and detrimental to the whole sport.