args: {'query': 'SELECT * FROM daily ORDER BY date LIMIT 30'}


args: {'query': 'SELECT * FROM daily ORDER BY date LIMIT 100 OFFSET 30'}


args: {'query': "SELECT \n  AVG(resting_hr) as avg_before,\n  MIN(date) as min_date,\n  MAX(date) as max_date\nFROM daily \nWHERE date < '2026-03-10'"}


args: {'query': "SELECT \n  date, resting_hr\nFROM daily \nWHERE date >= '2026-03-10' AND date <= '2026-03-22'\nORDER BY date"}


args: {'query': "SELECT AVG(resting_hr) as avg_during FROM daily WHERE date >= '2026-03-10' AND date < '2026-03-22'"}


args: {'metric': 'resting_hr', 'start_date': '2026-03-10', 'magnitude': 24.0}


args: {'source': 'import re\n\n\nMETRIC_MAP = {\n    \'steps\': \'steps\',\n    \'step count\': \'steps\',\n    \'resting hr\': \'resting_hr\',\n    \'rhr\': \'resting_hr\',\n    \'resting heart rate\': \'resting_hr\',\n    \'hrv\': \'hrv\',\n    \'heart rate variability\': \'hrv\',\n    \'sleep\': \'sleep_hours\',\n    \'slept\': \'sleep_hours\',\n    \'sleep hours\': \'sleep_hours\',\n    \'glucose\': \'glucose_mean\',\n    \'avg glucose\': \'glucose_mean\',\n}\n\n\ndef _find_date(line: str):\n    "


args: {'line': '[2026-04-29] heart rate variability 59'}