https://gitlab.com/jefferey-cave/ProductivityBlockers
I have spent the last 10 years of my career trying to convince managers that data metrics about my application of effort may give them insight into how best use resources.
I have failed at ever turn.
If there are any managers that care about it... here are the algorithms I've used.
h/t +Matthew J Price
(you know who you are and you know your manager needs to see what he's demanding of you)