[FC-0047] - Requirements for the offline ORA xblock running

Table of Open Response Assignment actions.

  1. Peer Assessment Only

Action

Description

Screenshot

Action

Description

Screenshot

  1. Step one

Your Response

  1. Event: save_submission is sent. (draft saving)
    Request URL:
    http://local.edly.io:8000/courses/course-v1:f+f+f/xblock/block-v1:f+f+f+type@openassessment+block@ced1666113244c5a9686cb1c2640ca39/handler/save_submission
    Request Method: POST
    Payload: (Form Data)
    {"submission":["Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."]}
    Response: {"success": true, "msg": ""}

  2. Submit response:
    Event: submit is sent. (submission)
    Request URL:
    http://local.edly.io:8000/courses/course-v1:f+f+f/xblock/block-v1:f+f+f+type@openassessment+block@ced1666113244c5a9686cb1c2640ca39/handler/submit
    Request Method: POST
    Payload: (Form Data)

    {"submission":["Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."]}

    Response: [true, 3, 1]

  3. Event: render_submission is sent.

  4. Event: render_student_training is sent.

  5. Event: render_peer_assessment is sent.

  6. Event: render_message is sent.

  7. Event: render_staff_assessment is sent.

  8. Event: render_self_assessment is sent.

  9. Event: render_grade is sent.

  10. Event: render_leaderboard is sent.

For the events 3 - 10 server response has no data available.
XBlock handler url was the same:

http://local.edly.io:8000/courses/course-v1:f+f+f/xblock/block-v1:f+f+f+type@openassessment+block@ced1666113244c5a9686cb1c2640ca39/handler/<event>

 

 

Screenshot 2024-05-17 at 12.11.37.png
Draft saving and submission

 

  1. Step two

Assess Your Response

  1. Event: training_assess is sent. (draft saving)
    Request URL:
    http://local.edly.io:8000/courses/course-v1:f+f+f/xblock/block-v1:f+f+f+type@openassessment+block@ced1666113244c5a9686cb1c2640ca39/handler/training_assess
    Request Method: POST
    Payload: (Form Data)

    {"options_selected":{"Ideas":"Good","Content":"Poor"}}

    Response:

  2. Event: training_assess may be sent many times

  3. Event: render_student_training is sent.

  4. Event: render_peer_assessment is sent.

  5. Event: render_message is sent.

  6. Event: render_staff_assessment is sent.

  7. Event: render_self_assessment is sent.

  8. Event: render_grade is sent.

  9. Event: render_leaderboard is sent.

For the events 3 - 9 server response has no data available.
XBlock handler url was the same:

  1. Event: render_student_info is sent.
    Request URL:
    http://local.edly.io:8000/courses/course-v1:f+f+f/xblock/block-v1:f+f+f+type@openassessment+block@02054c091e074cb6a902294ae2df89bf/handler/render_student_info
    Request Method: POST
    Payload: (Form Data) student_username=test%40test.com
    Response: no available response data

  2. Staff or instructor activities:
    Event: staff_assess is sent.
    Request URL:
    http://local.edly.io:8000/courses/course-v1:f+f+f/xblock/block-v1:f+f+f+type@openassessment+block@02054c091e074cb6a902294ae2df89bf/handler/staff_assess
    Request Method: POST
    Payload: (Form Data) {"options_selected":{"Ideas":"Good","Content":"Good"},"criterion_feedback":{"Ideas":"it's ok"},"overall_feedback":"good job!","submission_uuid":"97394a57-6bcd-42e9-98fb-1a17e407a587","assess_type":"regrade"}
    Response: {"success": true, "msg": ""}

  3. Event: render_student_info runs again.

 

Screenshot 2024-05-17 at 12.51.10.png
Student answer

 

 

 

  1. Step three and four

Assess Peers and Staff Grade

  1. Event: test_3 (test_3 - student’s username)
    Request URL:

    http://local.edly.io:8000/api/user_tours/v1/test_3
    Request Method: POST
    Payload: (Form Data) {"show_courseware_tour":false}
    Response: no available response data

  2. Event: render_submission is sent.

  3. Event: render_student_training is sent.

  4. Event: render_peer_assessment is sent.

  5. Event: render_message is sent.

  6. Event: render_staff_assessment is sent.

  7. Event: render_self_assessment is sent.

  8. Event: render_grade is sent.

  9. Event: render_leaderboard is sent.

For the events 3 - 10 server response has no data available.
XBlock handler url was the same: