import json

results = [
    {
        "candidate_id": "candidate_2026-04-16T10-15-00Z_long_liquidity_sweep_reversal",
        "timestamp": "2026-04-16T10:15:00Z",
        "decision": "rejected",
        "reason": "Counter-trend against H1/H4 bearish momentum. H1 low sweep, but structure remains heavily bearish. M15/M5 lacks clear bullish reversal confirmation; M5 shows weak bounce before continuing down.",
        "htf_context": "H4/H1 strongly bearish from 4838 to 4805. H1 sweeping prior lows but maintaining bearish market structure.",
        "m30_structure": "Bearish. Breaking down from 4831 to 4805. Lower highs and lower lows.",
        "m15_m5_execution": "M15 swept low at 10:15 (4805.27). M5 formed weak bullish candle at 10:20 but no BOS or strong displacement.",
        "entry": None,
        "stop": None,
        "target": None,
        "r": None,
        "promoted_to_journal": False
    },
    {
        "candidate_id": "candidate_2026-04-16T10-30-00Z_long_liquidity_sweep_reversal",
        "timestamp": "2026-04-16T10:30:00Z",
        "decision": "shadow",
        "reason": "Secondary sweep of the 10:15 low (4805.165 vs 4805.27). Followed by strong bullish displacement on M15/M5. Promising but lacks full setup confirmation / Fib OTE for entry.",
        "htf_context": "H4/H1 bearish momentum stalling at 4805 level.",
        "m30_structure": "Bearish structure intact but double bottom / liquidity sweep at 4805 formed.",
        "m15_m5_execution": "M15 sweeping 4805 at 10:30, followed by strong bullish candle closing at 4817. M5 shows displacement up.",
        "entry": None,
        "stop": None,
        "target": None,
        "r": None,
        "promoted_to_journal": False
    },
    {
        "candidate_id": "candidate_2026-04-16T12-00-00Z_short_liquidity_sweep_reversal",
        "timestamp": "2026-04-16T12:00:00Z",
        "decision": "needs_more_context",
        "reason": "Price retraced to 4823 (Fib 50/62 zone of the 4838-4805 drop) and swept short-term highs. M5 shows bearish displacement at 12:00, but need to see chronological follow-through for entry confirmation.",
        "htf_context": "H1 retracing the recent bearish drop from 4838 to 4805. Approaching premium zone.",
        "m30_structure": "Bearish structure. Retracement into premium. 12:00 candle swept short-term highs.",
        "m15_m5_execution": "M15 sweeping highs at 12:00. M5 closed bearish at 12:00, but further M5 action needed to confirm entry.",
        "entry": None,
        "stop": None,
        "target": None,
        "r": None,
        "promoted_to_journal": False
    }
]

with open("hybrid/reviews/manual_replay_results/replay_result_00514_00517.json", "w") as f:
    json.dump(results, f, indent=2)

print("Results written.")
