The Wayback Machine - https://web.archive.org/web/20210816012525/https://github.com/sourcerer-io/sourcerer-app/issues/128
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 · 5 comments
Open

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

osilla opened this issue Dec 8, 2017 · 5 comments

Comments

@osilla
Copy link
Member

@osilla osilla commented Dec 8, 2017

My TODOs live on average X days

@obarbier
Copy link

@obarbier obarbier commented Oct 23, 2018

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

@sergey48k
Copy link
Member

@sergey48k sergey48k commented Oct 24, 2018

Hi @obarbier ,

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

@yaronskaya
Copy link
Contributor

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

@vladdoster
Copy link

@vladdoster vladdoster commented Nov 2, 2019

Did this ever get worked on?

@yaronskaya
Copy link
Contributor

@yaronskaya yaronskaya commented Nov 2, 2019

@vladdoster not yet. Feel free to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment