@programisto/edrm-exams 0.2.10 → 0.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,7 +30,7 @@ const contextBuilder = {
30
30
  const instruction = question.instruction;
31
31
  const maxScore = question.maxScore;
32
32
  const questionType = question.questionType;
33
- const possibleResponses = question.possibleResponses.map((response, index) => `réponse ${index + 1} = ${response}`).join('\n');
33
+ const possibleResponses = question.possibleResponses.map((response, index) => `réponse ${index + 1} = "${response.possibleResponse}" (${response.valid ? 'correcte' : 'incorrecte'})`).join('\n');
34
34
  const context = {
35
35
  instruction,
36
36
  response,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@programisto/edrm-exams",
4
- "version": "0.2.10",
4
+ "version": "0.2.11",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },