XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

Exercism - Latest topics

Latest topics

[C#] Issues with Properties concept docs and Weighing Machine exercise docs

Many of the concept docs on the C# track seem to be lacking commas in places, but the Properties concept in particular is very hard to read without them, especially these two paragraphs: When setting a property the input value can be validated, formatted or otherwise manipulated and in fact any programmatic operation accessible to code in the class can be executed. Similarly when retrieving a property data can be calculated or formatted and again any programmatic operation available to the…

Add Dependabot configuration

github.com/exercism/scala-test-runner Add Dependabot configuration exercism:main ← exercism:add-dependabot opened 11:36AM - 09 Nov 26 UTC rabestro +49 -0 Closes #73 Adds `.github/dependabot.yml` with three monthly update streams: - …**`sbt`** — `project/Dependencies.scala` (ScalaTest, ScalaCheck, Monocle, scala-parser-combinators, org.json), `project/plugins.sbt` and `project/build.properties`. - sbt major bumps are ignored (1.x → 2.x is a manual migration); - Scala 3 minor/major bumps are…

Add the relative-distance exercise

github.com/exercism/scala Add the relative-distance exercise exercism:main ← exercism:add-relative-distance opened 09:17PM - 08 Nov 26 UTC rabestro +385 -0 Adds [Relative Distance](https://github.com/exercism/problem-specifications/tree…/main/exercises/relative-distance), which the Java track already has. The API follows the Java track: the family tree goes to the constructor and the query is a method. ```scala class RelativeDistance(familyTree: Map[String, List[String]]): def…

“guide to solving exercises locally” link is empty in the Start in editor dropdown

There is supposed to be a link to the docs but it’s not there: Though the HTML source has it: I think the cause sits somewhere in the translation string. To reproduce Go to Hello World in Python on Exercism Click the arrow next to Start in editor Observe that the guide text isn’t a link to the docs 2 posts - 2 participants Read full topic

New test case (half-siblings) for Relative Distance

Currently, Relative Distance mentions that children can have one or two parents, but the test cases do not reflect the implications of this rule for the code. I tried creating an issue on GitHub but it was closed automatically. How can I add the new test case? A solution that currently passes all tests, but shouldn’t A Java solution that only looks at a single branch of ancestors and therefore misses connections: import java.util.ArrayList; import java.util.List; import java.util.Map; import…

Calculator Conundrum Test Case Failure

Hi all, I have written the following code for the java exercise “Calculator Conundrum”: class CalculatorConundrum { public String calculate(int operand1, int operand2, String operation) { try { if (operation == "+") { return Integer.toString(operand1) + " + " + Integer.toString(operand2) + " = " + Integer.toString(operand1 + operand2); } else if (operation == "*") { return Integer.toString(operand1) + " * " + Integer.toString(operand2) + " = " + Integer.toString(operand1 * operand2); } else if…

New concept Class has a typo: it should be "without a body"

Kotlin allows WITHOUT a body instead of with a body github.com exercism/kotlin/blob/main/concepts/classes/about.md#constructors # About Classes can be used in Kotlin to encapsulate data and behavior. A class is declared using the `class` keyword. For example: ```kotlin class Car ``` Make an instance of the class by calling it. ```kotlin val instance = Car() ``` ## Properties In the above examples, the `Car` class was declared without any properties. Class properties can be declared in the body,…

poker: the example solution picks the wrong winner for high-card and flush hands

Hello. While testing exam tests for an AI coding benchmark, we found that the poker example solution in the JavaScript track (exercises/practice/poker/.meta/proof.ci.js, as on main today) returns the wrong winner in some high-card and flush comparisons, and the current test file (37 tests) passes it. In compareHandValues, the FLUSH / HIGH_CARD case starts with: if (handValue1.card1 < handValue2.card1) return 2; if (handValue1.card2 > handValue2.card2) return 1; There is no if (handValue1.card1…

Xorcism tests gap

I think that Xorcism is one of the best exercises in the Rust track and I really enjoyed doing it. However, when I asked an LLM to review my solution after all the tests had passed, it found a pretty important bug in my Write implementation: I was not handling partial writes correctly, i.e. the case when the downstream writer does not write the whole buffer. I think it would be nice to have a test case for that. I can contribute it. 3 posts - 2 participants Read full topic

C++ Learning mode suggestion: signness

Concept Arrays and Vectors in C++ on Exercism introduces size member function, which return type is size_t (a.k.a. unsigned long) This causes simple loop structure, such as for (int count{0}; count < layers.size(); ++count) causes different signness compare warning, and then promote warning into error. No learning concept introduces what size_t or unsigned is, making new learners confused why they got error. My suggestion is either suppress signness compare warning, or intruduce concept…

Track status and next steps

We have roughly 50% of the exercises from the problem spec implemented. Unless there are specific exercise requests, I’ll probably not implement (m)any more exercises here. I think the test runner is in a decent state. It could be more polished, but it seems to be in decent state. I’m hoping to add custom messages for failed tests. The return [a, b] pattern is a bit messy. Changing that out for something more involved using, say, an assert classes/helpers would be nice, but isn’t high on my…

[C++] Help with the "Robot Name" exercise

Hi, I have written the code to successfully pass four out of five tests for the “Robot Name” exercise, but I can’t seem to get through the last test. This fifth test is supposed to make sure that even if we have 1000 robots, each of their names will be different. And that’s not the case in my case. Here is the content of my robot_name.h: #pragma once #include <string> #include <vector> namespace robot_name { class robot { public: std::string name() const { return m_name; } void reset() {…

Objective-C "grade school" exercise has fallen behind the problem specification

There are far fewer tests in the exercise than are described in the problem specification, and an important one has been omitted. I ran into two problems, but there are probably more: The problem specification for the grade-school test says, “If a test attempts to add the same student more than once, your implementation should indicate that this is incorrect.” There’s no test to validate this and the solutions I checked do not meet this specification. The problem specification also says,…

Changing exercises to use generics

Several exercises focus on data structures. Some assume the data is int (binary search tree, simple linked list) while others ask you to store any (double linked list). To modernize the track, I am considering updating some (all?) of those exercises to use a generic T comparable. This would invalidate all prior solutions. Any thoughts on this? 7 posts - 5 participants Read full topic

Adding test generator templates

Borrowing Isaac’s Jinja2 test generator setup from the Scheme track, I’m going through the CoffeeScript exercises and adding templates so we can easily regenerate the test suites. I should have done this a looong time ago. If anyone’s interested in claiming an exercise to draft a template for, there’s a collapsed list here you can open: Test Generator Templates Drafted (click for more details) 2 posts - 1 participant Read full topic

Add tests to pig-latin exercise

Hello everyone! I am mentoring the F# track and regretfully have to say that students come with wrong solutions for pig-latin exercise due to the incomplete tests. The tests I want to add are the following phrases: "quick afternoon run" " extraneous space " If you agree, I will prepare the pull requests to the problem-specifications repo and to the tracks. 51 posts - 6 participants Read full topic

[C#] Issues with Randomness concept and "Roll the Die!" exercise instructions

In the “Roll the Die!” exercise, line 3 of the instructions says “Continuing the theme of the wizards and warriors game,” even though the "Wizards and Warriors exercise is not a prerequisite to unlocking the exercise (in fact, it is tied to the Inheritance concept which is much farther down the concept tree). Line 19 of the instructions also says “Note that spell strength must be a real number (not an integer)”, even though these kinds of numbers were always referred to as floating-point…

Test Generator for the C track

The tests on the C track are somewhat stale and would benefit from an update. They would benefit even more from a test generator to help keep them current. Ideally a C test generator would be written in C. But I don’t write C and no one wrote a generator for the track yet. In the meanwhile, the Python/Jinja test generator I wrote is now being used across ~10 tracks. I could add that generator to the C track and bootstrap a bunch of exercise templates. Thoughts from C maintainers on reusing a…

Add a test to the Perfect Numbers exercise

The “Perfect Numbers” exercise in the C track lacks a test titled “Perfect square abundant number is classified correctly” in the canonical data of the exercise. Because the calculation of the aliquot sum requires a special treatment for perfect squares in a certain approach, it is important to have this test included. Here is a sample modified test code. #include "test-framework/unity.h" #include "perfect_numbers.h" void setUp(void) { } void tearDown(void) { } static void…

CLI downloads blocked by Cloudflare (403 on /api/v2/solutions/latest)

Hi Exercism community, I can’t download exercises with the CLI. Running exercism download --track=python --exercise=guidos-gorgeous-lasagna fails with: Error: expected response with Content-Type "application/json" but got status "403 Forbidden" with Content-Type "text/html; charset=UTF-8" What I’ve checked: CLI version is v3.5.8 (the latest release), on Windows. My token is valid. GET /api/v2/validate_token and /api/v2/ping both return 200. I can use Exercism fully from a web browser. Time of…

Update Want to Help threads for languages that have gone live

As an example, see Want to Help - Start here?. The first post in these threads are from before particular languages went live. It would be useful to edit these posts to clarify the ones that already went live so interested volunteers know they don’t need to wait for more volunteers and can move to the next steps like the content that’s in Want to Help - Start here? - #4 by system 1 post - 1 participant Read full topic

Title: GitHub Syncer keeps asking me to connect a repository

I am trying to set up Exercism’s GitHub Syncer to back up my solutions. GitHub repository: prasadgsaw/Exercism The repository is empty and was created specifically for Exercism backups. The Exercism Solutions Syncer app is installed on my GitHub account. The app has access to the selected repository. When I click Setup Backup on Exercism, it asks me to connect a GitHub repository again, even though the repository is already selected. The GitHub authorization page shows the repository as…

Error while running F# exercise

While trying to submit the exercise found at https://exercism.org/tracks/fsharp/exercises/improved-password-checker/edit the following error is displayed We received the following error when we ran your code: /mnt/exercism-iteration/ImprovedPasswordChecker.fsproj : error NU1102: - Found 2 version(s) in /root/.nuget/packages/ This has persisted over a week by now 11 posts - 2 participants Read full topic

Gleam stdlib version is out of date

The stdlib in use for the exercises is very out of date–it’s requiring 0.55.0, and the current (as of October 26, 2026) is 1.05.0. This is mostly an inconvenience–there are functions available in the current stdlib that are not in the 0.55.0 version–but it can confuse someone when they try to use one of those functions and get back an error. 3 posts - 3 participants Read full topic

Updated testing for Julia Practice Exercises

We just went through a big exercise to update all the Julia runtests.jl files to match current canonical data. The tests should mostly be very similar. A few got a bit easier: removing track-specific input validation for the easiest exercises. A few retained Julia-specific advanced testing, but moved it into optional blocks that now default to being disabled. Inevitably, some newer tests look for edge cases, which older solutions may now fail. The price of progress, I’m afraid, and none of the…