Exercise-specific page includes completions for unavailable tracks

This is a minor issue, but it seems the exercise-specific pages (Solve Leap on Exercism for an example) display the total number of published tracks with that exercise and then report your completions including unpublished tracks. It seems for consistency the reported completions should only be for published tracks.

I caught this because on Discord, vaeng mentioned he solved all the published languages, but his screenshot shows one extra completion. With the proposed change, it’d say he completed it in 73 languages, not 74.

image

Similarly for me, the page for Leap shows 48 completions, but only 44 of those are published tracks. The missing four are Arturo, Chapel, CoffeeScript, and Haxe.

If you have completed them they are completed.

I do not think that the number should change only because it only shows the listed languages that this exercise is available with (that are published tracks).

There are tracks that are also retired, and if you have completed it on those retired tracks, then the count should show that. If it exceeds the number of active tracks, it is fine.

I also think that for those that have solved retired and work in progress tracks will not likely be confused by this.

Even if this were something I could look at yours, and there were 75 tracks published currently, and you had the exercise solved in 83 tracks, I would know that you have either historically done them, or you have tracks that are upcoming that you are working on.

But again, as someone that is even aware that there are work in progress tracks and tracks that have been retired…

My point is, though, currently it does not seem to be confusing to me, if it were to say:

Try Leap in 74 different languages…
So far you’ve completed it in 78 languages.

Since I would be aware that I have done it in all the published tracks and I have done them in retired tracks and I am working on new tracks that are WIP.

The heading indicates Try Leap in 73 different languages. The grid below the heading shows the icons for each of those 73 different tracks. I don’t see a reason for me to assume 74 languages refers to anything besides the available tracks. If this hadn’t been in a thread specifically about an unpublished track, I would have never thought of tracks not publicly available.

Focusing on my page, this issue means if I solve Leap in 25 more public tracks, I’'ll get “Try Leap in 73 different languages… So far you’ve completed it in 73 languages.” and think I’ve done all the tracks. I’d be missing four somewhere in the grid below and not be done. So in that regard, we’re reporting contradictory information.

Very true for someone that can not discern the graphical indications of the complete/not done and current and updated status’s there. So I do agree that it could be approved.

The complete “picture” is there, the graphic information filling information from the current numbers presented. I have a count there that is beyond what is available to solve, so I see what you are saying.

The exercise link to check might be Solve Binary on Exercism as it is an exercise that is available on a few tracks, but has been retired in others. It shows the number completed, and still says that I can complete it in 10 other tracks, for example.

I am not sure how I would take it if I saw that I have not completed it in any tracks knowing that I have for sure completed it in a retired track.

So, are you saying that we should have something that says “You have completed it in 9 languages, 3 of which are on currently active tracks, 4 are on tracks that are work in progress, and 2 that are retired.”

:bulb: Perhaps “There are 9 tracks that you have not solved this in yet!” This is honest, and will change, as things come and go.

But I like seeing how many tracks I have solved the exercise in, even if they are not yet or no longer available.

Want to PR so it shows the max of those two numbers?