Skip to content

spike

spike(hourly): object

Is the last hour a spike? Hourly counts, oldest first: the last hour against the median of the ones before it. A quiet project going from 1 to 4 isn’t one; 30 when it’s usually 5 is.

Parameter Type
hourly readonly number[]

object

last: number

spiking: boolean

usual: number