Short all-caps tokens listed in IMF_SHORT_ALLCAPS_TOKENS
(IMF, WEO) are matched word-bounded and case-sensitive via
the same identifier-boundary rule used for indicator codes, so they
do not false-positive inside tokens like IMF_API_BASE_URL or
WEO_VERSION.
All other entries — multi-word phrases, URL hosts, and MCP tool
identifiers — are matched as case-insensitive substrings, so
variations like imf, Imf, or international monetary fund all
satisfy the gate.
Kept aligned with analysis/methodologies/imf-indicator-mapping.md
and IMF_MCP_TOOLS in src/mcp/imf-mcp-client.ts.
Strong IMF evidence tokens. Any one of these is sufficient evidence that the article or analysis file references IMF macro/fiscal context.
Matching rules applied by hasIMFEvidence:
IMF,WEO) are matched word-bounded and case-sensitive via the same identifier-boundary rule used for indicator codes, so they do not false-positive inside tokens likeIMF_API_BASE_URLorWEO_VERSION.imf,Imf, orinternational monetary fundall satisfy the gate.Kept aligned with
analysis/methodologies/imf-indicator-mapping.mdandIMF_MCP_TOOLSinsrc/mcp/imf-mcp-client.ts.