Query for number of completed tasks per day
Improve query performance
Datetime to char
Use new nsmes for completed tasks stats
Fix stats formatting to show new values"
Removed unused functions
Only draw estimation if project is not completed
Removed test for function that no more exists
Removed unused variable
Use function from cache module for n_tasks
Refactor: extract function
Fix indentation
Fixed tests and use factories in test stats
Added test case
Added test case
Refactor: rename function and variables
Add first answer date to completed tasks data if not present
Remove dates_n_tasks, as it can be retrieved by n_tasks function separately
Refactor, move logic inside _estimate function
Added tests for _estimate function