lojban.io icon indicating copy to clipboard operation
lojban.io copied to clipboard

Incorrect exercise: [courseId=grammar-intro_eng][lessonNumber=3][exerciseId=2811]

Open yanqui-uxo opened this issue 4 years ago • 3 comments

Description

If possible, please provide a brief description of what is wrong with this exercise. Strange answer

Diagnostics information (do not remove)

  • Exercise identifier: [courseId=grammar-intro_eng][lessonNumber=3][exerciseId=2811]
  • Exercise payload: {"sentences":[{"text":"The listener is happy.","lojbanic":false}],"title":"Translate this sentence","type":"typing"}
  • Attempted solution: {"text":"lo se tavla ku gleki"}
  • Attempted solution was classified as correct: no
  • Validation payload: {"canonicalAnswer":"mi te dunda lo gerku ku","correct":false}

yanqui-uxo avatar Oct 21 '20 05:10 yanqui-uxo

I could not find that exercise. Was the diagnostics information edited?

emorchy avatar Oct 26 '20 21:10 emorchy

I did not, at least not intentionally, edit the diagnostics information. It's possible that the issue has already been dealt with.

yanqui-uxo avatar Oct 29 '20 21:10 yanqui-uxo

I know what happened there. Between @yanqui-uxo loading the page with the exercise and submitting answer, a deployment happend with changes precisely for that lesson (#77). This caused the id of exercises to change, and resulted in the nonsensical canonical answer.

I will fix this by displaying an error if exercise ids change between the page getting loaded and an answer being submitted.

jqueiroz avatar Nov 24 '20 03:11 jqueiroz