Query editor
-- Finalist layer for the Solana + Robinhood launchpad competition.-- The upstream query evaluates every reviewed, metric-complete adapter with at-- least 100 launches in the rolling window. This layer re-normalizes across-- only the two target chains and emits exactly five rows.WITH eligible AS (SELECT *FROM query_8212132WHERE chain IN ('solana', 'robinhood')AND competition_index IS NOT NULL),peer_components AS (SELECT e.*,5.0 + 95.0 * percent_rank() OVER (ORDER BY tokens_launched) AS finalist_launch_score,5.0 + 95.0 * percent_rank() OVER (ORDER BY volume_usd) AS finalist_volume_score,5.0 + 95.0 * percent_rank() OVER (ORDER BY graduations) AS finalist_graduation_score,count(*) OVER () AS eligible_candidate_countFROM eligible e),rescored AS (SELECT *,100.0* power(finalist_launch_score / 100.0, 1.0 / 3.0)* power(finalist_volume_score / 100.0, 1.0 / 3.0)* power(finalist_graduation_score / 100.0, 1.0 / 3.0) AS finalist_indexFROM peer_components),ordered AS (SELECT *,row_number() OVER (ORDER BY finalist_index DESC,volume_usd DESC,tokens_launched DESC,chain,launchpad) AS finalist_rankFROM rescored)SELECT finalist_rank AS rank,chain,launchpad,competitor,metric_status,round(finalist_index, 1) AS competition_index,tokens_launched,round(volume_usd, 2) AS volume_usd,graduations,round(100.0 * graduations / nullif(tokens_launched, 0), 2) AS graduations_per_100_launches,trades,traders,volume_coverage_pct,round(finalist_launch_score, 1) AS launch_score,round(finalist_volume_score, 1) AS volume_score,round(finalist_graduation_score, 1) AS graduation_score,eligible_candidate_count,window_start,window_endFROM orderedWHERE finalist_rank <= 5ORDER BY finalist_rank