Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the present system, Question Set consist of following entities :

...

Assessment User : Active seeker of Assessment in the platform.

...

Technical Design Details:

Step 1: Introduce new POST method for QuestionSet Hierarchy API.Enable QuestionSetToken in Question Set Hierarchy API (New API). Mark Question and QuestionSet as “evaluable“QuestionSet Hierarchy API : Objects as “evaluable“

QuestionSet Hierarchy API (POST) : A new API method to be introduced for QuestionSet Hierarchy of Exam Question Sets. This API will have payload as follows

Code Block
"request": {
  "contentID": "",
  "collectionID": "", 
  "userID": "",
  "attemptID": "" 
  }

A new attribute in QuestionSet to be introduced to have evaluated response on server. (“evaluable“). Every QuestionSet Hierarchy will attach “QuestionSetToken“ based on encrypted value of user-id, questionsetcontent-id, collection-id,attempt-id recieved as part of hierarchy payload. This token will further be used to validate the request during response processing on server.

Code Block
"questionSet": {
  "timeLimits": "{\"maxTime\":\"3600\"}",
  "questionSetToken": "", //#Question Set token to be generated at hierarchy read API with combination of "Question Set ID + userID"
  "evaluable": true //#true for Server Side Valuation Default:#false for client side validation
}

...

Code Block
"evaluable": true,
"responseDeclaration": {
          "response1": {
            "maxScore": 1,
            "cardinality": "single",
            "type": "integer",
            -- To be Trimmed off ----
            "correctResponse": {
              "value": "0",
              "outcomes": {
                "SCORE": 1
              }
            },
            -- To be Trimmed off --
            #Newly Introduced Attribute
            "responseKey": ["#Computed Encrypted Value of the correctResponse"]
          }
        },

There are multiple attributes which persists correct answer in QuML

a) responseDeclaration: (Shown above)

b) answer

c) editorState

Step 3: Validate only Evaluable Questions to be part of Evaluable Question Set

...