Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Fun Fact) My TODOs live on average X days #128

Open
osilla opened this issue Dec 8, 2017 · 3 comments

Comments

@osilla
Copy link
Member

commented Dec 8, 2017

My TODOs live on average X days

@obarbier

This comment has been minimized.

Copy link

commented Oct 23, 2018

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

@sergey48k

This comment has been minimized.

Copy link
Member

commented Oct 24, 2018

Hi @obarbier ,

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

@yaronskaya

This comment has been minimized.

Copy link
Contributor

commented Oct 29, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.