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

Fields: allow clearing out a field-entry (setting to null) #113

Open
lefnire opened this issue Nov 19, 2020 · 0 comments
Open

Fields: allow clearing out a field-entry (setting to null) #113

lefnire opened this issue Nov 19, 2020 · 0 comments
Labels
📊Behaviors Fields / influencers issues good first issue Good place for new devs to start help wanted Extra attention is needed

Comments

@lefnire
Copy link
Collaborator

lefnire commented Nov 19, 2020

User: I find myself wanting an empty stat for my fields. Currently an empty field stat is set to zero, and shown as zero in the graph. However, for some of my fields zero is an actual possible stat, so there's no way to distinguish it from a statless field. And especially on the graph I'd like the graph to just break off for a statless day, or be marked in a different colour. What I mean is in terms of information content it makes a difference to me wether I walked zero steps that day as opposed to "I do not know if and if yes how many steps I walked". And for my fields that show a time 0 means midnight, and "I did it at midnight" is also different from "I don't know when I did it".
Me: Certainly, NULLs are valuable to the influencer algorithm (XGBoost) - they mean something, as you point out. So I agree, we as humans should be able to set to NULL and the UI indicate such in the various locations. I'll add a ticket.

Entails adding a DELETE /field-entries/{field_id}?day={day} route (rather than PUTing it to null)

@lefnire lefnire added help wanted Extra attention is needed 📊Behaviors Fields / influencers issues good first issue Good place for new devs to start labels Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📊Behaviors Fields / influencers issues good first issue Good place for new devs to start help wanted Extra attention is needed
Projects
Status: Next
Development

No branches or pull requests

1 participant