Skip to content

Syncing test.toml and updating the test code for largest-series-product #2647

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

Merged
merged 2 commits into from
Jun 6, 2025

Conversation

jagdish-15
Copy link
Member

Pull Request

This PR syncs tests.toml with the problem-specifications repository and verifies the presence of new tests in the test file.

Copy link
Contributor

github-actions bot commented Jun 5, 2025

Hello. Thanks for opening a PR on Exercism 🙂

We ask that all changes to Exercism are discussed on our Community Forum before being opened on GitHub. To enforce this, we automatically close all PRs that are submitted. That doesn't mean your PR is rejected but that we want the initial discussion about it to happen on our forum where a wide range of key contributors across the Exercism ecosystem can weigh in.

You can use this link to copy this into a new topic on the forum. If we decide the PR is appropriate, we'll reopen it and continue with it, so please don't delete your local branch.

If you're interested in learning more about this auto-responder, please read this blog post.


Note: If this PR has been pre-approved, please link back to this PR on the forum thread and a maintainer or staff member will reopen it.

@github-actions github-actions bot closed this Jun 5, 2025
Copy link
Contributor

github-actions bot commented Jun 5, 2025

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!

@jagdish-15
Copy link
Member Author

@SleeplessByte @Cool-Katt

Do you think it's worth changing the error comments, considering many existing solutions on the track might fail if we go ahead with this?

Lemme know so I can proceed with the proof solution!

@SleeplessByte SleeplessByte reopened this Jun 5, 2025
@SleeplessByte
Copy link
Member

@SleeplessByte @Cool-Katt

Do you think it's worth changing the error comments, considering many existing solutions on the track might fail if we go ahead with this?

Lemme know so I can proceed with the proof solution!

What does "changing the error comments" mean?

@jagdish-15
Copy link
Member Author

By error comment I was referring to the message inside new Error(). This sync only changes that message for two tests, so I’m wondering if it’s worth updating them, especially since all the old solutions fail now due to these new messages differing from the original ones.

@SleeplessByte
Copy link
Member

Yes, being in sync with spec removes bike shedding. Check out this message: #2647 (comment)

If we merge with that, no solutions will be retested.

@Cool-Katt
Copy link
Contributor

I feel that tagging this with [no important files changed] may be okay, to not rerun all the current solutions.

Other option would be to simply test it the function throws anything, which I don't think is okay, or to test if it throws an instance of some error class (that would have to be written because it currently doesn't exist)

@jagdish-15
Copy link
Member Author

jagdish-15 commented Jun 6, 2025

Tagging it makes more sense to me for now!

@Cool-Katt Cool-Katt merged commit 383306a into exercism:main Jun 6, 2025
6 checks passed
@SleeplessByte SleeplessByte added x:action/sync Sync content with its latest version x:module/practice-exercise Work on Practice Exercises x:type/content Work on content (e.g. exercises, concepts) labels Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:action/sync Sync content with its latest version x:module/practice-exercise Work on Practice Exercises x:type/content Work on content (e.g. exercises, concepts)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants