CHEESE APISelections
Portfolio rules
Control result limits, diversity, deduplication, and returned evidence.
portfolio.limit bounds the final returned set. Optional rules such as max_per_scaffold operate
after eligibility and objective evaluation; they do not change a hard constraint into a ranking
preference.
{
"portfolio": {
"limit": 100,
"max_per_scaffold": 5
}
}The response records deduplication behavior and immutable product/reaction provenance. Large
expansions—synthons, exact constraint evidence, objective components, or execution plans—are opt-in
through include and participate in response/run budgets.