ScanFeedback table
The ScanFeedback table in the FitStack - V2 schema has 22 columns, keyed by Id.
CLOSES THE LOOP: wrong predictions become labelled training data. SINGULAR table name. No DbSet.
Columns (22)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| Source | character varying(32) | not null | |
| Category | character varying(32) | not null | |
| ImageSha256 | character varying(64) | not null | Content hash — dedupes the same image arriving from different scans. |
| ImageGcsUri | character varying(512) | ||
| CorrelationId | character varying(64) | ||
| ProductScanId | uuid | Loose reference, no FK. | |
| DatasetImageId | uuid | Loose reference, no FK. | |
| ModelOutputJson | text | ||
| GroundTruthJson | text | ||
| VlmLabelRecordUri | character varying(512) | Vision-language model used as an auto-labeller. | |
| VlmModelName | character varying(64) | ||
| Confidence | double precision | ||
| AdminUserId | character varying(64) | ||
| AdminUserEmail | character varying(256) | ||
| Notes | character varying(4096) | ||
| IsConfirmedForTraining | boolean | not null | Human sign-off gate before feedback re-enters the training set. |
| UsedInDatasetVersionId | uuid | ||
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Indexes (3)
(Category, IsConfirmedForTraining, CreatedAt)(IX_ScanFeedback_Category_Confirmed_CreatedAt)(ImageSha256, Category, Source)(IX_ScanFeedback_Image_Category_Source)(Source, IsConfirmedForTraining, CreatedAt)(IX_ScanFeedback_Source_Confirmed_CreatedAt)