bar_set_point_constraint
Set a Point constraint on a recipe slot axis to target an exact-ish value, penalizing results that drift farther from it during cocktail matching.
Instructions
Set a Point constraint on one axis of a recipe slot.
Point = "exact-ish target; penalty grows with distance." Use Point for the exposed axes of a slot — where the spirit's level on that axis genuinely matters (e.g. Martinez gin → juniper Point(2): we want a moderately juniper-forward but not over-the-top gin).
For gin axes are 0–3; value is an integer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | Yes | ||
| sort | Yes | ||
| value | Yes | ||
| weight | No | ||
| cocktail_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |