Comments (9)
@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.
@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.
@lmerriam OK I got it. Computation is challenging, I need to think a smart and efficient way to do that ;-)
from flaredown.
@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.
Exactly, it's just the count of users who have tracked that trackable at some point.
from flaredown.
@lmerriam Great thanks
from flaredown.
@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.
Yes that should update it as well, if they have it in their history we should count them
from flaredown.
@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)
- User request: see a chart for longer periods of time? One month? One year? HOT 1
- User issue: vanishing treatments between checkins HOT 1
- Feature request: update checkin date HOT 1
- Accept the terms sign up checkbox misplaced HOT 2
- Android app won't run on Android 12 (or above?)
- Emotion icons except first missing from symptom checkin (Web)
- Setup staging HOT 3
- upgrade ruby to latest HOT 1
- [native] Wire login page to backend
- [native] Create account from sign up page
- [native] Add captcha to sign up page
- [native] Terms of service and Privacy policy page HOT 1
- [native] Update `react-native-paper` theme to match designs
- Blank login page on first load
- add brakeman security scanner
- Rspec workflow is broken
- Upgrade to Rails 7
- upgrading either rack or puma broke prod cors so I reverted, make the upgrade not do that
- upgrade ruby from 3.1.3 to 3.2.3 HOT 2
- fix and add readme CI badges
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flaredown.