Livestock
Livestock — Pig
Pig farm management — breeding flow, farm operations, and sale, with full data-quality validations (Golden Demo #11).
This reference implementation is explored via internal system login rather than a public website — everything below is real, verified detail about what it actually contains.
What this demo proves
8 real, documented test scenarios verified against this reference implementation, including:
- Animal/batch tag uniqueness
- Breeding lifecycle: service → confirmed pregnant → farrowing → grower batch
- Feed consumption logged
- Vaccination due/administered/overdue, always recomputed server-side
- Medicine withdrawal period computed and enforced before sale
- Mortality recorded
- Cost allocation (feed, medicine, other) and profit computed server-side
- Trace to the real customer sale lot
Business flow
A sow and boar are bred through service, confirmed pregnancy, and farrowing, producing a grower batch in a pen; feed, vaccination (one deliberately overdue), medicine treatment with a computed withdrawal period, and mortality are logged; the batch is sold only after its withdrawal period has elapsed, with cost and profit computed from its own recorded history.
Real issues found while building this demo
Radical transparency: these are real engineering incidents from this demo's own build, not illustrative examples.
- A duplicate-tag negative test initially caught the wrong exception type, since the real duplicate-entry error is a different error class than expected — the fix was then reused by five later farm golden demos.
Engineering Evidence
For technical reviewers: the exact test IDs, seed data steps, and platform engines behind the claims above. Click to expand.
Golden Demo #11
Every test ID and what it verifies:
- PF01Animal/batch tag uniqueness
- PF02Breeding lifecycle: service → confirmed pregnant → farrowing → grower batch
- PF03Feed consumption logged
- PF04Vaccination due/administered/overdue, always recomputed server-side
- PF05Medicine withdrawal period computed and enforced before sale
- PF06Mortality recorded
- PF07Cost allocation (feed, medicine, other) and profit computed server-side
- PF08Trace to the real customer sale lot
Real seed data steps
5 real seed steps ran, in order, to build this reference demo's data:
- 10Pig Farm Master Data PF01 (DP-573)Master data
- 20Pig Breeding Flow PF02 (DP-574)Transaction
- 30Pig Operations PF03/PF04/PF05/PF06 (DP-575)Transaction
- 40Pig Sale PF07/PF08 (DP-576)Transaction
- 50Pig Validations PF01/PF02/PF05 (DP-577)Transaction
Capability engines this pack uses
Resolved live from this pack's registered Edition — the real shared engines wired up for it:
IP-LIVESTOCK-PIG · Golden Demo #11