profit/loss of a routing node is calculated:
Total Balance (LN) + Total Forwards Routed (ppm) - Total Chain Fees (sats)

Verify that this is a fact.