I don't think it's LLM, not everthing is AI, just because that's the hot topic of the day. This forumla is too simple, it's essentially 0.5 * (their_portion_of_trade_deficit / total_trade_deficit_with_country) % . It's not complex at all and that formula fits all the % calculated by Trump's board of "liberation" too closely to not be essetially what he and his cronies came up with. Likely one of the DOGGie boys
But how do you explain an uninhabited semi-independent (as i understand it) island with no trade with the US getting higher tariffs than Australia, the country it's broadly part of?