Skip to content
Tracon

RunScoreBucket

Namespace Tracon · Assembly Tracon.Abstractions.dll

A closed, low-cardinality set of time buckets for a score trend series.

[JsonConverter(typeof(JsonStringEnumConverter<RunScoreBucket>))]
public enum RunScoreBucket

Day = 2

One day, truncated to midnight (UTC).

Hour = 1

One hour, truncated to the hour boundary (UTC).

Week = 3

One week, truncated to the Monday preceding it (UTC).

Deliberately not a free time span: a free bucket width needs its own date-truncation expression in each of the three SQL providers and would silently drift between them. Every bucket boundary is computed in UTC; a week starts on Monday (ISO 8601), independent of server locale.