Detect IMF sourcing in any piece of text (article body OR analysis
markdown). Returns true when the text contains either a strong
fingerprint (word-bounded IMF/WEO matched case-insensitively, a
case-insensitive match for International Monetary Fund / World Economic Outlook / Fiscal Monitor / data.imf.org / any IMF MCP
tool id) or a word-bounded (case-sensitive) SDMX indicator code.
Matching is delegated per-fingerprint via the rules documented on
IMF_STRONG_FINGERPRINTS. Short all-caps tokens (IMF,
WEO) use the identifier-boundary rule against an uppercased copy
of the text so lowercase/mixed-case citations still match, while
still excluding occurrences inside larger identifiers such as
IMF_API_BASE_URL or WEO_VERSION_2026.
Parameters
text: string
Text to scan.
Returns boolean
true when at least one strong or word-bounded IMF fingerprint matches.
Detect IMF sourcing in any piece of text (article body OR analysis markdown). Returns
truewhen the text contains either a strong fingerprint (word-boundedIMF/WEOmatched case-insensitively, a case-insensitive match forInternational Monetary Fund/World Economic Outlook/Fiscal Monitor/data.imf.org/ any IMF MCP tool id) or a word-bounded (case-sensitive) SDMX indicator code.Matching is delegated per-fingerprint via the rules documented on IMF_STRONG_FINGERPRINTS. Short all-caps tokens (
IMF,WEO) use the identifier-boundary rule against an uppercased copy of the text so lowercase/mixed-case citations still match, while still excluding occurrences inside larger identifiers such asIMF_API_BASE_URLorWEO_VERSION_2026.