Skip to content

Add untested_ingredients to FormulationDesignSpace#1055

Merged
kroenlein merged 2 commits into
mainfrom
feature/add-untested-ingredients
Jul 23, 2026
Merged

Add untested_ingredients to FormulationDesignSpace#1055
kroenlein merged 2 commits into
mainfrom
feature/add-untested-ingredients

Conversation

@kroenlein

@kroenlein kroenlein commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds the untested_ingredients field to FormulationDesignSpace. The platform models this field (the subset of ingredients that are absent from the predictor's training data), but the SDK did not, so it was silently dropped on (de)serialization and could not round-trip through create_default.

  • untested_ingredients: optional set[str], threaded through __init__ and serialization.
  • Regression tests: round-trip serialization, plus a backward-compatible (field-absent) case.
  • Docs: FormulationDesignSpace docstring and the design-spaces workflow guide updated.
  • Minor version bump 4.1.0 → 4.2.0 (backward-compatible API addition).

Tracking

PLA-14081.

🤖 Generated with Claude Code

kroenlein and others added 2 commits July 21, 2026 11:47
The platform models an untested_ingredients field on FormulationDesignSpace:
ingredient names to explore that are absent from the predictor's training data.
The SDK did not model it, so the field was silently dropped on (de)serialization
and could not round-trip through create_default. Add it as an optional set[str],
threaded through __init__ and serialization, with regression tests covering
round-trip and the backward-compatible (field-absent) case.

Bump minor version 4.1.0 -> 4.2.0 (backward-compatible API addition).

Tracking: PLA-14081.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@kroenlein
kroenlein marked this pull request as ready for review July 22, 2026 14:57
@kroenlein
kroenlein requested a review from a team as a code owner July 22, 2026 14:57

@anoto-moniz anoto-moniz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kroenlein
kroenlein merged commit e9b28f8 into main Jul 23, 2026
38 checks passed
@kroenlein
kroenlein deleted the feature/add-untested-ingredients branch July 23, 2026 14:46
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.

2 participants