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.
Describe the bug
When checking the achievement badges for new users, I created a new profile, made some programs, earned badges. Then (to start again from scratch) I deleted the profile and made a new one with the same profile name. In the profile the programs were gone, as expected, but the badges were still there.
Add a screenshot (optional)
The profile with the badges
Then I deleted this profile
I created a new profile with the same username
There were no programs in the new profile, as expected
But all the badges were still there, not expected
What machine and browser you were using (optional)
If the issue concerns things in the website, let us know:
Describe the bug When checking the achievement badges for new users, I created a new profile, made some programs, earned badges. Then (to start again from scratch) I deleted the profile and made a new one with the same profile name. In the profile the programs were gone, as expected, but the badges were still there.
Add a screenshot (optional) The profile with the badges
Then I deleted this profile
I created a new profile with the same username
There were no programs in the new profile, as expected
But all the badges were still there, not expected
![Annelies_test2_still_badges](https://github.com/hedyorg/hedy/assets/66774020/ffe258c8-9b9b-49f2-9ef8-60de78d5db2d)
What machine and browser you were using (optional) If the issue concerns things in the website, let us know: