Query editor
-- =====================================================================-- Robinhood Chain — Discovery v2B-R2-QA1-v3.1-- Optimizer-Safe Full-Population Classifier Parity — COMPLETE REPLACEMENT-- =====================================================================---- CUSTODY-- * Replaces QA1-v3 SHA-256-- 97e43fa4c4d031eaff0b254c9adcbc05dc3fe01ebf20b574781a5092abf8a93e,-- which did not execute: Dune optimizer timeout, execution ID-- 01KZYQVJSQDPMYG3WKCRYDQ8CJ.-- * The timeout produced no parity result and changes no project evidence.-- * Structural basis remains the independently verified 860-line SQL:-- beba3ba48d298874c101763aa2979e32fb42917b8d06a09051ec7ab8bc7a0dbb.-- * Frozen R2 CSV remains unchanged under SHA-256-- 2187cd53c61a3b180b3e7a4086431d8d279a5c06a9f4d9fd4be62181a3b7853.-- * data_version = qa1v3.1-r2parity-20260814-001.---- OPTIMIZER CORRECTION-- * Removes the inline 5,290-row frozen-wallet VALUES block that caused-- millions of ValuesExpressionRewrite / ProjectExpressionRewrite calls.-- * Frozen 5,290-wallet survival is reconciled after export against the-- already-frozen R2 CSV; every WALLET row contains the required trader-- key and strict_loose_pass flag.-- * Collapses receipt legs, router burn context and candidate identity into-- one action pipeline. Summary metrics aggregate wallet_final once.---- STRICT RECEIPT SURFACE-- * Raw robinhood.logs downstream of the accepted R2 mirror.-- * ERC20 guard: Transfer topic0; topic1/topic2 present; topic3 NULL.-- * Positive value filtering; SELF removed before token/direction counts.-- * Installed bases only: WETH and USDG. Every other ERC20 is target.-- * Native OUT exact only for trader -> SwapRouter02 top-level value.-- * Possible native IN is explicitly unresolved pending calldata replay.---- PASS CONDITIONS-- action_invariant_breach_rows = 0-- wallet_origin_chain_failure_count = 0-- wallet_exact_partition_failure_count = 0-- wallet_strict_gate_gain_count = 0-- terminal_partition_action_delta = 0-- bucket_explicit_residual_actions = 0-- and zero BREACH rows.-- =====================================================================WITHparams AS (SELECTDATE '2026-08-12' AS cutoff_date,DATE '2026-07-13' AS recent_start_date,DATE '2026-08-05' AS fresh_start_date,3 AS loose_min_mirrored_buys_30d,2 AS loose_min_mirrored_buy_days_30d,2 AS loose_min_mirrored_targets_30d,1 AS loose_min_mirrored_buys_7d),contracts AS (SELECT0x0000000000000000000000000000000000000000 AS zero_address,