-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sort exercises in track config #421
base: main
Are you sure you want to change the base?
Conversation
Doesn't it make sense to keep the difficulty values as they are and to sort by them? |
I think using prerequisites responsibly would convey that intent much clearer and take better advantage of how the website presents content. Do this easier string exercise before trying this other string exercise that might be harder. The site doesn’t make any claim that the display order is the recommended order so I don’t think we can do that here. Sorting by raw difficulty helps if there are clear differences between the levels. The differences between an easy and medium exercise are usually evident judging by the number of student attempts and solutions. The differences between difficulty 2 and 3 might be too small to be useful though. We also don’t know how the difficulty levels were originally assigned which would have been different people at different periods. |
But if you want to keep the difficulties as-is and then sort the exercises, that's fine by me. I just have a strong opinion. :) |
Didn't find the time to read and think about it yet, will respond the following days! Sorry for the delay. |
No rush. |
Perhaps consider upgrading the difficulty of a few exercises: 2 -> 4 - matching-brackets |
@BNAndras Isn't a syllabus necessary to make use of the prerequesites? @keiravillekode lgtm. In my experience the "easy" difficulty tends to include jumps in difficulty on some tracks bc the problem-specifications feature dead simple exercise and then still pretty basic exercises, but they certainly take more effort. Feels off to me sometimes. That's why I at least would like to try to order the exercises by ascending difficulty within the 3 broad difficulty categories. |
@BNAndras Can you please include the script that you are using to order the exercises in the |
Oh, boy. That's egg on my face. You're 100% correct on the prereqs. As far as the script goes, it's a jq snippet at https://forum.exercism.org/t/are-go-practice-exercises-ordered/4464/7. So yeah I can toss it in the bin folder. We can make a GHA that checks PRs to see if the exercises are ordered so that'll catch a new exercise being added in the wrong place. |
All good, I looked it up in the docs because I wasn't sure myself :)
Great idea! :) |
I normalized current difficulties to 2 (easy), 4 (medium), or 8 (hard) and then sorted the exercises by difficulty and name. That'll let students find exercises for each difficulty quicker.