Request: New Aggregation Function: +1 if sum(day) >= constant

Hopefully the title is self-explanatory; please ask me to elaborate if it isn’t. I’d like to have this aggregation function for the linked use case:

1 Like

Aggday functions currently don’t take any extra parameters, just the day’s datapoints.

3 Likes

If you name that constant we could just hardcode a narthur function for guineapiggage :slight_smile:

1 Like

0.25, “atleastaquarter” :stuck_out_tongue:

1 Like

lol I appreciate the willingness, but I’m not sure that’s a good idea, since I expect I’d want to use different values for different goals, and would probably want to be able to tweak the values to find the sweet spot for each goal…

2 Likes

There’s the challenge right there. Changing aggregation method is possibly the most dangerous thing to do to a goal…

I’ve done it myself, and insta-derailed more than once, because of course the change applies to the whole history of the goal, not for just one segment of the road.

2 Likes