On thinking about this further, I guess I could use fluid.bufstats~
to find out what the 80th percentile is, then use @weefuzzy’s abstraction to dump out the entire buffer into list land, and use logic to reduce/regroup everything back into a single list and then either zl median
it, or dump it all back into the bufstats~
universe (uzi
→ poke
?).
So I guess that is possible, but it does involve lots of “in between” steps going out/in of the fluid.
-verse to do something like this.
I’m sure there will be other statistical problems that will come up too, so hoping for more robust stats~
to handle cases like this.