Query editor
-- BOTIK / D2B4 S0W / timestamp-normalization FIX1-- One development-cohort audit query. Execute manually in Dune exactly once-- FIX1: normalize T / Z / UTC timestamp serialization before joins and lifecycle ordering.-- only after independent review. The SQL hash is pinned externally because a-- file cannot contain its own ordinary SHA-256 without a self-reference cycle.-- Accepted ranking lineage: ROW_NUMBER per anchor_seq ordered by-- model_score DESC, candidate_seq ASC; ordinal <= 50.WITHparams AS (SELECT'7BNaxx6KdUYrjACNQZ9He26NBFoFxujQMAfNLnArLGH5' AS target_wallet,'6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P' AS pump_program,'pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA' AS pump_amm_program,'So11111111111111111111111111111111111111112' AS wsol_mint,TIMESTAMP '2026-07-08 18:11:11' AS research_start_utc,TIMESTAMP '2026-08-01 00:00:00' AS observation_end_utc,DATE '2026-07-08' AS research_start_date,DATE '2026-08-01' AS observation_end_date,CAST(450 AS BIGINT) AS expected_boundaries,CAST(22500 AS BIGINT) AS expected_rows,CAST(50 AS BIGINT) AS expected_rows_per_boundary,CAST(144 AS BIGINT) AS expected_chosen_rows,'d2b4_s0w.deferred_first_buy_labels.v1' AS result_schema_version,'d2b4_s0w.accepted_43c0_43c1e_plus_d2b2_wallet_buy.v1' AS source_contract_id),accepted_boundaries AS (SELECTTRY_CAST(development_boundary_seq AS BIGINT)AS development_boundary_seq,COALESCE(TRY_CAST(observation_time_utc AS TIMESTAMP),TRY_CAST(REPLACE(REPLACE(REPLACE(TRIM(CAST(observation_time_utc AS VARCHAR)),'T',' '),'Z',''),' UTC','') AS TIMESTAMP)) AS observation_time_utc,CAST(boundary_class AS VARCHAR) AS boundary_classFROM dune.bods8053.result_d2b3_43c0_trigger_development_boundary_lock_450WHERE d2b3_43c0_qc_passAND d2b3_43c0_qc_status= 'PASS_D2B3_43C0_TRIGGER_DEVELOPMENT_BOUNDARY_LOCK_450'),accepted_first_entry_source AS (SELECTTRY_CAST(anchor_seq AS BIGINT) AS anchor_seq,