Skip to content

voiage.schema.PortfolioStudy

Represents a single candidate study within a research portfolio.

name : str The name of the candidate study. design : TrialDesign The TrialDesign object specifying the study’s design. cost : float The estimated cost of conducting this study.

>>> from voiage.schema import DecisionOption, PortfolioStudy, TrialDesign >>> study = PortfolioStudy(“Trial 1”, TrialDesign([DecisionOption(“A”, 10)]), 1000.0) >>> study.cost 1000.0

InputError If inputs are of the wrong type or cost is negative.