-
Ensure that someone else isn't already adding it by searching the forum and the repository's issues and pull requests.
-
If nobody is yet adding the exercise, open a conversation and indicate you'd like to add the exercise.
-
Examplar solutions must only use words taught in their
introduction.md, or taught by their transitive dependencies. This is enforced by the "Learning checks" workflow. -
Follow the Add a Practice Exercise docs, and use
bin/add-practice-exercise <exercise-slug>- Each
uuidis generated using
bin/configlet uuid- An exercise should include a
.meta/tests.tomlfile if, and only if, the exercise has acanonical-data.jsonin problem-specifications.
- Use
bin/verify-exercisesto check that an exercise's example/exemplar solution passes its tests:
bin/verify-exercises <exercise-slug> # omit the slug to verify every exercise- If
factoris not on yourPATH, point theFACTORenvironment variable at the executable, e.g.FACTOR=/path/to/factor bin/verify-exercises <exercise-slug>.
-
Ensure the bug was not already reported by searching the forum.
-
If you're unable to find an open conversation addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and (when possible) a code sample.
-
Ensure that the bug is reported. Only start fixing the bug when there is agreement on whether (and how) it should be fixed.
-
Fix the bug and submit a Pull Request to this repository.
-
Ensure the PR description clearly describes the problem and solution. Include a link to the bug's corresponding forum conversation.
-
Before submitting, please read the Contributors Pull Request Guide and Pull Request Guide.
-
Ensure that the feature or change is discussed on the forum. Only start adding the feature or change when there is agreement on whether (and how) it should be added or changed.
-
Add the feature or change and submit a Pull Request to this repository.
-
Ensure the PR description clearly describes the problem and solution. Include a link to the bug's corresponding forum conversation.
-
Before submitting, please read the Contributors Pull Request Guide and Pull Request Guide.