Commit Graph

4213 Commits

Author SHA1 Message Date
dependabot[bot]
d8b3979fa6 Bump actions/setup-python from 5.0.0 to 5.1.0 (#3661)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](0a5c615913...82c7e631bb)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-27 10:15:09 -07:00
Exercism Bot
5c3ff61a05 🤖 Sync org-wide files to upstream repo (#3662)
More info: 45ce43faa9
2024-03-27 10:14:34 -07:00
fefulowe
6c9fb4de60 [Black Jack]: ✏️ Updates to instructions. (#3660)
* ✏️ Update instructions.md

if we already have an ace, the upcoming ace's value should be 1
https://en.wikipedia.org/wiki/Blackjack?lang=en#Rules_of_play_at_casinos
[...] and aces count as either 1 or 11 according to the player's choice.

* ✏️ Update instructions.md

The instructions on the exercise [black_jack](https://exercism.org/tracks/python/exercises/black-jack) might be improved.
It could be better to refer to the value of the upcoming ace instead of the value of those in hand since this doesn't apply if we have two aces in hand.

Current instructions:
 `Hint: if we already have an ace in hand then its value would be 11.`

Proposed instructions:
 `Hint: if we already have an ace in hand, then the value for the upcoming ace would be 1.`

Sources: "[...] and aces count as either 1 or 11 according to the player's choice." from [Wikipedia](https://en.wikipedia.org/wiki/Blackjack?lang=en#Rules_of_play_at_casinos).

---------

Co-authored-by: Federico Ponce de Leon <fpleon@intrasoft.com.ar>
2024-03-23 13:13:13 -07:00
dependabot[bot]
07a3adf989 Bump actions/checkout from 4.1.1 to 4.1.2 (#3658)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](b4ffde65f4...9bb56186c3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 16:36:40 -07:00
BethanyG
d06f9f15d7 First draft of representations.md doc (#3570) 2024-03-06 11:25:06 -08:00
BethanyG
59c98a0359 [Circular Buffer Approaches]: Update introduction.md ln 41 (#3657)
Corrected the tense mismatch on line 41.  😄
2024-03-05 08:35:39 -08:00
BethanyG
efc33f46d2 Updated tests.toml and regenerated test cases for the Change exercise. (#3656)
New test case added. Retesting needed. See Prob-Specs PR#2385: https://github.com/exercism/problem-specifications/pull/2385
2024-03-05 07:14:34 -08:00
BethanyG
daae57bca6 Synced Two Bucket to Problem Specs. Instructions updated. (#3655) 2024-03-05 06:55:34 -08:00
colinleach
125a3f6903 [Circular Buffer] draft approaches (#3640)
* [Circular Buffer] draft approaches

* introduction - add guidance

* Links and Additions

Added `memoryview`, `buffer protocol`, `array.array` and supporting links for various things.

---------

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
2024-03-05 00:33:10 -08:00
BethanyG
8f5286fed6 [Mecha Munch Management]: Corrected Brackets in dict_methods_test.py (#3654)
[no important files changed]
Trivial, but it was bugging me.
2024-03-02 14:00:58 -08:00
izmirli
c224d7cb43 [Mecha Munch Management] Add test case for send_to_store of extra item on isle_mapping (#3653) 2024-03-02 13:30:11 -08:00
BethanyG
55a0ab4285 Superset subset and operator typo corrections. (#3651) 2024-02-29 10:28:31 -08:00
BethanyG
052ae68d18 [BlackJack]: Clarify Blackjack Hand Definition in instructions.md (#3650)
Per [forum discussion](http://forum.exercism.org/t/suggested-changes-to-python-learning-exercise-instructions/9896/11).
2024-02-29 08:12:16 -08:00
Exercism Bot
ddef41a1b4 🤖 Sync org-wide files to upstream repo (#3649)
More info: 0c0972d1df
2024-02-29 07:50:17 -08:00
BethanyG
412deec1d4 Updated reverse string tests from problem specifications. (#3648)
[no important files changed]
This test case (though new) is easily passed by the canonical/vast majority solution, so student solution re-testing is not needed at this time.
2024-02-28 07:53:57 -08:00
BethanyG
fd73808a2a [Anagram]: Updated Tests from problem-specifications (#3647)
* Updated anagram tests from problem specs.

* Removed accidental solution code from stub file.
2024-02-28 07:52:15 -08:00
BethanyG
aae2c8902d Synced docs and metadata to problem specificiations. (#3646) 2024-02-28 07:51:59 -08:00
BethanyG
e6be68abbb Update no-important-files-changed.yml (#3644)
fix for html access for [no important files changed]
2024-02-28 00:39:09 -08:00
BethanyG
8bf0fb2d1b Rename approaches to .approaches (#3643)
Renamed approaches directory to .approaches, so that the articles will show up on site.
2024-02-27 23:25:51 -08:00
BethanyG
b6dff02b48 Update config.json (#3642)
corrected author name to see if it changed rep awarded.
2024-02-27 23:12:31 -08:00
BethanyG
3187fb4e16 [Acronym] Add Approaches (#3357)
* First draft of acronym approaches.

* Performance directory.

* Added starter content to performance to clear CI check.

* Adding snippet placeholder for performance.

* Updated and edited approaches for acronym.  Modified snipetts and corrected links.

* Finished up approaches and added benchmarks

Finished up approaches and added benchmarks.
Deleted unneeded Jupyter notebooks.

* Update snippet.md

Removed genexp so file would be 8 lines.

* Update content.md

Fixed benchmark table and broken link in performance article.
2024-02-27 22:58:32 -08:00
BethanyG
f1a064be5a Update loops.py (#3636)
Correct ascending to descending in stub file.
2024-02-20 02:37:54 -08:00
BethanyG
0f8d02049d Update introduction.md (#3635)
Corrected Real Python link and line 21 reference to palette instead of palette_I.
2024-02-20 02:21:03 -08:00
Knute Snortum
5a4dc19878 Clarify that in Python there is a week descriptor called 'fifth' (#3630)
* Clarify that in Python there is a week descriptor called 'fifth'

* Update exercises/practice/meetup/.docs/instructions.append.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

---------

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
2024-02-12 09:59:39 -08:00
colinleach
7e3a633b18 [Sieve]: Draft approaches (#3626)
* [Sieve]: Draft approaches

* fixes various typos and random gibberish

* Update introduction.md

* Update exercises/practice/sieve/.approaches/comprehensions/content.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/sieve/.approaches/comprehensions/content.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/sieve/.approaches/comprehensions/content.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/sieve/.approaches/comprehensions/content.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/sieve/.approaches/nested-loops/content.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/sieve/.approaches/comprehensions/content.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/sieve/.approaches/comprehensions/snippet.txt

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/sieve/.approaches/introduction.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/sieve/.approaches/nested-loops/content.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/sieve/.approaches/nested-loops/snippet.txt

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/sieve/.approaches/comprehensions/content.md

Does this add a spurious extra space after the link?

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Removed graph from content.md

To save us forgetting it later.

* Delete timeit_bar_plot.svg

I didn't intend to commit this in the first place.

* removed space from content.md

* Update exercises/practice/sieve/.approaches/nested-loops/content.md

* Update exercises/practice/sieve/.approaches/nested-loops/content.md

* Update exercises/practice/sieve/.approaches/introduction.md

* Update exercises/practice/sieve/.approaches/introduction.md

* Update exercises/practice/sieve/.approaches/introduction.md

* Code Block Corrections

Somehow, the closing of the codeblocks got dropped.  Added them back in, along with final typo corrections.

---------

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
2024-02-11 21:32:46 -08:00
BethanyG
5dd5af161c Update README.md (#3629)
Add in missing 'in'.
2024-02-11 16:55:09 -08:00
BethanyG
63cbe2bbfc [Tuples]: Fix Bad Links in About.md (#3625)
Multiple links were pointed at the deprecated V3 repo instead of the Python docs.
2024-02-06 12:40:08 -08:00
Zak
67b37573e7 Fixed small typo in introduction.md (#3621)
* Update introduction.md

Fixed small typo in line 65 replaced : with =

* Update about.md

Replaced : with = in line 101

* Apply suggestions from code review

* Update concepts/tuples/about.md

---------

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
2024-02-06 11:49:03 -08:00
BethanyG
2e5051aab0 [Raindrops]: Update content.md Benchmark URL (#3624)
Updated `Benchmark.py` link to point at GitHub Repo rather than the website (_which returns a 404_)
2024-02-06 11:34:53 -08:00
Tomasz Gieorgijewski
51f379877c dict-and-join simplify for raindrops approaches (#3620)
* dict-and-join simplify

* Swapped dictionary approaches

Swapped the two dictionary approaches and adjusted `introduction.md`, `Benchmark.py`, `Performance`, and the approaches doc accordingly.

---------

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
2024-02-06 10:57:26 -08:00
Erik Schierboom
5c7eb1defb roman-numerals: sync (#3622)
* Sync the `roman-numerals` exercise's docs with the latest data.

* Sync the `roman-numerals` exercise's metadata with the latest data.
2024-02-06 10:49:58 -08:00
Ryan Hartlage
d22877f62b Fix misspelling of 'aisle' as 'isle' (#3619) 2024-02-04 09:16:34 -08:00
izmirli
9d7aba46b6 [Inventory Management] New test for decrement_items not in inventory (#3618)
[no important files changed]
2024-02-02 13:57:47 -08:00
Erik Schierboom
98e9bfeede pop-count: rename to eliuds-eggs (#3615)
* Rename the `pop-count` exercise to `eliuds-eggs`.

* Regenerated test file and renamed stub and test file.

* Changed exercise config file to match change in sub and test file naming.

* Corrected typo in exercise config for test file location.

---------

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
2024-02-02 10:34:26 -08:00
Exercism Bot
59a459abe8 🤖 Sync org-wide files to upstream repo (#3614)
More info: f72e90478c
2024-02-02 10:05:54 -08:00
BethanyG
cadb6120e0 Mark nucleotied-count as foregone. (#3617) 2024-02-02 10:05:24 -08:00
BethanyG
51f8c8dc2e Corrected spelling error. (#3616) 2024-02-02 09:31:42 -08:00
Exercism Bot
7eae72e8de 🤖 Sync org-wide files to upstream repo (#3613)
More info: bfc6fe525e
2024-02-01 06:11:20 -08:00
BethanyG
f3016b0ca9 Fixed some typos. (#3612) 2024-02-01 03:23:56 -08:00
BethanyG
24e9d6d5dc [Raindrops] Approaches and Performance Article (#3362)
* First commit of raindrops approaches.

* Placeholders and starts to content to make CI happier.

* Edited to conform to configlet line limit.

* One more line trimmed.

* Adding regenerated darts test file to stop CI complaint.

* Added approaches and benchmark article for Raindrops.

* Updated branch with current track config.json from main.

* Fixed config titles and directories.

* Shortened performance snippet to 8 lines.

* Added colin to the performance article.
2024-02-01 02:38:52 -08:00
colinleach
4e698334dc [Roman Numerals] Draft of Approaches (#3605)
* [Roman Numerals] early draft of approaches

* updated approach documents, many changes

* fixed typos and other glitches

* Update exercises/practice/roman-numerals/.approaches/introduction.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/roman-numerals/.approaches/introduction.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/roman-numerals/.approaches/introduction.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/roman-numerals/.approaches/introduction.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/roman-numerals/.approaches/introduction.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/roman-numerals/.approaches/introduction.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/roman-numerals/.approaches/recurse-match/content.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/roman-numerals/.approaches/introduction.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/roman-numerals/.approaches/recurse-match/content.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Update exercises/practice/roman-numerals/.approaches/recurse-match/content.md

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>

* Fixed TODO in `itertools-starmap`

* Update content.md

Found a mistake already

* Update content.md again

* Update exercises/practice/roman-numerals/.approaches/itertools-starmap/content.md

* Update exercises/practice/roman-numerals/.approaches/itertools-starmap/content.md

---------

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
2024-01-31 02:13:46 -08:00
Erik Schierboom
cbbfcfdbf0 Sync the raindrops exercise's docs with the latest data. (#3610) 2024-01-30 01:56:42 -08:00
BethanyG
af8053d8a7 [Raindrops]: Added Instruction Append for divmod(), math.fmod(), math.remainder(), % & operator.modulo (#3611)
* Added refences for divmod, fmod, remainder, modulo and operator.modulo

* Added comma on line 6 for clarity.
2024-01-30 01:56:01 -08:00
dependabot[bot]
7965a4f5b6 Bump juliangruber/read-file-action from 1.1.6 to 1.1.7 (#3607)
Bumps [juliangruber/read-file-action](https://github.com/juliangruber/read-file-action) from 1.1.6 to 1.1.7.
- [Release notes](https://github.com/juliangruber/read-file-action/releases)
- [Commits](02bbba9876...b549046feb)

---
updated-dependencies:
- dependency-name: juliangruber/read-file-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-26 22:30:55 -08:00
Tomasz Gieorgijewski
93278ea725 Update instructions.md (#3606)
A few instructions missed additional parameter in function declaration. Added.
2024-01-26 10:19:52 -08:00
Exercism Bot
70acb845ed 🤖 Sync org-wide files to upstream repo (#3604)
More info: 42a096591a
2024-01-25 06:09:26 -08:00
BethanyG
ac97b5e01e [Parallel Letter Frequency]: Mark as Foregone in Config.json and Remove Exercise Directory (#3603)
* Marked parallel-letter-frequency as foregone.

* Removed string-formattig prerequisites and set dict-methods live to students.

* Added parallel-letter-frequency back into depricated array.

* Removed parallel-letter-frequency exercise directory.
2024-01-24 13:28:14 -08:00
BethanyG
7fad60db57 [Python Docs]: Update Python Version in INSTALLATION.md (#3601)
Changed version from Python `3.11.2` to `3.11.5`
2024-01-22 14:55:52 -08:00
BethanyG
b157de1803 [Currency Exchange]: Update stub & exemplar with Module Docstring (#3600)
* [Currency Exchange]:  Update stub with Module Docstring

Sub file was missing a docstring and tripping a "missing module docstring" warning in the Analyzer.

* [Currency Exchange]: Update exemplar.py

Added same docstring to exemplar file that was added to the stub file.

* Update exchange.py removed numeric stack doc

* Update exemplar.py 

Removed numeric stack doc.

[no important files changed]
2024-01-22 12:19:33 -08:00
colinleach
6f1fa93416 [Pythagorean Triplet]: Approaches Draft (#3582)
* [Pythagorean Triplet]: Approaches Draft

* [Leap]: Add `isleap` approach and improved benchmarks

* Delete exercises/practice/leap/.articles/performance/timeit_bar_plot.svg

Sorry, I committed this to the wrong branch. Embarrassingly amateurish!

* Suggestions, Edits, etc.

Suggestions and edits.
Because we need to PR to a different repo, the `.svg` images have been removed, and the text adjusted.

---------

Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
2024-01-19 18:34:30 -08:00