Name Description Size
RankShortcuts.mjs Get histogram of all site visits over day-of-week @param {object[]} topsites Array of topsites objects @param {string} table Table to query @param {string} placeTable Table to map guid->place_id @returns {result: object} Dictionary of histograms of day-of-week site opens 18115
RankShortcuts.worker.mjs 827
RankShortcutsWorkerClass.mjs Linear interpolation of values in histogram, wraps from end to beginning @param {number[]} hist Defines histogram of counts @param {number} t Time/Index we are interpolating to @returns {normed: number} Normalized number 11810
ThomSample.mjs This module has utility functions for doing thompson sampling and ranking 4585