I would put it as “if the average price of oil in the previous quarter is X, the gas tax is Y.” I wouldn’t have it be a set price because of the reasons you mentioned, but also because “government setting prices for consumer goods” is actual socialism, not just the “Republicans don’t like it therefore it’s socialism”…