Skip to content

sort tests #282

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 2 commits into from
May 28, 2025
Merged

sort tests #282

merged 2 commits into from
May 28, 2025

Conversation

IsaacG
Copy link
Member

@IsaacG IsaacG commented May 27, 2025

  • Sync docs and metadata
  • Sort practice exercises by difficulty then slug.

@IsaacG IsaacG requested a review from glennj May 27, 2025 05:52
config.json Outdated
Comment on lines 176 to 202
"slug": "acronym",
"name": "Acronym",
"uuid": "22bacfc3-7df0-4f40-852f-a5ce44ba1ddf",
"practices": [],
"prerequisites": [],
"difficulty": 2
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change hello-world and two-fer to difficulty 1.

My policy of "only use 2/5/8" gets exposed here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated. The 1 vs 2 is sorta handy for sorting, I suppose?

```
jq '.exercises.practice = (.exercises.practice|sort_by(.difficulty, .slug))' config.json > t && mv t config.json
```
@glennj glennj merged commit eee494e into exercism:main May 28, 2025
2 checks passed
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