Query editor
-- BOTIK / Botik_v3 / D2B3-- D2B3_UI_43C0_TRIGGER_DEVELOPMENT_BOUNDARY_LOCK_450---- Purpose-- --------- Lock the full development boundary panel before any expanded candidate-- feature/scorer acquisition.---- Composition (deterministic, fixed before downstream scoring):-- 150 accepted BUY seconds;-- 150 quiet no-BUY/no-SELL control seconds, evenly spread in chain time;-- 150 active/non-quiet no-BUY control seconds, evenly spread in chain time.---- This query does not score candidates, fit a trigger, change the frozen D2A9-- scorer, or make a confirmatory claim. It only freezes the observation-- boundaries used by the full fixed-cadence trigger development acquisition.---- Feature firewall-- ------------------ state_* may later be causal inputs.-- label_*, audit_*, control_*, timestamps, IDs, hashes, selection ranks and QC-- fields are targets/audit only and must not be model inputs.---- Scientific status-- ------------------- MODEL_V2_DEVELOPMENT_ONLY_NOT_CONFIRMATORYWITHparams AS (SELECTCAST(103414 AS BIGINT) AS expected_source_rows,CAST(150 AS BIGINT) AS expected_positive_rows,CAST(150 AS BIGINT) AS expected_quiet_rows,CAST(150 AS BIGINT) AS expected_active_no_buy_rows,CAST(450 AS BIGINT) AS expected_output_rows,CAST(50731 AS BIGINT) AS expected_quiet_pool_rows,'PASS_D2B3_FIXED_CADENCE_OBSERVATION_SPINE'AS expected_source_qc_status,'62a7a4c331b53fa9c7ddb60b70149a238469fd23cdf1ebcde8c9ff424979fd8c'AS expected_frozen_source_sql_sha256,'3b905c9d07ff235daadce33439e768cd56abc2be7befa8c06d9edf0fcebecfea'AS expected_frozen_model_sha256),source_rows AS (SELECTs.*,TRIM(CAST(s.d2b3_qc_status AS VARCHAR))AS parsed_source_qc_status,COALESCE(TRY_CAST(s.d2b3_qc_pass AS BOOLEAN), FALSE)AS parsed_source_qc_pass,TRY_CAST(s.d2b3_output_rows AS BIGINT)AS parsed_source_declared_rows,TRY_CAST(s.d2b3_fixed_cadence_error_rows AS BIGINT)AS parsed_source_cadence_errors,