Курс двуязычен — и сказать это там, где число никто не проверял - #24
Merged
Merged
Conversation
…ys so Both cards described lemma as Russian. That stopped being true when the English build was finished -- twenty-seven modules in each language, behind the same notebooks -- and the card is where a reader decides whether the course is for them. lemma's own CITATION.cff, .zenodo.json and README said the same thing and are corrected; the organisation profile said it too and is corrected. The count beside it was unchecked. Both cards state 27 in digits and the profile states twenty-seven in words, twice, and nothing tied any of the four to the course. This is the shape the page has already been caught in: decisionrl's counts were corrected everywhere the digits appeared and survived in the profile, spelled out. The source is lemma's CITATION.cff, which lemma's own scripts/check_counts.py now holds to docs/modules/ on every push. So this is not a second opinion about how many modules there are -- it is the same count, followed one repository further out. Digits on the cards, words in the profile, and a missing count reported rather than passed. WORDS had no entry between twenty-five and twenty-nine, so the first run reported lemma as unchecked instead of claiming it was fine -- which is the behaviour the file asks for, and the reason the gap was visible at all. Added twenty-six through twenty-eight. Checked by breaking a copy: cards moved to 28 -- both reported; the count removed from the cards altogether -- both reported.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Обе карточки называли lemma русским курсом. Это перестало быть правдой, когда была доделана английская сборка: двадцать семь модулей на каждом языке, за ними одни и те же ноутбуки. Карточка — то место, где читатель решает, для него ли курс, и англоязычному она говорила «не для тебя».
То же самое стояло в
CITATION.cffи.zenodo.jsonсамой lemma (DrobyshevDev/lemma#13) и в профиле организации (0bca4ae) — там исправлено.Число рядом с этим никто не проверял
Обе карточки говорят «27» цифрами, профиль говорит «twenty-seven» словами, дважды. Ни одно из четырёх мест ни с чем не связано.
Это ровно та форма, в которой страницу уже ловили: счётчики decisionrl поправили везде, где они стояли цифрами, и они пережили правку в профиле — прописью. Об этом написано в докстринге самого
check_figures.py.Источник —
CITATION.cffсамой lemma, который её жеscripts/check_counts.pyтеперь держит приdocs/modules/на каждом пуше. То есть это не второе мнение о числе модулей, а то же самое число, прослеженное на один репозиторий дальше. На карточках проверяются цифры, в профиле — слова, пропавший счёт сообщается, а не проходит молча.Чего стоило добавление
В
WORDSне было ничего между двадцатью пятью и двадцатью девятью, поэтому первый прогон сказал про lemma «unchecked», а не «всё сходится». Это ровно то поведение, которого файл требует от себя сам, — и единственная причина, по которой дыру было видно. Добавлены двадцать шесть, двадцать семь, двадцать восемь.Проверено
Сломал копию и посмотрел, что скажет:
index.html: says 28 modules, lemma has 27и то же проru/index.htmlindex.html: no longer states how many modules lemma hasи то же проru/index.htmlНа неизменённом дереве —
Every figure that can be checked matches its source.