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

Grade school for Racket #363

Merged
merged 2 commits into from
Mar 18, 2024
Merged

Conversation

blakelewis
Copy link
Contributor

This exercise is kind of a mess. The instructions are vague and I see a lot of variabilty among the different implementations. The canonical data indicates that the roster should throw away the grade levels, but following the example of C++, I have retained them in hash->list format. One of the tests seems flat wrong, and I noticed that other languages skipped it, but I have fixed it to match what seems to be its intent.

This exercise is kind of a mess.  The instructions are vague and I see
a lot of variabilty among the different implementations. The canonical
data indicates that the roster should throw away the grade levels, but
following the example of C++, I have retained them in hash->list format.
One of the tests seems flat wrong, and I noticed that other languages
skipped it, but I have fixed it to match what seems to be its intent.
@BNAndras
Copy link
Member

I'll take a look this weekend. I recall porting it once before, and yeah it was all over the place.

@BNAndras BNAndras added x:module/practice-exercise Work on Practice Exercises x:rep/large Large amount of reputation labels Mar 13, 2024
Copy link
Member

@BNAndras BNAndras left a comment

Choose a reason for hiding this comment

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

A few deprecated tests snuck in so we should remove those if they're marked as not included in the tests.toml file.

exercises/practice/grade-school/grade-school-test.rkt Outdated Show resolved Hide resolved
exercises/practice/grade-school/grade-school-test.rkt Outdated Show resolved Hide resolved
exercises/practice/grade-school/grade-school-test.rkt Outdated Show resolved Hide resolved
I inadvertently implemented three tests that are marked reimplemented.
The tests.toml file shows that two tests reimplement the same one (is
that allowed?)

a0c7b9b8-0e89-47f8-8b4a-c50f885e79d1 => c125dab7-2a53-492f-a99a-56ad511940d8
6a03b61e-1211-4783-a3cc-fc7f773fba3f => c125dab7-2a53-492f-a99a-56ad511940d8

and each of these is reimplemented in turn:

d7982c4f-1602-49f6-a651-620f2614243a => a0c7b9b8-0e89-47f8-8b4a-c50f885e79d1
c7ec1c5e-9ab7-4d3b-be5c-29f2f7a237c5 => 6a03b61e-1211-4783-a3cc-fc7f773fba3f

Thanks to Andras for checking my work.
@BNAndras BNAndras merged commit d1f4b05 into exercism:main Mar 18, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:module/practice-exercise Work on Practice Exercises x:rep/large Large amount of reputation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants