Open hoaivan opened 11 years ago
Hiện tại đang chạy như thế rồi mà.
Nhầm, assignment thì làm rồi. Nhưng Test thì chưa.
Trên server trả về có thêm một item: "test_result". Có cấu trúc:
array( sub_test_results=> array( array( sub_test_id=>"1", name=>"Sentent Structure", result_question_count=>5, result_correct_count=>4, result_score =>10, result_max_score =>100, result_level =>"Level A", result_text =>"You have passed this section.", result_note => "You need to improve your understanding of correct sentence structure, for example to be able to identify sentence fragments." )
),
test_result=> array(
element_id=>$elementId,
name=>"Unit 1 Exam",
result_question_count=>5,
result_correct_count=>4,
result_score =>80,
result_max_score =>100,
result_level =>"Level B",
result_text =>"Your overall score on the Writing Test is 20%",
result_note => "You need to improve your understanding of correct <strong>sentence structure</strong>, for example to be able to identify sentence fragments."
)
Vấn đề: Hiện tại nếu làm test hoặc assignment từ nhiều device thì sẽ làm lại được và kết quả hiển thị ko đồng bộ giữa các thiết bị.
Giải pháp: