voiage.contracts.study_portfolio.StudyPortfolioResultV1
Exact allocation over governed single-study COSS optima.
Methods
Section titled “Methods”serialize_used_capacity
Section titled “serialize_used_capacity”serialize_used_capacity([positional or keyword] self: None = None, [positional or keyword] value: object = None) -> objectRestore the JSON mapping shape for canonical serialization.
Parameters:
selfvalueobject
Returns: object
validate_result
Section titled “validate_result”validate_result([positional or keyword] self: None = None) -> SelfReject allocation envelopes with inconsistent totals or capacities.
Parameters:
self
Returns: Self