Let me take another stab? If there was some possible universe in which I could get the comments for my aggday, I would have a good use for it.
My new Beelint goal is trying to track the number of goals that are in violation each day, and currently uses
min to not fault you for violations that come up during the day. Sort of like how Gmail Zero works.
The problem is that I might go from A,B to B,C and it looks like those are both size 2, but C is new and shouldn’t be counted. I’d like to just count the problems that have been present ALL day. So what I’d really like is an aggday that looks like
lambda comments: len(set.intersection(*[set(c.split(',') if c else set()) for c in comments]))
If there’s no hope I can print/read a state file but I was hoping to keep my thingy stateless.