HistoricalStats

data class HistoricalStats(val date: String, val computedAt: Timestamp? = null, val pendingCount: Long? = null, val actionedCount: Long? = null, val escalatedCount: Long? = null, val inboundCount: Long? = null, val actionRate: Long? = null, val avgHandlingTimeSec: Long? = null)

A single daily snapshot of report statistics for a calendar date.

Parameters

date

The calendar date this snapshot covers (YYYY-MM-DD).

computedAt

When this snapshot was last computed.

pendingCount

Number of reports not closed at time of computation.

actionedCount

Number of reports closed during this day.

escalatedCount

Number of reports escalated during this day.

inboundCount

Reports received during this day.

actionRate

Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer.

avgHandlingTimeSec

Average time in seconds from report creation (or moderator assignment) to close.

Constructors

Link copied to clipboard
constructor(date: String, computedAt: Timestamp? = null, pendingCount: Long? = null, actionedCount: Long? = null, escalatedCount: Long? = null, inboundCount: Long? = null, actionRate: Long? = null, avgHandlingTimeSec: Long? = null)

Properties

Link copied to clipboard

Number of reports closed during this day.

Link copied to clipboard

Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer.

Link copied to clipboard

Average time in seconds from report creation (or moderator assignment) to close.

Link copied to clipboard

When this snapshot was last computed.

Link copied to clipboard

The calendar date this snapshot covers (YYYY-MM-DD).

Link copied to clipboard

Number of reports escalated during this day.

Link copied to clipboard

Reports received during this day.

Link copied to clipboard

Number of reports not closed at time of computation.