sourcerer-app icon indicating copy to clipboard operation
sourcerer-app copied to clipboard

(Fun Fact) My TODOs live on average X days

Open osilla opened this issue 6 years ago • 5 comments

My TODOs live on average X days

osilla avatar Dec 08 '17 17:12 osilla

I would like to contribute to this. Can I get more information on this.

obarbier avatar Oct 23 '18 20:10 obarbier

Hi @obarbier ,

Thank you! Please give us a few days to prepare a better description for this ticket.

sergey48k avatar Oct 24 '18 11:10 sergey48k

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;)

yaronskaya avatar Oct 29 '18 10:10 yaronskaya

Did this ever get worked on?

vladdoster avatar Nov 02 '19 03:11 vladdoster

@vladdoster not yet. Feel free to start.

yaronskaya avatar Nov 02 '19 08:11 yaronskaya