run_17_gates_default/sql/demo-data.sql
2026-03-09 13:44:29 +00:00

75 lines
2.7 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- ============================================================================
-- W A R N U N G K I G E N E R I E R T E S D A T E N B A N K S C H E M A
--
-- Dieses SQL-Schema / diese Daten wurden vollständig von einer KI generiert.
-- Experiment-Key: run_17_gates_default
--
-- WICHTIG:
-- • Rein experimentell KEINE Qualitätssicherung, KEINE Tests
-- • KEIN PRODUKTIVEINSATZ auch nicht in Test- oder Staging-Umgebungen!
-- • Kann Datenverlust, Inkonsistenzen, Sicherheitslücken oder Abstürze verursachen
-- • Nur für Forschung, Demonstration und Lernzwecke gedacht
--
-- Verwenden auf eigene Gefahr!
-- ============================================================================
-- Datenbank-Dialekt: PostgreSQL 16+
-- Kompatibilität: PostgreSQL >= 15 empfohlen
INSERT INTO strata (stratum_code, description, is_pinned, near_expiry) VALUES
('pinned', 'Stabiles Kontrollstratum für Gate V1', TRUE, FALSE),
('near-expiry-pinned', 'Pinned Requests im Near-Expiry-Fenster', TRUE, TRUE),
('unpinned', 'Standard-Unpinned Stratum', FALSE, FALSE),
('near-expiry-unpinned', 'Kritisches Stratum: unpinned & near-expiry', FALSE, TRUE);
INSERT INTO runs (
run_label,
experiment_key,
setup_fingerprint,
policy_hash,
gate_version,
mode,
started_at,
completed_at,
decision_card_url,
notes
) VALUES
(
'run_16_baseline',
'run_17_gates_default',
'setup_fp_gate_v1',
'policy_hash_abcd1234',
'gate_v1',
'warn',
'2024-03-11T13:00:00+00',
'2024-03-11T14:10:00+00',
'https://example.test/decision/run-16',
'Baseline zur Gegenprobe der Strata (unpinned vs. near-expiry-unpinned).'
),
(
'run_17_control',
'run_17_gates_default',
'setup_fp_gate_v1',
'policy_hash_abcd1234',
'gate_v1',
'warn',
'2024-03-12T13:00:00+00',
'2024-03-12T15:00:00+00',
'https://example.test/decision/gate-v1-default',
'Kontrollierter pinned-Lauf zur finalen Stabilitätsentscheidung.'
);
INSERT INTO log_entries (
run_id,
stratum_code,
recorded_at,
retry_taken,
retry_total_overhead_ms,
expires_at_dist_hours,
delta_t
) VALUES
(1, 'unpinned', '2024-03-11T13:05:00+00', FALSE, 0, 18.750, 5.100),
(1, 'near-expiry-unpinned', '2024-03-11T13:32:00+00', TRUE, 34, -0.250, -3.800),
(1, 'near-expiry-unpinned', '2024-03-11T13:40:00+00', TRUE, 27, -0.150, -1.900),
(2, 'pinned', '2024-03-12T13:20:00+00', FALSE, 0, 42.000, 6.100),
(2, 'pinned', '2024-03-12T13:55:00+00', FALSE, 0, 41.750, 5.800),
(2, 'near-expiry-pinned', '2024-03-12T14:15:00+00', FALSE, 12, 0.800, 4.950);