Skip to content

transpose: rename function to transposition#124

Merged
keiravillekode merged 1 commit intoexercism:mainfrom
keiravillekode:transposition
Mar 18, 2026
Merged

transpose: rename function to transposition#124
keiravillekode merged 1 commit intoexercism:mainfrom
keiravillekode:transposition

Conversation

@keiravillekode
Copy link
Contributor

Previously, a student could submit an empty file as the solution file and the tests would pass, as 'transpose' is a built-in function.

https://discord.com/channels/854117591135027261/1482397144580227232/1482397799319474310

@github-actions
Copy link
Contributor

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!

@keiravillekode
Copy link
Contributor Author

The reverse-string exercise has the same issue.

https://discord.com/channels/854117591135027261/1482397144580227232/1482642215745359986

We could rename that exercise function to reversal

Previously, a student could submit an empty file as the
solution file and the tests would pass, as 'transpose' is
a built-in function.

https://discord.com/channels/854117591135027261/1482397144580227232/1482397799319474310
@keiravillekode keiravillekode merged commit 2fc6b9a into exercism:main Mar 18, 2026
2 checks passed
@keiravillekode keiravillekode deleted the transposition branch March 18, 2026 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants