Closed esimonov closed 5 months ago
Thank you for contributing to exercism/elixir
💜 🎉. This is an automated PR comment 🤖 for the maintainers of this repository that helps with the PR review process. You can safely ignore it and wait for a maintainer to review your changes.
Based on the files changed in this PR, it would be good to pay attention to the following details when reviewing the PR:
General steps
x:size/{tiny,small,medium,large,massive}
)? (A medium reputation amount is awarded by default, see docs)Any exercise changed
<exercise>/.meta/config.json
(see docs)?<exercise>/.meta/design.md
) need to be updated to document new implementation decisions?Practice exercise changed
prerequisites
, practices
, and difficulty
in config.json
need to be updated?Practice exercise tests changed
<exercise>/.meta/tests.toml
need updating?Automated comment created by PR Commenter 🤖.
This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.
If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.
[no important files changed]
For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin
in a comment. Thank you!
Hi! Thank you for the PR, but I have to reject it. Let me explain.
All practice exercises on Exercism and their test data are defined in a shared central repository called problem specifications. That repository is very well reviewed, each change requires 3 approvals, and generally people taking care of this repository put in a lot of effort figuring out the best test data for any given exercise.
In this repository, I simply copy-and-paste the work done in the central repository with the test data, any only apply changes if there are Elixir-specific reasons to do so. I do not get involved in analyzing the logic behind the exercises because that would be just too much work for me. So I want to keep the test cases in this repo identical with the ones from the problem specifications repo.
To request a change to the test data of the yacht exercise, you would need to edit this file and get a PR approved in the problem specifications repo first. Then I would propagate it here.
The existing versions of "Full house two small, three big" and "Full house three small, two big" test cases share a similarity which may help pass them by chance. Namely, in both cases the group of two is comprised of the element which is a head of the list. This causes the following "solution" to be accepted:
The present PR makes a tiny change in the 3+2 test case that will require to also consider an alternative grouping:
Seems like there's nothing more to it: