Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annalyn's Infiltration - Task 4 - Instructions don't match tests #786

Merged
merged 6 commits into from
Aug 11, 2024

Conversation

sarad1p1ty
Copy link
Contributor

@sarad1p1ty sarad1p1ty commented Aug 8, 2024

As per #758:

  • Add a logic table (inputs and expected result) to exercises/concept/annalyns-infiltration/.meta/design.md to ensure proper wording of instructions for the future
    - [ ] Find wording that matches the logic of the tests
  • Change Instructions wording to explicitly state that if the dog is present it does not matter if the prisoner is asleep or awake.
  • Order tests to follow the sequence of instruction conditions (e.g. the first statement is "If Annalyn has her pet dog with her" -> first all tests "with dog" then all tests "without dog")
  • Ask in forum about wording and logic issues of the new version
  • Rename exercise title to Annalyn's Infiltration (apostrophe added)

Copy link

github-actions bot commented Aug 8, 2024

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!

@mk-mxp mk-mxp added x:action/improve Improve existing functionality/content x:knowledge/elementary Little Exercism knowledge required x:module/concept-exercise Work on Concept Exercises x:type/content Work on content (e.g. exercises, concepts) x:size/medium Medium amount of work x:rep/medium Medium amount of reputation labels Aug 9, 2024
@mk-mxp
Copy link
Contributor

mk-mxp commented Aug 9, 2024

I think you can't look into the CI details, there are some formatting issues reported:

> phpcs

FILE: ...p/php/exercises/concept/annalyns-infiltration/AnnalynsInfiltrationTest.php
--------------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 8 LINES
--------------------------------------------------------------------------------
 223 | ERROR | [x] Whitespace found at end of line
     |       |     (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)
 240 | ERROR | [x] Whitespace found at end of line
     |       |     (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)
 257 | ERROR | [x] Whitespace found at end of line
     |       |     (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)
 274 | ERROR | [x] Whitespace found at end of line
     |       |     (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)
 308 | ERROR | [x] Whitespace found at end of line
     |       |     (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)
 325 | ERROR | [x] Whitespace found at end of line
     |       |     (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)
 410 | ERROR | [x] Whitespace found at end of line
     |       |     (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)
 461 | ERROR | [x] Whitespace found at end of line
     |       |     (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine)

@mk-mxp mk-mxp self-requested a review August 9, 2024 10:18
Copy link
Contributor

@mk-mxp mk-mxp left a comment

Choose a reason for hiding this comment

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

Thanks for investing your time into this! Looking forward to merging soon.

config.json Outdated Show resolved Hide resolved
Copy link
Contributor

@mk-mxp mk-mxp left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution! There where no suggestions for wording changes in the forum, too.

@mk-mxp mk-mxp merged commit 2f5a386 into exercism:main Aug 11, 2024
12 checks passed
@sarad1p1ty sarad1p1ty deleted the annalyns-infiltration-instructions branch August 11, 2024 12:59
@sarad1p1ty
Copy link
Contributor Author

Thank you! :D
Is there anything else I can do?

@mk-mxp
Copy link
Contributor

mk-mxp commented Aug 11, 2024

@sarad1p1ty Did you look through the GitHub issues list? There is lots of things to do, with and without in-depth PHP / PHPUnit / Exercism knowledge. Synchronising exercises from the common problem specifications repository, adding missing exercises from that repository, adding concept exercises (adapted from other Exercism languages with similar concepts) aso. Pick something and I'll make an issue / forum thread with detailed instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:action/improve Improve existing functionality/content x:knowledge/elementary Little Exercism knowledge required x:module/concept-exercise Work on Concept Exercises x:rep/medium Medium amount of reputation x:size/medium Medium amount of work x:type/content Work on content (e.g. exercises, concepts)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants