Query editor
-- Robinhood Chain — v2B Address Patch — Full Bucket Reconciliation---- Purpose:-- Publish the complete old -> address-patched action bucket table-- requested in the v2B acceptance rider.---- PATCHED counts are read directly from canonical saved query 8299968:-- Robinhood Chain — Discovery v2B — Economic Trade Normalization — Address Patch---- OLD counts are the preserved pre-address-patch regression output.---- Diagnostic / reconciliation only.-- No methodology change.WITHold_counts AS (SELECT *FROM (VALUES('DIRECT', 'BUY', BIGINT '54948489'),('DIRECT', 'SELL', BIGINT '38593295'),('DIRECT', 'NO_TARGET_TOKEN', BIGINT '5862774'),('DIRECT', 'COMPLEX_MULTI_TOKEN', BIGINT '444241'),('DIRECT', 'DIRECTION_MISMATCH', BIGINT '235906'),('DIRECT', 'NO_BASE_NET', BIGINT '187793'),('DIRECT', 'UNPRICED_BASE', BIGINT '632'),('ERC4337', 'BUY', BIGINT '358071'),('ERC4337', 'SELL', BIGINT '2530295'),('ERC4337', 'NO_TARGET_TOKEN', BIGINT '52110'),('ERC4337', 'COMPLEX_MULTI_TOKEN', BIGINT '134913'),('ERC4337', 'DIRECTION_MISMATCH', BIGINT '2546'),('ERC4337', 'NO_BASE_NET', BIGINT '55939'),('ERC4337', 'UNPRICED_BASE', BIGINT '3')) AS t (attribution_method,action_type,old_actions)),patched_counts AS (SELECTattribution_method,action_type,CAST(economic_actions AS BIGINT) AS patched_actionsFROM query_8299968),bucket_compare AS (SELECTo.attribution_method,o.action_type,o.old_actions,