Previously, ASR was calculated linearly based on stake weight and participation in votes.
More on the ASR methodology here: https://www.jupresear.ch/t/asr-active-staking-rewards-methodology/19338.
Following the DAO pause, ASR will be distributed based on time-weighted stake. No specific details have been shared on mechanisms to prevent gaming the system.