{# Cost impact verification partial (spec 108) #} {% if cost_verification.status in ['queued', 'running'] %}
Cost Impact Verification
In progressBuilding models... Please wait.
Running dbt build with the applied changes and comparing costs against the baseline.
Cost Impact Verification
CompletedNet Saving: ${{ "%.2f"|format(cost_verification.net_delta_usd | abs) }}
Net Cost Increase: ${{ "%.2f"|format(cost_verification.net_delta_usd) }}
No net cost change detected.
| Model | Before | After | Delta | Change % |
|---|---|---|---|---|
{% if model.is_changed_model %}
{{ model.model_name }}
{% else %}
{{ model.model_name }}
{% endif %}
|
{% if model.before_cost_usd is not none %}${{ "%.4f"|format(model.before_cost_usd) }}{% else %}—{% endif %} | {% if model.after_cost_usd is not none %}${{ "%.4f"|format(model.after_cost_usd) }}{% else %}—{% endif %} | {% if model.delta_usd is not none %} {% if model.delta_usd < 0 %}-${{ "%.4f"|format(model.delta_usd | abs) }}{% elif model.delta_usd > 0 %}+${{ "%.4f"|format(model.delta_usd) }}{% else %}$0.0000{% endif %} {% else %}—{% endif %} | {% if model.pct_change is not none %}{{ "%.1f"|format(model.pct_change) }}%{% else %}—{% endif %} |
| Total | ${{ "%.4f"|format(comparison.summary.total_before_usd) }} | ${{ "%.4f"|format(comparison.summary.total_after_usd) }} | {% if comparison.summary.net_delta_usd < 0 %}-${{ "%.4f"|format(comparison.summary.net_delta_usd | abs) }}{% elif comparison.summary.net_delta_usd > 0 %}+${{ "%.4f"|format(comparison.summary.net_delta_usd) }}{% else %}$0.0000{% endif %} | {% if comparison.summary.net_pct_change is not none %}{{ "%.1f"|format(comparison.summary.net_pct_change) }}%{% else %}—{% endif %} |
{{ comparison.summary.model_count }} model{{ 's' if comparison.summary.model_count != 1 else '' }} evaluated. marks the changed model.
{% endif %}Cost Impact Verification
FailedVerification build failed
{% if cost_verification.error_message %}{{ cost_verification.error_message | truncate(300) }}
{% endif %}