<?xml version="1.0" encoding="UTF-8"?>
<root>
  <prompt_ai>
    <payload><![CDATA[Agis comme un assistant pédagogique bienveillant.
Voici un texte écrit par un élève :
<<<
PLACEHOLDER_STUDENT_TEXT
>>>
<<<
PLACEHOLDER_CRITERIA_LIST
>>>
CONTRAINTES CRITIQUES D'ALIGNEMENT :
1. Tu dois d'abord identifier les erreurs dans le texte et les marquer avec [[eX:mot]].
2. Chaque balise [[eX:mot]] dans le champ "annotatedText" doit avoir une entrée correspondante UNIQUE dans le tableau "corrections".
3. L'ID "eX" dans le tableau doit correspondre exactement à l'ID visible dans le texte.
4. Exemple : 
{
"annotatedText": "<p>La [[e1:tere]] est ronde</p>",
"generalFeedback": "Bravo pour votre effort d'écriture!",
"corrections": [
{
"id": "e1",
"suggestion": "terre",
"explanation": "Le mot 'tere' contient une erreur orthographique, la graphie correcte est 'terre'.",
"strategy": "Rappelez-vous que 'terre' s'écrit avec deux 'r'.",
"criterion": "orthographeusage"
}
]
}]]></payload>
  </prompt_ai>
  <criteria>
    <criterion>
      <name>coherence</name>
      <description>Forces du texte</description>
      <backgroundcolor>#15803d</backgroundcolor>
      <sortorder>1</sortorder>
      <instruction_ai/>
      <comments>
        <comment>
          <comment>Cohérence - Bon mot lien</comment>
        </comment>
        <comment>
          <comment>Adaptation - Titre révélateur</comment>
        </comment>
        <comment>
          <comment>Adaptation - Ton intention est claire.</comment>
        </comment>
        <comment>
          <comment>Cohérence - Tes idées s'enchainent bien.</comment>
        </comment>
        <comment>
          <comment>Vocabulaire - Ton vocabulaire est précis.</comment>
        </comment>
        <comment>
          <comment>Ponctuation - Tu utilises bien les virgules</comment>
        </comment>
        <comment>
          <comment>Vocabulaire - Tu utilises des mots variés.</comment>
        </comment>
        <comment>
          <comment>Adaptation- Les consignes sont bien suivies.</comment>
        </comment>
        <comment>
          <comment>Syntaxe - Tes phrases sont bien construites.</comment>
        </comment>
        <comment>
          <comment>Vocabulaire - Tu utilises bien les synonymes.</comment>
        </comment>
        <comment>
          <comment>Ponctuation - Tu utilises bien la ponctuation.</comment>
        </comment>
        <comment>
          <comment>Cohérence - Tu sais bien éviter les répétitions.</comment>
        </comment>
        <comment>
          <comment>Cohérence - Tu utilises des mots de liaison judicieux.</comment>
        </comment>
        <comment>
          <comment>Adaptation - Tu respectes bien le sujet ou le thème demandé.</comment>
        </comment>
        <comment>
          <comment>Cohérence - Ton introduction ou ta situation initiale est claire.</comment>
        </comment>
        <comment>
          <comment>Orthographe - Tu as bien révisé ton texte.  Il reste très peu de fautes grammaticales.</comment>
        </comment>
      </comments>
    </criterion>
    <criterion>
      <name>adaptation</name>
      <description>1. Adaptation à la situation de communication</description>
      <backgroundcolor>#b91c1c</backgroundcolor>
      <sortorder>2</sortorder>
      <instruction_ai/>
      <comments>
        <comment>
          <comment>Ton intention est floue.</comment>
        </comment>
        <comment>
          <comment>Titre absent ou à revoir.</comment>
        </comment>
        <comment>
          <comment>Les consignes ne sont pas bien suivies,</comment>
        </comment>
        <comment>
          <comment>Tu ne respectes pas vraiment le thème ou le sujet demandé.</comment>
        </comment>
      </comments>
    </criterion>
    <criterion>
      <name>vocabulaire</name>
      <description>2. Cohérence</description>
      <backgroundcolor>#4b5563</backgroundcolor>
      <sortorder>3</sortorder>
      <instruction_ai/>
      <comments>
        <comment>
          <comment>Temps de verbe à vérifier.</comment>
        </comment>
        <comment>
          <comment>Tes mots de liaison sont à revoir, ils manquent de cohérence.</comment>
        </comment>
        <comment>
          <comment>Tes idées sont mélangées.  Il faut les mettre dans le bon ordre.</comment>
        </comment>
        <comment>
          <comment>Ton introduction ou ta situation initiale est confuse.  Revoir la structure.</comment>
        </comment>
        <comment>
          <comment>L'argument développé ne correspond pas à ce qui est annoncé dans l'introduction.</comment>
        </comment>
        <comment>
          <comment>Ton texte comporte des répétitions qui pourraient être évitées.  Retourne voir les procédés de reprises vus en classe.</comment>
        </comment>
      </comments>
    </criterion>
    <criterion>
      <name>vocabulairenonapproprie</name>
      <description>3. Vocabulaire</description>
      <backgroundcolor>#7e22ce</backgroundcolor>
      <sortorder>4</sortorder>
      <instruction_ai/>
      <comments>
        <comment>
          <comment>Manque de précision.</comment>
        </comment>
        <comment>
          <comment>Ton langage est trop familier.</comment>
        </comment>
        <comment>
          <comment>Tu pourrais varier ton vocabulaire.</comment>
        </comment>
      </comments>
    </criterion>
    <criterion>
      <name>phrasesponctuation</name>
      <description>4. Construction des phrases</description>
      <backgroundcolor>#854d0e</backgroundcolor>
      <sortorder>5</sortorder>
      <instruction_ai/>
      <comments>
        <comment>
          <comment>Il manque une partie de ta négation.</comment>
        </comment>
        <comment>
          <comment>Phrase incomplète.  Une phrase doit comporter un sujet et un prédicat.</comment>
        </comment>
        <comment>
          <comment>Phrase trop longue à reformuler; vise deux verbes conjugués par phrase.</comment>
        </comment>
      </comments>
    </criterion>
    <criterion>
      <name>ponctuation</name>
      <description>4. Ponctuation</description>
      <backgroundcolor>#0e7490</backgroundcolor>
      <sortorder>6</sortorder>
      <instruction_ai/>
      <comments>
        <comment>
          <comment>Virgule(s) manquante(s)</comment>
        </comment>
        <comment>
          <comment>Virgule(s) mal placéee(s)</comment>
        </comment>
        <comment>
          <comment>Majuscule de début de phrase manquante.</comment>
        </comment>
        <comment>
          <comment>Ponctuation de fin de phrases à revoir.</comment>
        </comment>
      </comments>
    </criterion>
    <criterion>
      <name>orthographeusage</name>
      <description>5. Orthographe d'usage</description>
      <backgroundcolor>#1d4ed8</backgroundcolor>
      <sortorder>7</sortorder>
      <instruction_ai>Vérifie la graphie des mots, y compris l'emploi correct ou l'absence des accents, des traits d'union, des cédilles ou des abréviations.</instruction_ai>
      <comments>
        <comment>
          <comment>Accent manquant</comment>
        </comment>
        <comment>
          <comment>Espace manquant</comment>
        </comment>
        <comment>
          <comment>Emploi de la majuscule.</comment>
        </comment>
        <comment>
          <comment>Consulte un dictionnaire pour connaitre la bonne graphie de ce mot.</comment>
        </comment>
      </comments>
    </criterion>
    <criterion>
      <name>orthographegrammatical</name>
      <description>5. Orthographe grammaticale</description>
      <backgroundcolor>#9d174d</backgroundcolor>
      <sortorder>8</sortorder>
      <instruction_ai>Vérifie les accords dans le groupe nominal (GN), accords sujet-verbe, conjugaisons et terminaisons de verbes, confusions homophoniques.</instruction_ai>
      <comments>
        <comment>
          <comment>Homophones confondus.</comment>
        </comment>
        <comment>
          <comment>Accord dans le GN à revoir.</comment>
        </comment>
        <comment>
          <comment>Conjugaison, terminaison du verbe à revoir. </comment>
        </comment>
      </comments>
    </criterion>
  </criteria>
</root>
