learningequality / ka-lite

KA Lite: lightweight web server for serving core Khan Academy content (videos and exercises) without needing internet connectivity
https://learningequality.org/ka-lite/
Other
458 stars 305 forks source link

Answer is not evaluted properly #5260

Open rifatbd opened 8 years ago

rifatbd commented 8 years ago

Summary

this exercise /learn/khan/math/basic-geo/basic-geo-shapes/basic-geo-classifying-shapes/quadrilateral_types/ is not evaluating the answer properly

System information

[INFO] [2016-08-18 15:37:59,991] django.request: HTTP Request / - Response: 302
[INFO] [2016-08-18 15:38:00,138] django.request: HTTP Request / - Response: 200
[INFO] [2016-08-18 15:38:00,243] django.request: HTTP Request /_generated/dynamic.css - Response: 200
[INFO] [2016-08-18 15:38:00,248] django.request: HTTP Request /_generated/dynamic.js - Response: 200
[INFO] [2016-08-18 15:38:00,686] django.request: HTTP Request /securesync/api/user/status/ - Response: 200
[WARNING] [2016-08-18 15:38:10,171] kalite: student09: had to END activity on a begin(1) @ 2016-08-18 15:38:10.156735
[INFO] [2016-08-18 15:38:10,987] django.request: HTTP Request /securesync/api/user/login/ - Response: 200
[INFO] [2016-08-18 15:38:11,164] django.request: HTTP Request / - Response: 200
[INFO] [2016-08-18 15:38:11,311] django.request: HTTP Request /_generated/dynamic.css - Response: 200
[INFO] [2016-08-18 15:38:11,315] django.request: HTTP Request /_generated/dynamic.js - Response: 200
[INFO] [2016-08-18 15:38:11,916] django.request: HTTP Request /securesync/api/user/status/ - Response: 200
[INFO] [2016-08-18 15:38:12,276] django.request: HTTP Request /api/content_recommender - Response: 200
[INFO] [2016-08-18 15:38:14,066] django.request: HTTP Request /learn/ - Response: 200
[INFO] [2016-08-18 15:38:14,263] django.request: HTTP Request /_generated/dynamic.css - Response: 200
[INFO] [2016-08-18 15:38:14,270] django.request: HTTP Request /_generated/dynamic.js - Response: 200
[INFO] [2016-08-18 15:38:14,873] django.request: HTTP Request /securesync/api/user/status/ - Response: 200
[INFO] [2016-08-18 15:38:14,881] django.request: HTTP Request /api/topic_tree/khan - Response: 200
[INFO] [2016-08-18 15:38:15,857] django.request: HTTP Request /api/topic_tree/khan - Response: 200
[INFO] [2016-08-18 15:38:16,720] django.request: HTTP Request /api/topic_tree/khan - Response: 200
[INFO] [2016-08-18 15:38:17,706] django.request: HTTP Request /api/topic_tree/khan - Response: 200
[INFO] [2016-08-18 15:38:18,938] django.request: HTTP Request /api/topic_tree/khan - Response: 200
[INFO] [2016-08-18 15:38:19,609] django.request: HTTP Request /api/topic_tree/khan - Response: 200
[INFO] [2016-08-18 15:38:21,108] django.request: HTTP Request /api/content_rating/ - Response: 200
[INFO] [2016-08-18 15:38:21,134] django.request: HTTP Request /api/content/khan/quadrilateral_types/ - Response: 200
[INFO] [2016-08-18 15:38:21,288] django.request: HTTP Request /api/exerciselog/ - Response: 200
[INFO] [2016-08-18 15:38:22,589] django.request: HTTP Request /api/attemptlog/ - Response: 200
[INFO] [2016-08-18 15:38:22,770] django.request: HTTP Request /api/assessment_item/x5abffeb82dbeb48d/ - Response: 200
[INFO] [2016-08-18 15:38:23,092] django.request: HTTP Request /images/throbber.gif - Response: 302
[INFO] [2016-08-18 15:38:28,317] django.request: HTTP Request /api/attemptlog/ - Response: 201
[INFO] [2016-08-18 15:38:28,413] django.request: HTTP Request /api/exerciselog/ - Response: 201
[INFO] [2016-08-18 15:38:28,459] django.request: HTTP Request /api/attemptlog/d424601a8b8a4e21ac91581cfd31d22a/ - Response: 200
[INFO] [2016-08-18 15:38:28,499] django.request: HTTP Request /api/exerciselog/e9e1be4e215d5dae9726809d49a1072a/ - Response: 200
[INFO] [2016-08-18 15:38:30,758] django.request: HTTP Request /api/attemptlog/d424601a8b8a4e21ac91581cfd31d22a/ - Response: 204
[INFO] [2016-08-18 15:38:33,399] django.request: HTTP Request /api/attemptlog/d424601a8b8a4e21ac91581cfd31d22a/ - Response: 204
[INFO] [2016-08-18 15:38:35,505] django.request: HTTP Request /api/attemptlog/d424601a8b8a4e21ac91581cfd31d22a/ - Response: 204
[INFO] [2016-08-18 15:41:42,360] django.request: HTTP Request /api/attemptlog/d424601a8b8a4e21ac91581cfd31d22a/ - Response: 204
[INFO] [2016-08-18 15:44:04,390] kalite: Running 1 due jobs... ("Secure Sync")
[INFO] [2016-08-18 15:48:45,402] django.request: HTTP Request /learn/khan/math/basic-geo/basic-geo-shapes/basic-geo-classifying-shapes/quadrilateral_types/ - Response: 200
[INFO] [2016-08-18 15:48:45,648] django.request: HTTP Request /_generated/dynamic.css - Response: 200
[INFO] [2016-08-18 15:48:45,652] django.request: HTTP Request /_generated/dynamic.js - Response: 200
[INFO] [2016-08-18 15:48:46,195] django.request: HTTP Request /securesync/api/user/status/ - Response: 200
[INFO] [2016-08-18 15:48:46,202] django.request: HTTP Request /api/topic_tree/khan - Response: 200
[INFO] [2016-08-18 15:48:46,341] django.request: HTTP Request /api/topic_tree/khan - Response: 200
[INFO] [2016-08-18 15:48:46,509] django.request: HTTP Request /api/topic_tree/khan - Response: 200
[INFO] [2016-08-18 15:48:46,599] django.request: HTTP Request /api/topic_tree/khan - Response: 200
[INFO] [2016-08-18 15:48:46,694] django.request: HTTP Request /api/topic_tree/khan - Response: 200
[INFO] [2016-08-18 15:48:46,830] django.request: HTTP Request /api/content_rating/ - Response: 200
[INFO] [2016-08-18 15:48:46,855] django.request: HTTP Request /api/content/khan/quadrilateral_types/ - Response: 200
[INFO] [2016-08-18 15:48:46,960] django.request: HTTP Request /api/exerciselog/ - Response: 200
[INFO] [2016-08-18 15:48:47,732] django.request: HTTP Request /api/attemptlog/ - Response: 200
[INFO] [2016-08-18 15:48:47,874] django.request: HTTP Request /api/assessment_item/x989622648421e6f5/ - Response: 200

How to reproduce

  1. Select bangla as default language
  2. go to /learn/khan/math/basic-geo/basic-geo-shapes/basic-geo-classifying-shapes/quadrilateral_types/
  3. try answering question that is like the one in this screenshot

    Screenshots

err2

Real-life consequences (anything community should be aware, for instance how it affects your deployment)

benjaoming commented 8 years ago

Thanks for a thorough report! We can investigate and get back. @radinamatic can you re-create this in English?

radinamatic commented 8 years ago

Tested with KA Lite 0.16.8 in English on Ubuntu 16.04, and unable to replicate as exercise appears to be evaluating correctly:

ubuntu16 ready running - oracle vm virtualbox_706

benjaoming commented 7 years ago

As there are no rendering problems with this issue, and it seems upstram KA.org has removed the question, I'm going to assume that the issue has solved itself.

If there is a similar issue, please verify it with the original Khan Academy online question first.

benjaoming commented 7 years ago

And thanks for reporting @rifatbd ! :)

rifatbd commented 7 years ago

I think these screenshot will help you understand better....

image

image Both of them are the same question. One on the website is functioning properly but on KAlite its not. Its not just one particular question, all similar question is not working KAlite My current deployment is KAlite v0.17 with latest contentpack on raspbian pixel.

benjaoming commented 7 years ago

Thanks for making the case @rifatbd !

*) online version of the question in question: https://bn.khanacademy.org/math/geometry-home/basic-geo/basic-geometry-shapes/basic-geo-quadrilaterals/e/quadrilateral_types

mrpau-eugene commented 7 years ago

Hi everyone, I am trying to replicate this issue using KA-Lite Version 0.17.1 but I can't seem to find the question or topic where this question is located.

screen shot 2017-05-10 at 10 13 58 am

I also tried to manually type the url of the question but it cannot be found.

Can anyone help me?

screen shot 2017-05-10 at 10 11 15 am

rifatbd commented 7 years ago

@mrpau-eugene you can find the english exercise here http://localhost:8008/learn/khan/math/geometry-home/quadrilaterals-and-polygons/geometry-quads/quadrilateral_types/

mrpau-eugene commented 7 years ago

@rifatbd do you have one for the Bangla language?

rifatbd commented 7 years ago

@mrpau-eugene here is the link for bangla exercise http://localhost:8008/learn/khan/math/basic-geo/basic-geometry-shapes/basic-geo-quadrilaterals/quadrilateral_types/

mrpau-eugene commented 7 years ago

I think it has something to do with the BN content pack. It seems like the JSON data in the database doesn't provide the correct answer for this question.