-- demo-data.sql
INSERT INTO schema_version (description)
VALUES ('Initial schema for EM summary metrics in CI');

INSERT INTO em_metrics (
    run_uuid, ci_pipeline, job_name, commit_hash, trace_version,
    captured_at, peak_amplitude, median_bandpower, crosscorr_with_clockevents,
    hf_outlier_flag, spacer_config, sampling_policy, notes
) VALUES
    ('8f9c1a1e-7b2f-4a68-91ce-2e2a214c0c51', 'bootstrap-ci', 'smoke-em-summaries',
     '4f5b0d3c9a1e5b7c2d8f9a0b1c2d3e4f5a6b7c8d', 1,
     NOW() - INTERVAL '2 hours', 0.420000, 0.180000, 0.6800,
     TRUE, 'spacer_0p5mm_grounded', 'default', 'HF peak lowered ~60% after spacer change'),

    ('5d3a2c7e-2f4b-48a0-9d1f-1b2c3d4e5f6a', 'bootstrap-ci', 'nightly-em-summaries',
     '9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f3a2b1c0d', 1,
     NOW() - INTERVAL '1 day', 0.155000, 0.095000, 0.1200,
     FALSE, 'spacer_0p5mm_grounded', 'nightly', 'Baseline nightly reference run'),

    ('0b1c2d3e-4f5a-6789-b0c1-d2e3f4a5b6c7', 'bootstrap-ci', 'smoke-em-summaries',
     '1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b', 1,
     NOW() - INTERVAL '3 days', 0.780000, 0.330000, 0.4500,
     TRUE, 'spacer_none', 'default', 'Legacy config without spacer, shows elevated peaks');
