sourcerer-app
sourcerer-app copied to clipboard
(Fun Fact) My TODOs live on average X days
My TODOs live on average X days
I would like to contribute to this. Can I get more information on this.
Hi @obarbier ,
Thank you! Please give us a few days to prepare a better description for this ticket.
Hi @obarbier!
You will need to collect all added and deleted TODO lines inFactHasher
using onNext
function there. Also, you need to store commit time for each such line.
In function createFacts
you will need to calculate time delta between a time of addition and a time of deletion for lines that present both in added and deleted. After that, you should create Fact
with code FactCodes.TODO_LIFETIME and mean of calculated time deltas as value, and add it to list of facts.
Is it clear for you? Feel free to ask more questions;)
Did this ever get worked on?
@vladdoster not yet. Feel free to start.