Valuation Rate (Gross Profit Calculator vs Stock Ledger)

I’m seeing Valuation Rate on Stock Ledger change over time (as the cost to buy the product varies).

However, in Gross Profit Calculator, each order shows the same Valuation Rate for the stock giving an incorrect gross profit.

Any ideas?