MCPcopy 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 */
181export function humanizeSpeed (speed: number): number {
182 return Math.round((Math.random() * speed) / 2) + speed;
183}
184
185

Callers 1

humanizerMethod · 0.90

Calls 1

randomMethod · 0.80

Tested by

no test coverage detected