@Gazebo This question is probably for you, but if anybody else can answer it - it is ok ofc

How exactly does the Flavoring work? I mean the actual algorithm, not general idea like we all know. Examples.
1. Why some flavors have ranges up to 100, and some barely up to 30?
2. Does the value matter or the relation between them, e.g is 30 vs 10 the same as 15 vs 5, or 25 vs 5?
3. If there are many Flavors assigned, do they all matter, or maybe algorithm just focuses on the biggest one?
4. Any difference between flavors for units, buildings, techs, policies? If there are - how?
5. Which is the most important for AI in terms of general strategic performance (techs, buildings, units, etc.)
I have been looking at that tables during my mod work and I find many weird things in them, quirks, sometimes omissions, errors, etc. Each single one probably doesn’t matter, but all together this might have impact on AI performance? If those were tuned and polished, can it make AI a little better?