hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.32k stars 289 forks source link

When visiting a site from the middle of the quiz, an error occurs (for Lotus) #565

Closed Felienne closed 2 years ago

Felienne commented 3 years ago

When visiting a site from the middle of the quiz ( so if you haven't started it from the beginning) the session variable session['total_score'] gives a NoneType when it's addes with question['question_score'].

LterHaar commented 3 years ago

What's the expected behavior when you navigate from the middle?

Felienne commented 3 years ago

I would say you are redirected to the start of the quiz

On Monday, 26 July 2021, Fl0werth @.***> wrote:

What's the expected behavior when you navigate from the middle?

  • You can make the quiz, but the score starts from 0 from the position you started.
  • You can't make the quiz and get an error message. etc.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Felienne/hedy/issues/565#issuecomment-886628035, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHVBJNGARYPI324TVHJMIDTZVC2ZANCNFSM5ASBM7AQ .

Felienne commented 3 years ago

Hi @Fl0werth!

I am not sure this can already be closed, what is the status?

Felienne commented 2 years ago

I guess we can close this since we no longer use the URL to navigate between Q's in the quiz.