compute_output_baseline()

Compute the baseline debt-to-GDP trajectory for projection years 1 through 5.

Usage

compute_output_baseline(
    ctx=None,
    *,
    inputs=None,
)

Return the baseline debt-to-GDP path as a list of records. Each record maps to a cell in Outputs!B12:F12, with TIME_PERIOD as the year and OBS_VALUE as the debt-to-GDP ratio.

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 through 5). - OBS_VALUE: Debt-to-GDP ratio as a percentage of GDP. Optional record fields: - SCENARIO: Scenario identifier distinguishing baseline from shocked output. If supplied, expected value: “baseline”. - UNIT_MEASURE: Unit of measure for the OBS_VALUE. If supplied, expected value: “PC_GDP”.

Source Binding

Workbook range: Outputs!B12:F12 Layout: series Value type: float

Examples

compute_output_baseline(ctx=ctx)