Files
ForexBot2/backtest/research/llm_news_golden.csv
T
Harwinder Sekhon 858c12280a news: DeepSeek validation, vs_forecast fix, /status source health
Validation (llm_news_eval.py harness + 78-headline golden CSV + verdict
doc): headline scoring 78/78 vs keyword baseline 24/78 — validated;
event gold-direction calls misread close K/M numeric comparisons ~11%
of the time (both claims cases in sample, JOLTS 8.79M vs 8.84M).

Fix: event payload now carries code-computed "vs_forecast" (from
EconomicEvent.surprise) and the prompt gains an explicit inverted-
metrics rule + worked claims example — iteration 1 (field alone) fixed
the arithmetic but exposed a masked inversion error. 18/18 on live
re-verification (4 misreads fixed, 11 regression cases clean, 3 fresh
both-side probes).

/status: new "News & AI" section — per-source health for the calendar
chain (which of FF/MyFXBook served), each RSS feed, and DeepSeek
(daily count, last error kind), written passively by the existing
fetch paths under _cache_lock. Failures WARN once on transition
(repeats DEBUG, recovery INFO) so the rotating log carries outage
stories without 10-min spam.

test_all.py: +5 Module 19 tests (351 total); also carries the Module 22
fixed-RR-TP tests from the prior research session (shared file).
Replay artifacts dir gitignored like commit_ladder.

Claude-Session: https://claude.ai/code/session_017mbXs9HRawZhD1uZ3ze7zQ
2026-08-06 22:21:02 -04:00

7.8 KiB

1headlinecategoryexpected_xau_signrationale
2Powell says restrictive policy needed for longer as inflation proves stickyhawkish_fed-1higher-for-longer rates lift real yields, gold-bearish
3Fed minutes show officials leaning toward two more rate hikes this yearhawkish_fed-1more hikes = stronger dollar/yields
4Hot CPI print fuels bets on additional Fed tighteninghawkish_fed-1tightening expectations weigh on gold
5Fed's Waller: higher-for-longer rates warranted by resilient economyhawkish_fed-1hawkish guidance
6FOMC raises rates 50bp, flags further increases aheadhawkish_fed-1outsized hike plus hawkish guidance
7Treasury yields spike as Fed pushes back on rate cut hopeshawkish_fed-1cut hopes dashed, yields up
8Core inflation accelerates, cementing case for hawkish Fed stancehawkish_fed-1hawkish repricing
9Fed dot plot shifts higher; markets price out easing for the yearhawkish_fed-1easing priced out
10Fed cuts rates 25bp and signals more easing to comedovish_fed1easing cycle is gold-bullish
11Powell hints at rate cuts as inflation cools toward targetdovish_fed1cut guidance
12FOMC minutes reveal growing support for policy easingdovish_fed1dovish minutes
13Fed's Williams says rate cuts appropriate later this yeardovish_fed1cut guidance
14Soft inflation data boosts odds of a dovish Fed pivotdovish_fed1pivot odds up
15Fed pauses hikes, markets price aggressive easing cycledovish_fed1easing priced in
16Central banks turn dovish as global growth faltersdovish_fed1global easing backdrop
17Fed to restart bond purchases to support flagging economydovish_fed1QE is gold-bullish
18Dollar index hits 12-month high on robust US economic datastrong_usd-1strong dollar pressures gold
19US GDP grows 4.1% annualized, blowing past expectationsstrong_usd-1strong economy, hawkish implication
20Blockbuster jobs report sends dollar surging across the boardstrong_usd-1strong jobs lift dollar and yields
21US retail sales smash forecasts, underscoring consumer strengthstrong_usd-1strong data
22Greenback rallies as US data outshines Europe and Asiastrong_usd-1dollar strength
23ISM services index jumps to two-year high on strong demandstrong_usd-1strong data
24Consumer confidence surges to post-pandemic high in the USstrong_usd-1strong data
25Dollar tumbles to eight-month low after dismal manufacturing dataweak_usd1weak dollar lifts gold
26US economy adds far fewer jobs than expected; dollar slidesweak_usd1weak jobs, dovish implication
27Greenback weakens as US retail sales unexpectedly contractweak_usd1weak data
28US GDP growth revised down sharply, stoking slowdown fearsweak_usd1slowdown is dovish
29Dollar slumps as trade deficit balloons to recordweak_usd1dollar weakness
30Soft services PMI adds to evidence of cooling US economyweak_usd1cooling economy
31US consumer sentiment plunges to two-year lowweak_usd1weak data
32Real yields climb to multi-year highs as TIPS sell offreal_yields-1rising real yields raise gold's opportunity cost
3310-year Treasury yield surges past 5% on supply glutreal_yields-1yield spike
34Rising real interest rates dim appeal of non-yielding assetsreal_yields-1explicit opportunity-cost story
35Treasury yields sink as investors flock to bondsreal_yields1falling yields support gold
36Real yields turn negative as inflation outpaces ratesreal_yields1negative real yields are gold's best backdrop
37Bond rally drives 10-year yield to lowest level in a yearreal_yields1falling yields
38Geopolitical tensions escalate in Middle East, investors seek safetysafe_haven1safe-haven bid
39Stocks crater worldwide as banking crisis fears spreadsafe_haven1crisis flight to safety
40Escalating conflict drives flight to safe-haven assetssafe_haven1explicit haven flow
41Investors dump risk assets after surprise sovereign defaultsafe_haven1default shock
42Military escalation on NATO border rattles global marketssafe_haven1geopolitical stress
43Wall Street plunges 4% in worst session since pandemicsafe_haven1risk-off
44Currency crisis in emerging markets sparks contagion fearssafe_haven1contagion, haven bid
45Nuclear rhetoric intensifies, sending investors to havenssafe_haven1extreme geopolitical stress
46Ceasefire agreement lifts global markets, haven demand fadesrisk_on-1haven unwind
47Stocks roar to record highs as trade deal signedrisk_on-1risk-on drains haven demand
48Risk appetite returns as banking fears subsiderisk_on-1risk-on
49Global equities rally on strong earnings and easing tensionsrisk_on-1risk-on
50Gold hits record high as central banks keep buying bulliongold_direct1direct demand
51Gold ETFs post biggest weekly inflows in three yearsgold_direct1investment inflows
52China's central bank extends gold buying spree to 18th monthgold_direct1official-sector demand
53Miners struggle to meet gold demand as supply deficit widensgold_direct1supply deficit
54Gold slides 2% as investors book profits after record rungold_direct-1profit-taking pressure
55Gold tumbles below key support as ETF outflows accelerategold_direct-1outflows
56Bullion demand weakens as Indian jewellery buying stallsgold_direct-1physical demand soft
57Speculators slash bullish gold bets as dollar strengthensgold_direct-1positioning unwind
58Fed holds rates steady, signals no rate hike on the horizonnegation_traps1dovish hold; keyword layer sees the phrase rate hike and flips it gold-bearish
59Powell says no rate cuts until inflation shows sustained coolingnegation_traps-1hawkish hold; keyword layer sees rate cut and calls it gold-bullish
60Recession fears fade as US data streak beats estimatesnegation_traps-1fading fear is risk-on; keywords see recession plus beats and cancel out
61Inflation fails to accelerate, easing pressure on the Fednegation_traps1disinflation opens door to cuts
62Fed's Bowman: not yet confident inflation is beaten, cuts prematurenegation_traps-1hawkish pushback phrased around negations
63Central bank stops short of hiking, but warns tightening may resumenegation_traps-1hawkish hold with tightening bias
64No safe-haven bid for gold despite equity wobble, analysts saynegation_traps-1explicitly negated haven demand
65Jobs report not as weak as feared, dollar recoversnegation_traps-1less-bad data is dollar-positive
66US manufacturing output plunges as new orders dry upinverted_metrics1weak economy is dovish/gold-bullish; keyword layer reads plunges as bearish
67US factory activity slumps to three-year lowinverted_metrics1weak data; keyword reads slumps as bearish
68Consumer spending falls for third straight monthinverted_metrics1weak data; keyword reads falls as bearish
69Private payrolls growth slides to weakest pace since 2020inverted_metrics1weak jobs; keyword reads slides as bearish
70Jobless claims hit two-year high as layoffs spreadinverted_metrics1higher claims = weaker economy = gold-bullish
71US unemployment rate hits 4.5%, highest since 2021inverted_metrics1higher unemployment = dovish = gold-bullish
72Lakers clinch playoff berth with overtime win over Sunsdistractors0irrelevant
73New Marvel film smashes box office records on opening weekenddistractors0irrelevant
74Apple unveils thinner MacBook with faster chip lineupdistractors0irrelevant
75Scientists discover new deep-sea species off Pacific coastdistractors0irrelevant
76Heavy rain forecast for the Midwest through the weekenddistractors0irrelevant
77Streaming service raises subscription prices in Europedistractors0irrelevant
78Electric vehicle startup recalls 12,000 cars over software glitchdistractors0irrelevant
79Local elections see record turnout in several US statesdistractors0irrelevant