def METHOD_NAME(db_session: SessionLocal, project: Project):
    """Creates incident tasks reminders."""
    overdue_tasks = task_service.get_overdue_tasks(db_session=db_session, project_id=project.id)
    log.debug(f"Overdue tasks in {project.name} project that need reminders: {len(overdue_tasks)}")
    tasks = [t for t in overdue_tasks if t.incident.status == IncidentStatus.active]
    if tasks:
        grouped_tasks = group_tasks_by_assignee(tasks)
        for assignee, tasks in grouped_tasks.items():
            create_reminder(db_session, assignee, tasks, project.id)