Skip to content

Release version 0.4.0 with min/max inclusion layer enhancements - #7

Merged
langbart merged 1 commit into
mainfrom
inclusion-rates
Sep 23, 2026
Merged

langbart merged 1 commit into
mainfrom
inclusion-rates

Conversation

@langbart

Copy link
Copy Markdown
Member
  • Introduced a new min/max inclusion layer to improve feed formulation accuracy, allowing for dietary nutrient and ingredient limits.
  • Added optional nutrient_limits and ingredient_limits inputs to the /formulate and /validate-recipe endpoints for per-request overrides.
  • Updated the /ready endpoint to validate inclusion limit tables at deploy time.
  • Enhanced the CHANGELOG, README, and documentation to reflect these new features and their usage.
  • Fixed validation issues to ensure consistency between /formulate and /validate-recipe responses.

- Introduced a new min/max inclusion layer to improve feed formulation accuracy, allowing for dietary nutrient and ingredient limits.
- Added optional `nutrient_limits` and `ingredient_limits` inputs to the `/formulate` and `/validate-recipe` endpoints for per-request overrides.
- Updated the `/ready` endpoint to validate inclusion limit tables at deploy time.
- Enhanced the CHANGELOG, README, and documentation to reflect these new features and their usage.
- Fixed validation issues to ensure consistency between `/formulate` and `/validate-recipe` responses.
@langbart
langbart merged commit 94949a4 into main Sep 23, 2026
7 checks passed
DivineMountainDev referenced this pull request in High-Country-Dev/FasaEngine Oct 19, 2026
* Release version 0.4.0 with min/max inclusion layer enhancements (#7)

- Introduced a new min/max inclusion layer to improve feed formulation accuracy, allowing for dietary nutrient and ingredient limits.
- Added optional `nutrient_limits` and `ingredient_limits` inputs to the `/formulate` and `/validate-recipe` endpoints for per-request overrides.
- Updated the `/ready` endpoint to validate inclusion limit tables at deploy time.
- Enhanced the CHANGELOG, README, and documentation to reflect these new features and their usage.
- Fixed validation issues to ensure consistency between `/formulate` and `/validate-recipe` responses.

* Release version 0.5.0 with significant updates to ASNS and FICD datasets

- Introduced a new script `scripts/import_datasets.py` for loading ASNS and FICD releases into the engine.
- Updated nutrition requirements and ingredient compositions to FICD v11.1, including new ingredients and revised units.
- Removed outdated digestibility values for pig and poultry from the validation process.
- Enhanced error handling in `/validate-recipe` for invalid ingredient requests.
- Documented changes in CHANGELOG, README, and architecture to reflect new features and data issues.
- Added per-species maximum inclusion levels for ingredients based on the latest data.

* Carry the constraint source onto evaluate-recipe lines

---------

Co-authored-by: Lorenzo Longobardi <47150700+langbart@users.noreply.github.com>
Co-authored-by: langbart <lorenzo.longobardi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant