-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Timeline
Estimated Completion Date: 08/10/2025
Description
Implement validation checks for livestock time allocation data to ensure logical consistency and data quality. The following columns must comply with expected rules:
- Time spent in stable (fraction of day)
- Time spent in non-roofed enclosure (fraction of day)
- Time spent grazing pasture/fields on-farm (fraction of day)
- Time spent grazing off-farm (fraction of day)
Actionable Items / Acceptance Criteria
-
Add a warning if any individual column value is < 0 or > 1.
-
Add a warning if the sum of all four columns ≠ 1 (per row / per livestock record).
Ensure the check shows automatically during data edit.
Warning messages must be clear and actionable — ideally mentioning the livestock and column name(s) causing the issue.
Provide a single UI element (e.g., a validation results panel above the table, similar to the other warnings already available in the app) that dynamically displays the warnings.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels