Alexander Whitestone
f8934b63f6
Tests / lint (pull_request) Failing after 30s
Tests / test (pull_request) Has been skipped
test: add unit tests for quest_system.py
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
2026-03-23 21:56:58 -04:00
..
2026-03-23 23:33:37 +00:00
2026-03-15 12:17:50 -04:00
2026-03-08 12:50:44 -04:00
2026-03-23 18:49:58 +00:00
2026-03-24 01:49:58 +00:00
2026-03-23 19:06:11 +00:00
2026-03-24 01:20:42 +00:00
2026-03-23 18:36:01 +00:00
2026-03-11 16:55:27 -04:00
2026-03-24 01:40:16 +00:00
2026-03-21 13:32:53 +00:00
2026-03-23 21:56:58 -04:00
2026-03-24 01:43:49 +00:00
2026-03-24 01:52:16 +00:00
2026-02-19 19:05:01 +00:00
2026-03-23 18:49:58 +00:00
2026-03-23 14:09:03 +00:00
2026-03-18 20:54:02 -04:00
2026-03-18 18:20:14 -04:00
2026-03-21 03:54:54 +00:00
2026-03-08 12:50:44 -04:00
2026-03-15 09:56:50 -04:00
2026-03-19 15:29:26 -04:00
2026-03-14 20:40:19 -04:00
2026-03-21 21:53:40 +00:00