Giter Site home page Giter Site logo

Comments (9)

algodave avatar algodave commented on June 22, 2024

@lmerriam Can you provide a definition for "number of users" so that I know how to compute it? I looked at the old app's code but I couldn't understand what does that count mean. Thanks

from flaredown.

lmerriam avatar lmerriam commented on June 22, 2024

@algodave that refers to the number of users who have at some point used the trackable. If it's in the history of their check-ins we'd count them.

from flaredown.

algodave avatar algodave commented on June 22, 2024

@lmerriam OK I got it. Computation is challenging, I need to think a smart and efficient way to do that ;-)

from flaredown.

algodave avatar algodave commented on June 22, 2024

@lmerriam Sorry but I'm puzzling on this: if a user uses a trackable in a lot of checkins, even in non-adjacent periods of time, does that anyways count as 1 right?

from flaredown.

lmerriam avatar lmerriam commented on June 22, 2024

Exactly, it's just the count of users who have tracked that trackable at some point.

from flaredown.

algodave avatar algodave commented on June 22, 2024

@lmerriam Great thanks

from flaredown.

algodave avatar algodave commented on June 22, 2024

@lmerriam Puzzling again sorry! When you say tracked do you mean they added it to checkin when it was today's checkin only? Or do you also want to update counts when users go to a checkin in the past and add/remove trackables?

from flaredown.

lmerriam avatar lmerriam commented on June 22, 2024

Yes that should update it as well, if they have it in their history we should count them

from flaredown.

algodave avatar algodave commented on June 22, 2024

@lmerriam This is now complete, you can double-check on the live app.
I've run a task on Production env to update all trackable counts per user based on all historic data.

One bonus side-effect we have with the implementation I made is that we keep a count of how many times any given trackable appears in each user's checkins. Perhaps this information might be useful from a data science standpoint as well?

from flaredown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.