Skip to content
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

Add tooling for concept exercises #2039

Open
3 tasks
ellnix opened this issue Feb 23, 2025 · 3 comments
Open
3 tasks

Add tooling for concept exercises #2039

ellnix opened this issue Feb 23, 2025 · 3 comments

Comments

@ellnix
Copy link
Contributor

ellnix commented Feb 23, 2025

Currently I have a couple things in mind:

  • a generate command for creating concept exercises
  • make the update command work with concept exercises (currently generate_exercise_files looks inside of exercises/practice)
  • any helpful lints or checks I think of that configlet doesn't do (nothing specific so far)

Thought I'd open this issue first instead of just submitting a cold PR.

@senekor
Copy link
Contributor

senekor commented Feb 23, 2025

I think there are no "problem-specifications" for concept exercises, so an update command probably doesn't make sense.

@ellnix
Copy link
Contributor Author

ellnix commented Feb 23, 2025

That's a really good point, they just happen to mostly be the same exercises as in problem-specifications, but we will have to maintain the tests ourselves.

@senekor
Copy link
Contributor

senekor commented Feb 23, 2025

Yeah. If there is a similar exercise in problem-specifications, the test cases there may serve as inspiration. But concept exercises are split in tasks and the tests need to map to these tasks. So it's not the same thing.

Btw I saw there's a a configlet command to add a concept exercise, not sure how much of the heavy lifting that already does.

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

No branches or pull requests

2 participants