TrainingRunCallbackEvents table

The TrainingRunCallbackEvents table in the FitStack - V2 schema has 20 columns, keyed by Id, with 1 foreign key to TrainingRuns.

Progress stream from the external trainer. No DbSet — mapped by configuration only.

Columns (20)

Columns of the TrainingRunCallbackEvents table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
EventIduuidnot nullIdempotency key supplied by the trainer. UNIQUE, so a replayed callback is a no-op.
TrainingRunIduuidnot null, references TrainingRuns.Id
EventTimestamptimestamp with time zonenot null
AppliedAttimestamp with time zonenot null
Statusintegernot null`TrainingStatus`.
CurrentEpochinteger
TotalEpochsinteger
ProgressPercentdouble precision
TrainLossdouble precision
ValLossdouble precision
ValMetricsJsontext
SamplePredictionsUrlcharacter varying(1024)
ArtifactUricharacter varying(1024)
ErrorMessagetext
PayloadJsontext
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Indexes (2)

  • (EventId) unique (IX_TrainingRunCallbackEvents_EventId)
  • (TrainingRunId, EventTimestamp) (IX_TrainingRunCallbackEvents_TrainingRunId_EventTimestamp)

Relationships