feat: Actualizar .dockerignore para incluir secretos de TLS/ACME y modificar el Dockerfile para usar la imagen de Rust 1-bookworm

This commit is contained in:
2026-04-06 10:08:00 -04:00
parent 061c482b74
commit 255033040b
4 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -3048,8 +3048,8 @@ pub async fn get_audio_response_stats(
COUNT(*) FILTER (WHERE teacher_score IS NOT NULL) as teacher_evaluated,
COUNT(*) FILTER (WHERE status = 'both_evaluated') as fully_evaluated,
COUNT(*) FILTER (WHERE status = 'pending') as pending,
AVG(ai_score) FILTER (WHERE ai_score IS NOT NULL) as avg_ai_score,
AVG(teacher_score) FILTER (WHERE teacher_score IS NOT NULL) as avg_teacher_score
(AVG(ai_score) FILTER (WHERE ai_score IS NOT NULL))::float4 as avg_ai_score,
(AVG(teacher_score) FILTER (WHERE teacher_score IS NOT NULL))::float4 as avg_teacher_score
FROM audio_responses
WHERE course_id = $1 AND organization_id = $2
GROUP BY organization_id, course_id, lesson_id