When drawing Sunburst graph, children's weights are incorrectly shown in the output graph

g1
g2
g3
Hello friends! Recently I met a big issue!!! When I draw the sunburst graph, B > A, but B weights 5%, A weights 56%. And when I calculated the actual weights, they all should be 15%.


Here is the total graph, is this caused by A’s children? I have no reason to explain this problem






And I am wondering you may want to know about more about my datas and code



And I changed the parameter to control the children’s appearance. The weight of there parent got changed! It really caused by there children! How can I modify it?