OUAREDAEK commited on
Commit
4c1393d
·
verified ·
1 Parent(s): a0b7e63

Upload templates/index.html with huggingface_hub

Browse files
Files changed (1) hide show
  1. templates/index.html +45 -23
templates/index.html CHANGED
@@ -1746,26 +1746,48 @@ textarea:focus {
1746
  <h5>🧭 Indicateurs de la gestion du temps et régularité</h5>
1747
  <div class="compact-persistence-indicators">
1748
  <div class="compact-indicator">
1749
- <span class="compact-indicator-dot" style="background:#FF6B6B;"></span>
1750
- <span>Régularité calculée : <strong id="compact-regularityScore">-</strong></span>
1751
- </div>
1752
- <div class="compact-indicator">
1753
- <span class="compact-indicator-dot" style="background:#4ECDC4;"></span>
1754
- <span>Schéma d'effort : <strong id="compact-effortPattern">-</strong></span>
1755
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1756
 
1757
- <div class="compact-persistence-text" style="margin-top: 10px;">
1758
- <div style="margin-bottom: 10px;">
1759
- <strong>Dynamique temporelle de l'effort :</strong>
1760
- <div style="margin-top: 5px; padding: 8px; background: transparent; border-radius: 6px; font-size: 13px;">
1761
- <span id="compact-patternText">Analyse en cours...</span>
 
 
 
 
 
 
 
 
1762
  </div>
1763
- </div>
 
 
 
1764
 
1765
- <div class="compact-indicator">
1766
- <span class="compact-indicator-dot" style="background:#FFD166;"></span>
1767
- <span>Gestion échéances : <strong id="compact-deadlineScore">-</strong></span>
1768
- </div>
1769
 
1770
 
1771
  </div>
@@ -2052,7 +2074,7 @@ const DEFAULT_SCENARIOS = [
2052
  const perseveranceProfiles = {
2053
  "Étudiant engagé": {
2054
  level: "Très élevée",
2055
- interpretation: "Efforts constants et durables, persévère même face aux difficultés",
2056
  color: "#43A047"
2057
  },
2058
  "Étudiant actif mais inefficace": {
@@ -3149,7 +3171,7 @@ function analyzeCompactPersistenceMetrics(activityData, scenarioId) {
3149
  const regularity = Math.max(0, 100 - stdDev * 25);
3150
 
3151
  // 2. Identifier le schéma d'effort
3152
- let pattern = "Régulier";
3153
  let patternDescription = "Effort équilibré toute la semaine";
3154
 
3155
  // Analyser la distribution
@@ -3161,16 +3183,16 @@ function analyzeCompactPersistenceMetrics(activityData, scenarioId) {
3161
  const weekAvg = weekData.reduce((a, b) => a + b, 0) / weekData.length;
3162
 
3163
  if (weekData[4] > weekAvg * 1.5 && weekData[3] > weekAvg * 1.3) {
3164
- pattern = "Effort concentré";
3165
  patternDescription = "Pic d'activité jeudi/vendredi";
3166
  } else if (weekData[0] < weekAvg * 0.7 && weekData[4] > weekAvg * 1.2) {
3167
- pattern = "Accélération progressive";
3168
  patternDescription = "Démarrage lent, fin forte";
3169
  } else if (weekData[5] > weekAvg * 1.3 && weekData[6] > weekAvg * 1.3) {
3170
- pattern = "Travail weekend";
3171
  patternDescription = "Activité principalement le weekend";
3172
  } else if (weekAvg < 1) {
3173
- pattern = "Très faible";
3174
  patternDescription = "Activité minimale toute la semaine";
3175
  }
3176
  }
 
1746
  <h5>🧭 Indicateurs de la gestion du temps et régularité</h5>
1747
  <div class="compact-persistence-indicators">
1748
  <div class="compact-indicator">
1749
+ <span class="compact-indicator-dot" style="background:#FF6B6B;"></span>
1750
+ <span>
1751
+ Régularité du travail :
1752
+ <strong id="compact-regularityScore">-</strong>
1753
+ </span>
1754
+ </div>
1755
+
1756
+ <div style="margin-left: 18px; margin-top: 0; font-size: 12px; color: #888;">
1757
+ La constance de l’activité de l’apprenant dans le temps.
1758
+ </div>
1759
+
1760
+
1761
+
1762
+ <div class="compact-indicator">
1763
+ <span class="compact-indicator-dot" style="background:#FFD166;"></span>
1764
+ <span>Gestion échéances : <strong id="compact-deadlineScore">-</strong></span>
1765
+ </div>
1766
+
1767
+ <div style="margin-left: 18px; margin-top: 0; font-size: 12px; color: #888;">
1768
+ La capacité de l'apprenant à respecter les délais pédagogiques.
1769
+ </div>
1770
+
1771
 
1772
+
1773
+
1774
+
1775
+ <div class="compact-indicator" style="margin-top: 10px;">
1776
+ <span class="compact-indicator-dot" style="background:#4ECDC4;"></span>
1777
+ <span>
1778
+ <strong>Schéma d'effort :</strong>
1779
+ <span id="compact-effortPattern">- </span>
1780
+ </span>
1781
+ </div>
1782
+
1783
+ <div style="margin-left: 18px; margin-top: 0; font-size: 12px; color: #888;">
1784
+ Dynamique temporelle de l'effort.
1785
  </div>
1786
+
1787
+
1788
+
1789
+
1790
 
 
 
 
 
1791
 
1792
 
1793
  </div>
 
2074
  const perseveranceProfiles = {
2075
  "Étudiant engagé": {
2076
  level: "Très élevée",
2077
+ interpretation: "Efforts constants, persévère même face aux difficultés",
2078
  color: "#43A047"
2079
  },
2080
  "Étudiant actif mais inefficace": {
 
3171
  const regularity = Math.max(0, 100 - stdDev * 25);
3172
 
3173
  // 2. Identifier le schéma d'effort
3174
+ let pattern = "Régulier (Effort équilibré toute la semaine)";
3175
  let patternDescription = "Effort équilibré toute la semaine";
3176
 
3177
  // Analyser la distribution
 
3183
  const weekAvg = weekData.reduce((a, b) => a + b, 0) / weekData.length;
3184
 
3185
  if (weekData[4] > weekAvg * 1.5 && weekData[3] > weekAvg * 1.3) {
3186
+ pattern = "Effort concentré (Pic d'activité jeudi/vendredi)";
3187
  patternDescription = "Pic d'activité jeudi/vendredi";
3188
  } else if (weekData[0] < weekAvg * 0.7 && weekData[4] > weekAvg * 1.2) {
3189
+ pattern = "Accélération progressive (Démarrage lent, fin forte)";
3190
  patternDescription = "Démarrage lent, fin forte";
3191
  } else if (weekData[5] > weekAvg * 1.3 && weekData[6] > weekAvg * 1.3) {
3192
+ pattern = "Travail weekend (Activité principalement le weekend)";
3193
  patternDescription = "Activité principalement le weekend";
3194
  } else if (weekAvg < 1) {
3195
+ pattern = "Très faible (Activité minimale toute la semaine)";
3196
  patternDescription = "Activité minimale toute la semaine";
3197
  }
3198
  }