Commit Graph

41 Commits

Author SHA1 Message Date
BethanyG
26635914c1 [Simple Linked List]: Updated Stub File (#3834)
* Reworked stub to clean up mutable default argument and missing special method.

* Added bethanyg as contributor.
2024-12-01 22:30:59 -08:00
Charles Ross
f214698e53 Remove extraneous periods (#3833) 2024-11-30 16:33:20 -08:00
Erik Schierboom
ca9bd6ffe7 Convert backtick (`) admonition fences to tildes (~) (#3509)
* Convert backtick (`) admonition fences to tildes (~).
* Updated Grains Test file to Fix CI
[no important files changed]
---------

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
2023-09-27 14:36:49 -07:00
BethanyG
dc28ef2224 [Problem Spec Sync] Practice Exercise Instruction Sync (#3507)
* Synced exercise insructions with problem specifications.
* Delete exercises/practice/raindrops/.articles/Progression Revised.md
   --> File added by mistake.  Still needs additions and revisions before committing.
2023-09-22 01:20:13 -07:00
BethanyG
108222bb60 [Simple Linked List]: Swapped out Paywalled Links & Tightened Text for Instruction Append (#3491)
* Swapped out paywalled links and tighened text and images.

* Further small link edits and widgets.
2023-08-22 12:21:33 -07:00
Erik Schierboom
b53d6ace70 Use assets.exercism.org subdomain (#3488)
As part of moving various parts of our image hosting behind a CDN, this commit updates the involved urls we automatically found in this repository.
2023-08-16 00:41:10 -07:00
Erik Schierboom
053e71e2e3 simple-linked-list: use AWS hosted images (#3475)
* simple-linked-list: use AWS hosted images
* Apply suggestions from code review

---------

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
2023-07-26 10:47:54 -07:00
Katrina Owen
c64b14e4c8 Sync simple-linked-list docs with problem-specifications
The simple-linked-list exercise has been overhauled as part of a project
to make practice exercises more consistent and friendly.

For more context, please see the discussion in the forum, as well as
the pull request that updated the exercise in the problem-specifications
repository:

- https://forum.exercism.org/t/new-project-making-practice-exercises-more-consistent-and-human-across-exercism/3943
2023-04-18 11:08:42 -07:00
Katrina Owen
5dacb7aba9 Reformat exercise config files
This runs the `bin/configlet fmt --update` command to
reformat the exercise configs.
2022-12-04 22:44:15 -08:00
Katrina Owen
5b2722ebf2 Sync docs with problem-specifications
Most of the docs changes recently have been formatting-related,
though in a few exercises there have also been improvements to
the descriptions in an attempt to make the exercises easier to
understand.
2022-11-19 09:40:16 -08:00
BethanyG
3fc84b4730 Moved hints from .meta to .docs to fix rendering on site. 2022-06-28 09:14:33 -07:00
BethanyG
54df8faab0 Change URL for Linked List Diagram (#3063) 2022-05-23 22:09:37 +01:00
BethanyG
62874a50ea Changed URL for Diagrams to Satisfy CORS (#3062)
URL change for the linked list diagrams.
2022-05-23 22:08:21 +01:00
BethanyG
9072c32aa3 [Simple Linked List]: Diagram URL in Hints File
Current URL points to a commit, and shows broken on the website.  This should correct that.
2022-05-23 13:19:11 -07:00
BethanyG
943ae4924f Correction to URL for SVG Diagrams
Current URL is broken, and is not showing on the website.
2022-05-23 13:18:59 -07:00
BethanyG
779a86ccc4 Updated diagram links. 2022-05-23 09:02:33 -07:00
BethanyG
9e2b60464a Updated image refrences pending image acceptance in v3-files. 2022-05-23 09:02:33 -07:00
BethanyG
f30fc1c519 Updated links to be fully qualified and not relative. 2022-05-23 09:02:33 -07:00
BethanyG
b0b2d024d0 Updated links to point to github and not internally. 2022-05-23 09:02:33 -07:00
BethanyG
a4bf3044b0 Updated append and hints file to include svg diarams of linked list and array based stacks.
Added array-stack.svg and linked-list-stack.svg files to .docs
Inserted linked-list-stack.svg and array-stack.svg into instructions append
Inserted linked-list-stack.svg into hints.md
2022-05-23 09:02:33 -07:00
BethanyG
3654172152 Adjusted ascii diagram for dynamic array stack again. 2022-05-23 09:02:33 -07:00
BethanyG
d9fa7a334d Adjusted ascii diagram for dynamic array stack. 2022-05-23 09:02:33 -07:00
BethanyG
74b58130d8 Added ascii diagram showing stack and insertion position in hints and instruction append. 2022-05-23 09:02:33 -07:00
BethanyG
9f97b1c582 Corrected capitalization error in hints file. 2022-05-23 09:02:33 -07:00
BethanyG
8b23e5d067 Corrected extra underline for italics. 2022-05-23 09:02:33 -07:00
BethanyG
8db17dea04 Corrected ADS --> ADT. 2022-05-23 09:02:33 -07:00
BethanyG
29764a43c2 Added instruction append and hints for simple linked list. 2022-05-23 09:02:33 -07:00
BethanyG
5c1faa027b Updated practice exericse config.json files.
Synced practice exercise config.json files to problem-specifications.
2022-02-09 20:08:58 -08:00
Job van der Wal
7ae5ab7971 Lint all practice exercises starting with 's' 2021-11-28 23:28:18 +01:00
BethanyG
0f797a81bb Added instructions append for error handling and updated exemplar and test file. 2021-11-09 05:12:35 -08:00
Erik Schierboom
de8bee5f6c Add authors and contributors to Practice Exercises
For each Practice Exercise, we've looked at the commit history of its files to see which commits touched that Practice Exercise.

Each commit that we could associate with a Practice Exercise was used to determine authorship/contributorship.

### Authors

1. Find the Git commit author of the oldest commit linked to that Practice Exercise
2. Find the GitHub username for the Git commit author of that commit
3. Add the GitHub username of the Git commit author to the `authors` key in the `.meta/config.json` file

### Contributors

1. Find the Git commit authors and any co-authors of all but the oldest commit linked to that Practice Exercise. If there is only one commit, there won't be any contributors.
1. Exclude the Git commit author and any co-authors of the oldest commit from the list of Git commit authors (an author is _not_ also a contributor)
2. Find the GitHub usernames for the Git commit authors and any co-authors of those commits
3. Add the GitHub usernames of the Git commit authors and any co-authors to the `contributor` key in the `.meta/config.json` file

We used the GitHub GraphQL API to find the username of a commit author or any co-authors. In some cases though, a username cannot be found for a commit (e.g. due to the user account no longer existing), in which case the commit was skipped.

## Renames

There are a small number of Practice Exercises that might have been renamed at some point. You can ask Git to "follow" a file over its renames using `git log --follow <file>`, which will also return commits made before renames. Unfortunately, Git does not store renames, it just stores the contents of the renamed files and tries to guess if a file was renamed by looking at its contents. This _can_ (and will) lead to false positives, where Git will think a file has been renamed whereas it hasn't. As we don't want to have incorrect authors/contributors for exercises, we're ignoring renames. The only exception to this are known exercise renames:

- `bracket-push` was renamed to `matching-brackets`
- `retree` was renamed to `satellite`
- `resistor-colors` was renamed to `resistor-color-duo`
- `kindergarden-garden` was renamed to `kindergarten-garden`

## Exclusions

There are some commits that we skipped over, and which thus didn't influence the authors/contributors list:

- Commits authored by `dependabot[bot]`, `dependabot-preview[bot]` or `github-actions[bot]`
- Bulk update PRs made by `ErikSchierboom` or `kytrinx` to update the track
2021-04-03 10:09:59 -07:00
Erik Schierboom
5b3ddf182d Sync file paths in .meta/config.json with track file path patterns 2021-03-24 08:42:31 -07:00
Erik Schierboom
d7e74d084a Add blurb to Practice Exercise .meta/config.json files
Each Practice Exercise will have to define a blurb, which is a short description of the exercise.
The blurb will be displayed on a track's exercises page (e.g. https://exercism.lol/tracks/csharp/exercises).

For Practice Exercises that are based on an exercise defined in the problem-specification repo, the blurb must match the contents of the problem-specifications exercises, which is defined in its `metadata.yml` file. In this commit, we'll do an initial syncing of the blurb. The new [configlet](https://github.com/exercism/configlet) version will add support for doing this syncing automatically.

If the Practice Exercise was _not_ based on a problems-specifications exercise, we've used the blurb from its `.meta/metadata.yml` file as the blurb in the .meta/config.json file.

See [the spec](https://github.com/exercism/docs/blob/main/anatomy/tracks/practice-exercises.md#file-metaconfigjson) for more information.
2021-03-14 16:34:56 -07:00
Erik Schierboom
b2dd7fb6cc [v3] Add level one headings to Markdown files.
All Markdown files should, from this point on, start with a level one heading.
See https://github.com/exercism/configlet/issues/150 for the rationale behind these changes.

The full specification can be found [here](https://github.com/exercism/docs/blob/main/contributing/standards/markdown.md).
2021-03-01 06:51:10 -08:00
Erik Schierboom
aa9e69aaee [v3] Sync source information from prob-specs
Source information for Practice Exercises will be stored in their `.meta/config.json` file, in the (optional) `source` and/or `source_url` properties.
This commit adds the source information from the corresponding problem-specifications exercise to the `.meta/config.json` file.

The new [configlet](https://github.com/exercism/configlet) version will add support for doing this syncing automatically.

Exercism v3 will automatically include the source information in the README.md file that is sent via the CLI using the source properties in the `.meta/config.json` file.

See [the spec](https://github.com/exercism/docs/blob/main/anatomy/tracks/practice-exercises.md) for more information.
2021-02-09 14:36:10 -08:00
Erik Schierboom
2354601709 [v3] Create instruction from prob-specs descriptions
Practice Exercises in Exercism v3 will be structured differently.
One such change is that there won't be a (generated) README.md file anymore.
This file will be replaced by `.docs/instructions.md` and optionally a `.docs/introduction.md` files.
These files are copies of the information defined for their corresponding problem-specifications exercise (if any).

The `.docs/instructions.md` file is a copy of the `instructions.md` file of the problem-specifications exercise, or if that does not exists, its `description.md` file.

The new [configlet](https://github.com/exercism/configlet) version will add support for doing this syncing automatically.

See [the spec](https://github.com/exercism/docs/blob/main/anatomy/tracks/practice-exercises.md) for more information.
2021-02-09 14:36:10 -08:00
Erik Schierboom
513d1bbb86 [v3] Remove README.md files
Practice Exercises in Exercism v3 will be structured differently.
One such change is that there won't be a (generated) README.md file anymore.
This file will be replaced by `.docs/instructions.md` and optionally a `.docs/introduction.md` files.
These files are copies of the information defined for their corresponding problem-specifications exercise (if any).

Exercism v3 will build the README.md file that is sent via the CLI from these files contents, along with some other files.
See [this document](https://github.com/exercism/docs/blob/main/anatomy/tracks/presentation.md) for more information.

See [the spec](https://github.com/exercism/docs/blob/main/anatomy/tracks/practice-exercises.md) for more information.
2021-02-09 14:36:10 -08:00
Erik Schierboom
dae99029cb [v3] Move .meta/hints.md to .docs/instructions.append.md
Practice Exercises in Exercism v3 will be structured differently.
One such change is that there won't be a (generated) README.md file anymore.
This file will be replaced by `.docs/instructions.md` and optionally a `.docs/introduction.md` files.
These files are copies of the information defined for their corresponding problem-specifications exercise (if any).

Exercism v3 will build the README.md file that is sent via the CLI from these files contents, along with some other files.
See [this document](https://github.com/exercism/docs/blob/main/anatomy/tracks/presentation.md) for more information.

To add track-specific contents to the instructions and/or introduction, exercises can define the (optional) `introduction.append.md` and `instructions.append.md` files.
If present, the contents of these files will automatically be append to their corresponding file when generating the README.md

See [the spec](https://github.com/exercism/docs/blob/main/anatomy/tracks/practice-exercises.md) for more information.
2021-02-09 14:36:10 -08:00
Erik Schierboom
f84fdc98f3 [v3] Create .meta/config.json files
Practice Exercises in Exercism v3 will have a `.meta/config.json` file that contains exercise-specific information like the names of the solution, test and example file(s).

The `.meta/config.json` file will also contain any source information as defined for the corresponding problem-specifications exercise (if any).

See [the spec](https://github.com/exercism/docs/blob/main/anatomy/tracks/practice-exercises.md) for more information.
2021-02-09 14:36:10 -08:00
Corey McCandless
d7e8e0c736 move practice exercise example solutions to .meta/ 2021-02-01 19:08:02 -08:00
Erik Schierboom
c5d9d9c0b3 [v3] Move existing exercises to exercises/practice 2021-01-29 11:14:36 -05:00