Uploaded image for project: 'Samigo'
  1. Samigo
  2. SAM-2997

Add additional events to samigo xapi for scoring

    Details

    • 11 status:
      Resolved

      Description

      Samigo never sends result of a manually graded Test to xAPI Provider.
      Samigo uses the same method call for both auto-graded and manually graded assessments:

      lrss.registerStatement(getStatementForGradedAssessment(adata, lrss.getEventActor(event), publishedAssessment), "sakai.samigoā€¯);
      

      There are a few Listeners where this additional code could be implemented for scoring for the events sam.total.score.update and sam.student.score.update.

      I personally think this should be cleaned up so that this additional call isn't made and it's all done through the events api. There's currently 2 calls made just on a submission. But even these calls aren't very clear and probably could have a scoring event associated with them along with a submission event (since it will be auto scored)

      samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/delivery/SubmitToGradingActionListener.java
      147:                    lrss.registerStatement(getStatementForGradedAssessment(adata, lrss.getEventActor(event), publishedAssessment),
      
      samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/delivery/DeliveryActionListener.java
      591:		  lrss.registerStatement(getStatementForTakeAssessment(lrss.getEventActor(event), event, lrssMetaInfo.toString()), "samigo");
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  jonespm Matthew Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: