fix(31-symbols): sync en/es exercise text with ru ("grip")#855
Merged
Conversation
The en/es EXERCISE.md for 30-symbols still described the old lesson (`Na\nharis` -> print `s`), out of sync with the ru version, index.js and test.js, which are the "grip" exercise (extract chars by index). This mismatch is what PR #854 tried to fix by changing the test to expect 's' — but that breaks the reference solution (index.js prints `grip`). The correct fix is to update the stale en/es task texts. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…RCISE
The consolidated per-lesson description.es.yml (legacy es duplicate) still
had the old "print the last character" task. Align its `instructions` with
es/EXERCISE.md ("grip" exercise) so both es sources stay in sync.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Что и зачем
В уроке
31-advanced-strings/30-symbolsтексты задания для локалейen/esостались от старой версии урока (name = 'Na\nharis'→ вывестиs) и рассинхронены с:ru/EXERCISE.md— задание «извлечь символы по индексам и вывести словоgrip»;index.js—console.log(\${text[10]}${text[8]}${text[15]}${text[7]}`)дляtext = 'Python programming'→ печатаетgrip`;test.js—expect(firstArg).toBe('grip').Именно этот рассинхрон породил путаницу в #854: англоязычный студент читал старое задание про
s, а тест ждётgrip. В #854 предложено поменять тест на's', но это ломает эталонное решение (index.jsпечатаетgrip). Правильное исправление — обновить устаревшие тексты заданий, что и делает этот PR.Изменения
en/EXERCISE.mdиes/EXERCISE.mdприведены в соответствие сru(задача проgrip).description.es.yml(легаси-дубль es-локали на уровне урока) — полеinstructionsсинхронизировано сes/EXERCISE.md, чтобы оба es-источника совпадали.Замена для
Закрывает потребность #854 корректным способом.
🤖 Generated with Claude Code