i will explain
Jet engines are not the same, a fighter has different needs to an airliner, second China has a fleet of J-11s and J-10s.
To claim the WS-10 is based upon this CFM56 and claim they made a high by pass engine an engine better than the AL-31 is pure fantasy.
To start, in order to replace the Al-31 you need an engine with similar size, weight, and performance, J-10 needs a fighter engine not an airliner engine
this is the CFM56
see its size and weight are not compatible with a Al-31
to start CFM56 is wider, shorter and has high by pass
this means for the chinese was even harder turn the CFM56 into a WS-10 than copying Al-31 and making it a WS-10
in the past fighters with bomber engines F-14 in example lacked agility or airliners engines like AJ-37 viggen, these engines are not for fighters, now try to fit that engine into a fighter like J-10 which is a high performance jet, means to complex.
Second the chinese have great knowledge of Al-31, so basing the engine WS-10 upon AL-31 is more logic and doable than upon an airliner engine
now see the engine in which the Viggen based its engine
JT8
volvo RM8
they are very similar in size weight and performance
now let us go upon Chingkuo engine