Convert resources before lookup
Degree is not a weighted average of upgrades. The engine converts resources into categories, caps them, adds the capped values, limits effective Power to 200,000 and chooses the highest threshold met. Every family uses the same threshold table.
Damage and income share one category; placed cash and slider share another. T5 extras and Totems are separate. Ordinary upgrade tiers contribute zero in v57 and retain their own historical cap only in v56.3.
An exact-threshold example
Degree 20 begins at 11,032, 40 at 31,360, 60 at 66,387, 80 at 120,115 and 100 at 200,000. At 120,000 you are Degree 79. An extra 115 effective Power reaches 80, but 115 raw Power added inside a full category changes nothing. All 100 table entries are tested independently.
Understand integer precision
This model combines damage and four times eligible income before flooring. Each cash source is floored separately, then the shared cash cap applies. These choices make results reproducible, but exact game fractional boundaries remain an audit item. The historical pre-v39 option is explicitly an estimate and disables slider cash.