Something went wrong. Try again.
this post sux
Something went wrong. Try again.
SUX-3: cache embeddings per post and keep a running feed average
embedPosts() serves cached vectors first and only calls the runtime for misses, so adding rules never redoes model work (cache keyed by model id + content, separate from the verdict cache). Every freshly embedded post folds into an exponential moving average (the 'feed average' positive-only rules score against). Both persist to storage.local int8-quantized; pure helpers (embCacheKey, emaStep, quantEmb/dequantEmb) live in shared.js so the bench can reuse them.
Author jae Date (Oct 10, 2026, 2:55 PM UTC) Commit
Copy SHA
Parent b085cefd b085cefdc99dbcac20a71448e7352faf9d46e208