forked from Rockachopa/Timmy-time-dashboard
Adds comprehensive unit tests covering: - QuestDefinition.from_dict() including edge cases and invalid types - QuestProgress.to_dict() roundtrip - Quest lookup functions (get_quest_definitions, get_active_quests, etc.) - _get_target_value for all QuestType variants - get_or_create_progress and get_quest_progress lifecycle - update_quest_progress state transitions (completion, re-completion guard) - _is_on_cooldown with various cooldown scenarios - claim_quest_reward (success, failure, repeatable reset, cooldown guard) - check_issue_count_quest, check_issue_reduce_quest, check_daily_run_quest - evaluate_quest_progress dispatch for all quest types - reset_quest_progress (all, by quest, by agent, combined) - get_quest_leaderboard ordering and aggregation - get_agent_quests_status structure and cooldown_hours_remaining Fixes #1292