πŸ’Ή Economic Context Template

May 14, 2026 Β· View on GitHub

⚠️ IMF-FALLBACK NOTICE: This template is used when manifest.dataMode = "degraded-imf". The IMF SDMX 3.0 REST API is unreachable or returned an Admiralty F6 (failed / unreachable) response. Economic context is derived from a prior-run IMF cache or from training-data WEO knowledge-base estimates with mandatory caveats.

πŸ“Œ Template Instructions: Copy to analysis/daily/{date}/{article-type}-run{N}/intelligence/economic-context.md. Set manifest.dataMode = "degraded-imf". Fill the Β§IMF-Fallback Provenance section first. For every numeric claim, use [KB-ESTIMATE] prefix when using knowledge-base figures and cite the training-data vintage explicitly (e.g. "WEO Oct 2025 training vintage"). See methodologies/per-artifact-methodologies.md Β§economic-context.


⚠️ IMF-Fallback Provenance

πŸ”΄ MANDATORY β€” complete before any analysis section.

FieldValue
Data modedegraded-imf
IMF SDMX statusDescribe the failure: "F6 β€” API unreachable" / "timeout" / "SDMX 3.0 gateway error"
IMF Sourcecache (if prior-run cache available) OR knowledge-base-estimate (if no cache)
Cache pathPath to cached IMF JSON under data/cache/imf/ (or "none available")
Cache vintageDate of the cached data (e.g. "WEO Apr 2026 cached YYYY-MM-DD") OR "N/A"
KB-estimate vintageWhen using knowledge base: "WEO Oct 2025 training vintage" (most recent WEO in training data)
Admiralty gradeA2 (for verified cached data) OR B3 (for training-data knowledge-base estimate)
Confidence cap🟑 MEDIUM for knowledge-base estimates; 🟒 HIGH only for verified cache
Data-availability-assessment refPath to the Stage A artifact: data-availability-assessment.md

πŸ“‹ Document Metadata

FieldValue
Report IDEC-FB-YYYY-MM-DD-runNN
Analysis PeriodStart date to end date
Primary Data SourceIMF (vintage: [specify β€” e.g. WEO-Oct-2025 KB-estimate OR WEO-Apr-2026 cached])
IMF Sourcecache OR knowledge-base-estimate
Secondary (non-economic)World Bank non-economic cross-refs (if available) OR "None"
IMF Indicators CitedCount β€” note whether cache or KB-estimate
Forecast Horizoncurrent / t+1 / t+3 / t+5
Triangulation PerformedYes (Eurostat / ECB SDW cross-check if available) / No
Confidence🟑 MEDIUM (fallback mode β€” KB-estimate or stale cache)

1️⃣ IMF-Fallback Indicator Table

All figures below MUST carry the [KB-ESTIMATE] prefix when sourced from training-data knowledge base, OR a cache-path citation when sourced from data/cache/imf/.

EP Policy TopicIMF IndicatorDatabaseKB-Estimate / Cache valueVintageAdmiraltyConfidence
Policy topic 1[SDMX code + name]WEO/FM/IFS[KB-ESTIMATE] value% OR cache-value%WEO Oct 2025 training vintage OR cache dateB3 OR A2🟑 MEDIUM
Policy topic 2[SDMX code + name]WEO/FM/IFS[KB-ESTIMATE] value%VintageB3🟑 MEDIUM
Policy topic 3[SDMX code + name]WEO/FM/IFS[KB-ESTIMATE] value%VintageB3🟑 MEDIUM

Fallback rationale:

State why IMF live data is unavailable (F6 error, timeout, SDMX 3.0 gateway issue). Cite the data-availability-assessment.md entry for IMF. Explain which indicators you would have used if the API were live, and how the KB-estimate differs from the expected live vintage.


2️⃣ EU-27 Headline Indicators (Fallback)

Primary indicator: State indicator name, e.g. "GDP growth rate (annual %)"

%%{init: {"theme":"dark","themeVariables":{"primaryColor":"#1565C0","primaryTextColor":"#ffffff","primaryBorderColor":"#0A3F7F","lineColor":"#90CAF9","secondaryColor":"#2E7D32","secondaryTextColor":"#ffffff","tertiaryColor":"#FF9800","tertiaryTextColor":"#000000","mainBkg":"#1565C0","secondBkg":"#2E7D32","tertiaryBkg":"#FF9800","noteBkgColor":"#FFC107","noteTextColor":"#000000","errorBkgColor":"#D32F2F","fontFamily":"Inter, Helvetica, Arial, sans-serif"}}}%%
xychart-beta
    title "EU-27 [INDICATOR NAME] β€” 5-Year Trend [KB-ESTIMATE or CACHE]"
    x-axis [2020, 2021, 2022, 2023, 2024]
    y-axis "[UNIT]" 0 --> 10
    line [0, 0, 0, 0, 0]

⚠️ Chart data above is [KB-ESTIMATE] from WEO training vintage β€” replace with actual values when IMF API is available.

IndicatorCode[KB-ESTIMATE] LatestEU-27 AvgDelta vs. AvgTrendAdmiraltyConfidence
Indicator 1SDMX code[KB-ESTIMATE] value[KB-ESTIMATE] avgΒ±value↑/β†’/↓B3🟑 MEDIUM
Indicator 2SDMX code[KB-ESTIMATE] value[KB-ESTIMATE] avgΒ±value↑/β†’/↓B3🟑 MEDIUM
Indicator 3SDMX code[KB-ESTIMATE] value[KB-ESTIMATE] avgΒ±value↑/β†’/↓B3🟑 MEDIUM

Headline narrative:

Interpret headline indicators in β‰₯100 words. Flag every numeric figure with [KB-ESTIMATE] and its vintage. State explicitly: "These figures are training-data estimates from [WEO vintage] and may differ from the IMF's current published values. When the IMF API becomes available, this section must be refreshed with live data." Connect indicators to EP legislative priorities.


3️⃣ Affected Member-State Focus (Fallback)

Member states most exposed to the period's dominant policy:

All figures below are [KB-ESTIMATE] unless sourced from a verified IMF cache file.

Member State 1: [ISO code + name]

Indicator[KB-ESTIMATE] ValueEU-27 AvgDeltaExposure LevelAdmiralty
Indicator 1[KB-ESTIMATE] value[KB-ESTIMATE] avgΒ±value🟒/🟑/πŸ”΄B3
Indicator 2[KB-ESTIMATE] value[KB-ESTIMATE] avgΒ±value🟒/🟑/πŸ”΄B3

Exposure narrative: β‰₯80 words explaining this member state's exposure. Include explicit [KB-ESTIMATE] acknowledgement and the WEO vintage used.


Member State 2: [ISO code + name]

(repeat structure)


Member State 3: [ISO code + name]

(repeat structure)


4️⃣ Forward Outlook (Fallback)

IMF WEO projections (+5 years) β€” [KB-ESTIMATE from WEO training vintage]:

⚠️ All projection values below are [KB-ESTIMATE] from training-data WEO. They carry Admiralty B3 and 🟑 MEDIUM confidence. Do NOT use these as authoritative IMF projections.

Indicator20252026202720282029TrajectoryHorizon confidenceAdmiralty
Indicator 1[KB-ESTIMATE]%[KB-ESTIMATE]%[KB-ESTIMATE]%[KB-ESTIMATE]%[KB-ESTIMATE]%↑/β†’/β†“πŸŸ‘ t+1/t+2B3
Indicator 2[KB-ESTIMATE]%[KB-ESTIMATE]%[KB-ESTIMATE]%[KB-ESTIMATE]%[KB-ESTIMATE]%↑/β†’/β†“πŸŸ‘B3

Projection narrative:

β‰₯100 words interpreting forward projections. MUST include:

  • Explicit [KB-ESTIMATE] acknowledgement with WEO vintage
  • Statement: "IMF live projections unavailable this run β€” figures sourced from [WEO Oct 2025] training-data knowledge base"
  • Optimism-bias acknowledgement for t+3+ horizons (typical MAE 1.8–2.4 pp for GDP at t+3; 4–6 pp for debt/GDP at t+3)
  • What changes when live IMF data is available

Forecast marker: Each forecast number is within 30 words of "forecast" / "projection" / "KB-ESTIMATE" β€” validator regex-enforced.


5️⃣ Analytical Bridge to Political Reading

How macro data shapes political assessment:

β‰₯150 words connecting economic indicators to EP political dynamics. Each economic claim must carry [KB-ESTIMATE] prefix and WEO vintage. Example structure:

  • "[KB-ESTIMATE] Rising unemployment in Southern member states (ES, IT, GR) β€” WEO Oct 2025 vintage β€” increases pressure on S&D to prioritize social policy..."
  • "Live IMF data would sharpen or revise this reading when the API resumes"

Cite specific indicators and explain the political mechanism even under fallback mode.


6️⃣ SEO / Editorial Evidence Bridge

Search-intent termEvidence sourceSafe use in title?Rationale
Committee acronym / policy fileEP artifact + [KB-ESTIMATE] IMF codeβœ… with [KB-ESTIMATE] caveatExplain why term accurately reflects evidence
Affected stakeholderEP artifactβœ…Explain
Procedure / vote referenceEP artifactβœ…Explain

Editorial bridge paragraph: β‰₯80 words. Must include: one [KB-ESTIMATE] IMF vintage, one SDMX code, one EP policy topic, one named stakeholder impact, and the explicit caveat that IMF figures are training-data estimates subject to revision when live data is available.


7️⃣ Data-Source Bridge (Fallback)

Status:

SourceAvailable?Records RetrievedUsed in This Run?RoleAdmiralty
IMF SDMX REST (primary economic)❌ (F6 / timeout)0βœ… (cache fallback) OR ❌Primary (cache or KB-estimate)A2 (cache) / B3 (KB-estimate)
Prior-run IMF cache (data/cache/imf/)βœ…/❌Cite countβœ…/❌Fallback if availableA2
World Bank MCP (non-economic)βœ…/❌Cite countβœ…/❌Additive β€” non-economic onlyβ€”

Cross-source triangulation (where possible under fallback):

IndicatorIMF value (KB-estimate)Cross-sourceCross-source valueDelta (pp)DecisionNote
Indicator (if Tier-1)[KB-ESTIMATE] valueEurostat / ECB SDW (if available)ValueΒ±ppconsistent / material-deltaβ‰₯30 words when material delta

Bridge narrative:

Explain the fallback chain: (1) Attempted IMF SDMX REST β€” result: F6/timeout. (2) Checked data/cache/imf/ β€” found or not found. (3) Used [KB-estimate from WEO Oct 2025 training vintage] for remaining indicators. State: "All [KB-ESTIMATE] values must be replaced with live IMF data in the next run." If WB non-economic data is included, explain which non-economic domain.


8️⃣ Confidence Assessment (Fallback)

Overall confidence: 🟑 MEDIUM (IMF API unavailable; knowledge-base estimates only)

Confidence by data source:

SourceConfidenceRationale
IMF (KB-estimate)🟑 MEDIUMTraining-data WEO [vintage]; API unavailable; Admiralty B3
IMF (cache, if used)🟒 HIGHVerified cached data from [cache date]; Admiralty A2
World Bank (non-economic)🟒/🟑/πŸ”΄State vintage, completeness, relevance
Member-state data🟑 MEDIUMInferred from KB-estimate

🚫 Anti-Patterns β€” Fallback Mode Failures

Anti-patternWhy it failsCorrect approach
IMF Source: knowledge-only in committed artifactStage-C validator rejects unconditionallyUse knowledge-base-estimate with [KB-ESTIMATE] prefix on every claim
Numeric figure without [KB-ESTIMATE] prefixPasses off estimate as live dataEvery KB-estimate value gets [KB-ESTIMATE] prefix
Missing WEO vintage on [KB-ESTIMATE] claimsCannot assess stalenessAlways cite "WEO [month] [year] training vintage"
Claiming 🟒 HIGH confidence on KB-estimateMisleads on data quality🟑 MEDIUM for KB-estimates; 🟒 HIGH only for verified cache
Admitting knowledge-only without vintageReviewer cannot assess"WEO Oct 2025 training vintage" is the minimum required form
Not refreshing when live data availableStale fallback ships permanentlyAdd a "refresh required" note in Β§7 Bridge Narrative
Triangulation row absent for Tier-1 IndicatorsHigh-stakes claim unverifiedAttempt Eurostat / ECB SDW cross-check even in fallback mode

🎯 EP MCP Tool Inputs (Fallback Mode)

SourceDomainTool / dataflowStatus
IMF SDMX RESTEconomic / fiscal / monetaryimf-fetch-data WEO / FM / IFS❌ F6 / unreachable
Prior-run IMF cacheEconomic (stale)data/cache/imf/*.jsonβœ…/❌
WB MCP (non-economic)Health, education, social, environmentworldbank-mcp/get-*-dataβœ…/❌
Eurostat (cross-source)EU-27 official statisticsmanual; cite as A2βœ…/❌
ECB SDW (monetary)Policy rate, M3, REERmanual; cite as A1βœ…/❌

πŸ”— Controlling Methodology Cross-References


βœ… Stage-C Completeness Signals (Fallback Mode)

scripts/validate-analysis-completeness.js checks for this artifact when manifest.dataMode = "degraded-imf":

CheckThresholdSource
Line floor0.85 Γ— per article-type base floor (breaking: 157)reference-quality-thresholds.json degradedFloorFactor
IMF-Fallback Provenance section presentΒ§"IMF-Fallback Provenance" H2structural contract
IMF Source fieldcache or knowledge-base-estimate (validator rejects knowledge-only)Stage-C IMF-source check
[KB-ESTIMATE] prefixβ‰₯3 occurrences in Β§Β§2–6 when IMF Source = knowledge-base-estimatetemplate requirement
WEO vintage citedβ‰₯1 occurrence of "WEO [month] [year]" or "training vintage"evidence requirement
Mermaid blockβ‰₯1visual contract
Confidence assessment§8 present with 🟑 MEDIUM for KB-estimatesquality signal

Document Control: analysis/templates/intelligence/economic-context.fallback.md Β· Template v1.0 Β· Variant: degraded-imf Β· Base: economic-context.md Β· Full-data base floor (breaking): 185 Β· Degraded floor (breaking): 157 (= floor(185 Γ— 0.85)) Β· degradedFloorFactor: 0.85 Β· See ../../methodologies/reference-quality-thresholds.json for per-article-type computed floors.