compute_output_delta()

Compute the difference between the shocked and baseline debt-to-GDP paths over the projection horizon.

Usage

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

Return a list of records, each containing a projection year and the corresponding difference, in percentage points, between the shocked and baseline debt-to-GDP ratios. Each record corresponds to one cell in the Outputs!B14:F14 range, providing the delta value for a single projection year.

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 identifier, ranging from 1 to 5. - OBS_VALUE: Difference between the shocked and baseline debt-to-GDP ratios, expressed in percentage points of GDP. Optional record fields: - SCENARIO: Scenario classification for the delta series. If supplied, expected value: “shocked_minus_baseline”. - UNIT_MEASURE: Unit of measurement for the debt ratio difference. If supplied, expected value: “PP”.

Source Binding

Workbook range: Outputs!B14:F14 Layout: series Value type: float

Examples

compute_output_delta(ctx=ctx)