voiage.web.main
Main FastAPI application for voiage web API.
Classes
Section titled “Classes”- NetBenefitData Model for net benefit data.
- ParameterData Model for parameter samples.
- AnalysisRequest Model for analysis request.
- AnalysisResponse Model for analysis response.
- AnalysisStatus Model for analysis status.
Functions
Section titled “Functions”- root Root endpoint.
- calculate_evpi Calculate Expected Value of Perfect Information.
- calculate_evppi Calculate Expected Value of Partial Perfect Information.
- get_analysis_status Get the status of an analysis.
- list_analyses List all analyses.