Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Monogatari/Monogatari
/ humanizeSpeed
Function
humanizeSpeed
src/lib/typing-utils.ts:181–183 ·
view source on GitHub ↗
(speed: number)
Source
from the content-addressed store, hash-verified
179
* @returns Randomized speed
180
*/
181
export
function
humanizeSpeed (speed: number): number {
182
return
Math.round((Math.random() * speed) / 2) + speed;
183
}
184
185
Callers
1
humanizer
Method · 0.90
Calls
1
random
Method · 0.80
Tested by
no test coverage detected