Viewing calculations for "computed balance"

When running rosetta-cli with check:data, I’m getting reconciliation errors, discrepancies between computed and live balances.

I can see where the live balances are coming from in my Rosetta implementation, but I don’t know how the computed balances are derived.

Is there a way to see the calculations that are being made for the computed balance? If I wanted to instrument the code to see those calculations, where exactly would I do that?