Skip to content

Add resistor-color-tolerance exercise - #394

Merged
keiravillekode merged 1 commit into
exercism:mainfrom
keiravillekode:tolerance
Nov 18, 2026
Merged

keiravillekode merged 1 commit into
exercism:mainfrom
keiravillekode:tolerance

Conversation

@keiravillekode

@keiravillekode keiravillekode commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

@we adjust difficulties so that the resistor exercises stay together.

We adjust difficulties so that the
resistor exercises stay together.
@github-actions

Copy link
Copy Markdown
Contributor

Hello 👋 Thanks for your PR.

This repo does not currently have dedicated maintainers. Our cross-track maintainers team will attempt to review and merge your PR, but it will likely take longer for your PR to be reviewed.

If you enjoy contributing to Exercism and have a track-record of doing so successfully, you might like to become an Exercism maintainer for this track.

Please feel free to ask any questions, or chat to us about anything to do with this PR or the reviewing process on the Exercism forum.

(cc @exercism/cross-track-maintainers)

@keiravillekode

Copy link
Copy Markdown
Contributor Author

On the Sather track I changed the display name to "Resistor Color Ultimate" so students see the exercises alphabetically.

@@ -0,0 +1,53 @@
[
{
"description": "Orange, orange, red and gold",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do these additional tests cover something that is missing from the canonical tests?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

None of the canonical tests use gold or silver tolerance. The hobby electronics resistors I used in past decades were always gold (5%).

None of the canonical tests use blue, violet, grey or white multipliers. None of the resistor-color-trio canonical tests use green, violet or grey multipliers. The canonical resistor-color-trio tests intentionally avoided choosing between "7.3 kiloohms" and "7300 ohms" for example. See problem-specifications PR 2162. With resistor-color-tolerance the canonical tests now specify "7.3 kiloohms" so now we are free to test more multipliers.

@keiravillekode keiravillekode added the ready-to-translate The English in this PR is final; queue its translations label Nov 18, 2026
exercism-i18n Bot added a commit to exercism/i18n that referenced this pull request Nov 18, 2026
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@exercism-i18n

exercism-i18n Bot commented Nov 18, 2026

Copy link
Copy Markdown

This PR has been translated 🚀

@keiravillekode
keiravillekode merged commit d567fed into exercism:main Nov 18, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-translate The English in this PR is final; queue its translations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants