Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add quiz xAPI profile statements #270

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

quitterie-lcs
Copy link
Member

@quitterie-lcs quitterie-lcs commented Feb 9, 2023

Purpose

xAPI assessment profile is being developed in the frame of Gaia-X working group. The pydantic modelisation of this profile is implemented for the mandatory statement templates.
Problem_interactions events from EdX are converted to xAPI assessment profile templates.

Proposal

  • Add pydantic models for xAPI assessment templates
  • Add converter models
  • Add tests

@quitterie-lcs quitterie-lcs changed the title Add assessment xapi profile 🚧 Add assessment xapi profile Feb 9, 2023
@quitterie-lcs quitterie-lcs self-assigned this Feb 9, 2023
Copy link
Contributor

@wilbrdt wilbrdt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alt text

"session",
),
ConversionItem(
"context__contextActivites__definition__type", "context__referer"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the referer in the context field? I can't find it in the edX spec (or in our edX models), it seems to be in the BaseEdxModel alongside (and not inside) the context field.

None,
lambda event: event["event"]["success"] == "correct",
),
ConversionItem("result__score__max", "event__maxgrade"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ConversionItem("result__score__max", "event__maxgrade"),
ConversionItem("result__score__max", "event__max_grade"),

@quitterie-lcs quitterie-lcs changed the title 🚧 Add assessment xapi profile Add quiz xAPI profile statements May 24, 2023
xAPI quiz profile is being developed in the frame of Gaia-X working group.
The pydantic modelisation of this profile is implemented for the mandatory
statement templates.
EdX problem interaction statements can be converted into xAPI quiz
statements templates.
For now, only the converter for `problem_check` is implemented.
@quitterie-lcs quitterie-lcs added this to the 4.0 milestone Jun 20, 2023
@wilbrdt wilbrdt modified the milestones: 4.0, 5.0 Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants