Actualización del archivo de historial con nuevos totales y conteos para las materias de Italiano, Matemática, Matemática Libro e Inglés. Se añade la sección de Detective ITA y se implementa el cálculo de días pasados y faltantes. Se mejora el resumen de totales y se añade el cálculo del porcentaje de avance.

This commit is contained in:
Miguel 2025-08-11 15:57:36 +02:00
parent 7ce08833e8
commit fd1ff0a421
3 changed files with 36 additions and 20 deletions

6
.cursor/rules/reglas.mdc Normal file
View File

@ -0,0 +1,6 @@
---
alwaysApply: true
---
Use MemoriaDeEvolucion.md in the .doc folder to access the latest modifications and concepts for this project. For each modification, add the important knowledge and decisions to the file, keeping the style simple with plain text, minimal code, and summarized content. Also, include a summarized version of the user's prompt each time to maintain context of the request.
The aplication comments and variables must be in english.

View File

@ -1,31 +1,43 @@
# Italiano
faltan_italiano = 51
hechas_italiano = 21
total_italiano = faltan_italiano+hechas_italiano
total_italiano = 72
hechas_italiano = 29
faltan_italiano = total_italiano - hechas_italiano
# Matematica
faltan_mate = 59
hechas_mate = 6
total_mate = faltan_mate+hechas_mate
total_mate = 40
hechas_mate = 8
faltan_mate = total_mate - hechas_mate
# Matematica Libro
faltan_mate2 = 25
hechas_mate2 = 0
total__mate2 = hechas_mate2+faltan_mate2
total__mate2 = 26
hechas_mate2 = 12
faltan_mate2 = total__mate2 - hechas_mate2
# Ingles
faltan_english = 48
hechas_english = 3
total__english = hechas_english + faltan_english
total__english = 48
hechas_english = 35
faltan_english = total__english - hechas_english
# Resumen
total = total_italiano+total_mate+total__mate2+total__english
hecho = hechas_italiano + hechas_mate + hechas_mate2 + hechas_english
faltan = total - hecho
# Detective ITA
total__detective_ita = 52
hechas_detective_ita = 52
faltan_detective_ita = total__detective_ita - hechas_detective_ita
# Estado actual de dias
dias_pasados = 28-6
dias_faltan = 31+31+14+2
dias_pasados = Today()-Date('06/06/25')
dias_faltan = Date('14/9/2025')-Today()
dias_totales = Date('14/9/2025')-Date('06/06/25')
# Resumen
total = total_italiano+total_mate+total__mate2+total__english + total__detective_ita
hecho = hechas_italiano + hechas_mate + hechas_mate2 + hechas_english + hechas_detective_ita
faltan = total - hecho
porcentaje_hecho = (hecho/total)*100
# Porcentaje de Vaciones ya pasada
100*dias_pasados/dias_totales
# Promedio actual
hecho/dias_pasados
@ -33,7 +45,5 @@ hecho/dias_pasados
# Minimo para terminar
hacer_por_dia = faltan/dias_faltan
# Minimo para terminar
promedio_ideal = total/(dias_pasados+dias_faltan)