Skip to content

Adjust difficulty #480

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

Merged
merged 3 commits into from
May 29, 2025
Merged

Conversation

keiravillekode
Copy link
Contributor

We change the difficulty of a few exercises

2 -> 1 - hello-world
2 -> 4 - matching-brackets
2 -> 4 - simple-cipher
5 -> 8 - zebra-puzzle

Discussed in #421

Exercises are sorted by (difficulty, slug) using

filter='.exercises.practice = (.exercises.practice | sort_by(.difficulty, .slug))'
jq "${filter}" config.json > config.sorted && mv config.sorted config.json

@keiravillekode
Copy link
Contributor Author

In a subsequent PR, we could make the sort part of bin/generate_practice_exercise
and refactor it to accept exercise difficulty on the command line, see
https://github.com/exercism/generic-track/blob/main/bin/add-practice-exercise

@keiravillekode keiravillekode merged commit 4c972d0 into exercism:main May 29, 2025
3 checks passed
@keiravillekode keiravillekode deleted the adjust-difficulty branch May 29, 2025 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants