logDoomRatioForToday

Calculates and logs the ratio of doomscrolling sessions to total sessions for the current day.

This metric helps understand what percentage of user sessions are identified as problematic (doomscrolling) versus regular usage. A higher ratio indicates more frequent problematic usage.

Parameters

ctx

Application context used to access shared preferences

stage

Current intervention stage (e.g., "warn1", "warn2", "lock") for contextual analysis

See also