exercism:main
← exercism:Add-new-exercises
opened 12:30AM - 16 Apr 24 UTC
Add exercises:
* space-age
* dnd-character
* yacht
and also modifie… s implementation of some existing exercises
Add exercises:
space-age
dnd-character
yacht
About the error cases, I think I found a good middle-ground solution. For the currently implemented exercises that deal with error cases, I am making the tests pass if the solution returns empty
or the proper error for the exercise. Later, I try to fit the information about the error return could fit at the intructions as an extra option.
This week, I intend to meet the 20-exercise cap and then take a deeper look at the documentation. I’ll probably add some snippet examples to the instructions for exercises with multiple inputs too.
3 Likes
Reviewed. Just one tiny nit.
Reviewed. Just one tiny nit.
Sorry, I just accepted the changes
1 Like
exercism:main
← exercism:Add-new-exercises
opened 12:52PM - 19 Apr 24 UTC
Adds the exercersises:
- handshake,
- anagram,
- matching-brackets, and…
- pig-latin
Adds the exercises:
handshake,
anagram,
matching-brackets, and
pig-latin
with those we meet the 20-exercise cap.
*At the weekend i will review the docs as said earlier this week.
1 Like
exercism:main
← exercism:Add-new-exercises
opened 10:03AM - 23 Apr 24 UTC
Add instructions.append.md in some tracks
Update docs
Minor correction on exer… cises
Add instructions.append.md in some tracks
Update docs
Minor correction on exercises
@ErikSchierboom
Can you check if those files LICENSE
and Makefile
are correct?
later today i will make a post (similiar to that one by @axtens : Euphoria track pre launch ) to gather external feedback from the community.
Where do I see those in the PR?
I did not change them now. I just want to know if there is something to do with before lauch.
The LICENSE is the right one. As for the Makefile, I don’t know if it is used
1 Like
exercism:main
← exercism:Correct-exercises-for-empty-results
opened 12:36PM - 25 Apr 24 UTC
- Add files to the github action for testing
- Correct tests behaviour when an … atom is expected and the solution returns `empty`
OBS.:
When the ecpected value of a test is an atom and the soultion produces `empty` comparisons done using the `=` verb will produce an empty shape. This causes assertions to always return true for the specified test.
To address this issue, we have implemented the following solutions:
1. Replacing the Comparison Verb with -:: Instead of using =, we now use -: to compare atoms against empty results. This ensures that the assertion behaves as expected even when the result is empty.
1. Turning the Expected Value into a List Containing a Single Atom: In cases where the expected value is an atom, we wrap it in a list. This prevents the assertion from always evaluating to true when the solution returns an empty result.
The choice of which solution to apply was made on a case-by-case basis, considering the specific context of the exercise.
Add files to the github action for testing
Correct tests behaviour when an atom is expected and the solution returns empty
@ErikSchierboom
I could not make the github action for test works properly, Could you please review it and see if I’ve made any mistakes?
Other than that, nice work! I’ve approved
1 Like
exercism:main
← exercism:prepare-for-launch
opened 04:34PM - 25 Apr 24 UTC
Add shared/.docs
Include `key_features` tag to config.json
Remove unused file
I believe that with this PR i completed all steps listed here necessary for lauch.
If there is something else, let me know.
I’ve made this post to try get other reviews about.
1 Like
exercism:main
← exercism:Add-Exercises
opened 07:07PM - 03 Jun 24 UTC
Added exercises:
- grade-school
- eliuds-eggs
- run-length-encoding
- armstr… ong-number
- diamond
- largest-series-product
- sieve
- food-chain
In this PR, I’ve get to 40 implemented exercises from the 48in24 event.
I believe the track is ready to go live on the site. @ErikSchierboom @iHiD , do you have any feedback or is there anything that should be addressed before the launch?
1 Like
I’ve done a deep dive and it definitely looks ready! There’s a couple of things you might want to check off before launching:
No code run for passing tests
When a test fails, I get the code run part (which is really nice!)
When a test passes though, I get this:
I assume this is the message
field being populated? If so, that field is one really used for error messages. Could you also show the code run bit for passing tests?
Update the average run time of the test runner
The track’s config.json
has this section:
"test_runner": {
"average_run_time": 20
}
However, the test runner is incredibly fast and seems to finish almost instantaneously. Maybe set this value to 2
?
Add warning for jconsole conflict
The installation page (https://exercism.org/docs/tracks/j/installation ) could maybe add a section how jconsole
could potentially conflict with the Java Console, which uses the same name. This might be confusing to students. I would suggest to put this in an exercism/caution
block (see Markdown Specification | Exercism's Docs ).
Running tests from console
Is there a way to run the tests from the command-line without start a jconsole? If so, you probably want to document this in the docs/TESTS.md
and exercises/shared/.docs/tests.md
files. Additionally, you’d want to add support for J in the exercism CLI: cli/workspace/test_configurations.go at 753a4eb927d8602c785d09a82068237762f66f76 · exercism/cli · GitHub
Configure lines of code counter
See Lines of Code Counter | Exercism's Docs
As J
is not yet supported by the tokei
tool which
we use to count lines, you’d need to add an entry for J to our fork: tokei/languages.json at master · exercism/tokei · GitHub
Configure snippet extractor
See Snippet Extractor | Exercism's Docs
Tweak docs/ABOUT.md
The about document starts with “J is a strange language”. I feel like as a student, this might not entice me to join the track Maybe this should be something like “J is an unusual language” or something like that?
1 Like
exercism:main
← eNascimento178:Version3
opened 01:04AM - 07 Jun 24 UTC
From the forum post:
- "I assume this is the `message` field being populated? I… f so, that field is one really used for error messages. Could you also show the code run bit for passing tests?"
This PR solves point 01. I’ll work on the others tomorrow.
One tiny comment on that PR.
All points are done and merged!
exercism:main
← exercism:test-generator
opened 05:20PM - 14 Jun 24 UTC
Currently the test generator will format all tests as verbs where:
- single inp… ut will become a monad
- two input values produces a dyad where the first json argument is the right argument of the verb
- any other situation become a monad with a list of boxes
Currently the test generator will format all tests as verbs where:
single input will become a monad
two input values produces a dyad where the first json argument is the right argument of the verb
any other situation become a monad with a list of boxes