compute_output_shocked()
Returns the shocked debt-to-GDP path as a series of records.
Usage
compute_output_shocked(
ctx=None,
*,
inputs=None,
)Provides the projected debt-to-GDP trajectory under the shocked scenario for projection years 1 through 5. Each record represents one projection year, with the observation value in percent of GDP.
Parameters
ctx: EvalContext | None = None-
Existing evaluation context, if available.
inputs: dict[str, object] | None = None- Optional input map when ctx is omitted.
Returns
Records: Records- Computed output records. Required record fields: - TIME_PERIOD: Projection year (1–5). - OBS_VALUE: Debt-to-GDP ratio under the shocked scenario. Optional record fields: - SCENARIO: Scenario identifier. If supplied, expected value: “shocked”. - UNIT_MEASURE: Unit of measure for the observation value. If supplied, expected value: “PC_GDP”.
Source Binding
Workbook range: Outputs!B13:F13 Layout: series Value type: float
Examples
compute_output_shocked(ctx=ctx)