# Skill Assessment tracking with LRS

Currently we are tracking **question answers** and **initiatives scores**.

* Every time a user goes through a questionnaire we are sending statements for each question he answers.<br>

  <figure><img src="/files/M1NRIBTEO0qOGFxwFtOi" alt=""><figcaption></figcaption></figure>

<details>

<summary>Click to see an example</summary>

```
{
  "stored": "2023-07-12T14:11:03.286Z",
  "active": true,
  "completedForwardingQueue": [],
  "failedForwardingLog": [],
  "client": "62ed2d33caa1070008fbe17d",
  "lrs_id": "62ed2d33caa1070008fbe17c",
  "completedQueues": [],
  "activities": [
    "https://proto.eduplex.eu/questionnaire/4/user/3/question/173/answer/758"
  ],
  "hash": "6a7f5bbcdc5e36eb680d47a8eb23d857b44015a5",
  "agents": [
    "https://proto.eduplex.eu|3"
  ],
  "statement": {
    "authority": {
      "objectType": "Agent",
      "name": "EduPLEx Client",
      "mbox": "mailto:adrian@courseticket.com"
    },
    "stored": "2023-07-12T14:11:03.286Z",
    "context": {
      "extensions": {
        "https://proto.eduplex.eu/xapi/extension/user_answers": {
          "user_id": 3,
          "manager_id": null,
          "questionnaire_id": 4,
          "question_id": 173,
          "question_text": "ihr Computer zeigt seltsame Störungen. Was hilft in vielen Fällen?",
          "answer_id": 758,
          "answer_text": "Ein Neustart des PCs.",
          "start_date": "2023-07-12 16:10:29"
        }
      }
    },
    "actor": {
      "account": {
        "homePage": "https://proto.eduplex.eu",
        "name": "3"
      },
      "objectType": "Agent"
    },
    "timestamp": "2023-07-12T14:11:03.286Z",
    "version": "1.0.0",
    "id": "7402ec62-65a2-4875-acb3-d538ef50911d",
    "verb": {
      "display": {
        "en-US": "answered"
      },
      "id": "http://adlnet.gov/expapi/verbs/answered"
    },
    "object": {
      "definition": {
        "type": "https://proto.eduplex.eu/xapi/object/types/user_answers"
      },
      "id": "https://proto.eduplex.eu/questionnaire/4/user/3/question/173/answer/758",
      "objectType": "Activity"
    }
  },
  "hasGeneratedId": true,
  "deadForwardingQueue": [],
  "voided": false,
  "verbs": [
    "http://adlnet.gov/expapi/verbs/answered"
  ],
  "processingQueues": [],
  "person": null,
  "timestamp": "2023-07-12T14:11:03.286Z",
  "relatedActivities": [
    "https://proto.eduplex.eu/questionnaire/4/user/3/question/173/answer/758"
  ],
  "relatedAgents": [
    "https://proto.eduplex.eu|3",
    "mailto:adrian@courseticket.com"
  ],
  "organisation": "62ed1d89858c0c0008338e5c",
  "_id": "64aeb4776d0a00001bf75e49",
  "registrations": [],
  "pendingForwardingQueue": []
}
```

</details>

* After the user completes the questionnaire we are sending one statement for each initiative with the score.

<figure><img src="/files/tTKvSNJ21IOtZEsGhMuG" alt=""><figcaption></figcaption></figure>

<details>

<summary>Click to see an example</summary>

```
{
  "stored": "2023-07-12T14:11:03.864Z",
  "active": true,
  "completedForwardingQueue": [],
  "failedForwardingLog": [],
  "client": "62ed2d33caa1070008fbe17d",
  "lrs_id": "62ed2d33caa1070008fbe17c",
  "completedQueues": [],
  "activities": [
    "https://proto.eduplex.eu/assessment/Erstellung digitaler Inhalte"
  ],
  "hash": "92256d68d28d0b6f16cbfacfd5be330002650703",
  "agents": [
    "https://proto.eduplex.eu|3"
  ],
  "statement": {
    "authority": {
      "objectType": "Agent",
      "name": "EduPLEx Client",
      "mbox": "mailto:adrian@courseticket.com"
    },
    "stored": "2023-07-12T14:11:03.864Z",
    "actor": {
      "account": {
        "homePage": "https://proto.eduplex.eu",
        "name": "3"
      },
      "objectType": "Agent"
    },
    "timestamp": "2023-07-12T14:11:03.864Z",
    "version": "1.0.0",
    "id": "ccc49562-e8b6-49af-a36e-c4eae89868d7",
    "result": {
      "score": {
        "raw": 56,
        "min": 0,
        "max": 100
      }
    },
    "verb": {
      "display": {
        "en-US": "scored"
      },
      "id": "http://adlnet.gov/expapi/verbs/scored"
    },
    "object": {
      "definition": {
        "type": "http://adlnet.gov/expapi/activities/assessment",
        "name": {
          "en-US": "Erstellung digitaler Inhalte"
        }
      },
      "id": "https://proto.eduplex.eu/assessment/Erstellung digitaler Inhalte",
      "objectType": "Activity"
    }
  },
  "hasGeneratedId": true,
  "deadForwardingQueue": [],
  "voided": false,
  "verbs": [
    "http://adlnet.gov/expapi/verbs/scored"
  ],
  "processingQueues": [],
  "person": null,
  "timestamp": "2023-07-12T14:11:03.864Z",
  "relatedActivities": [
    "https://proto.eduplex.eu/assessment/Erstellung digitaler Inhalte"
  ],
  "relatedAgents": [
    "https://proto.eduplex.eu|3",
    "mailto:adrian@courseticket.com"
  ],
  "organisation": "62ed1d89858c0c0008338e5c",
  "_id": "64aeb4776d0a00001bf75e4a",
  "registrations": [],
  "pendingForwardingQueue": []
}
```

</details>

We are also displaying a list of results after the user completes the questionnaire:

<figure><img src="/files/WsaRjBk3UTWByEXJUkkd" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.eduplex.eu/skill-assessment-tool/technical-documentation/skill-assessment-tracking-with-lrs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
