Repository navigation
interview: конструктор with_text — сборка плюс объяснение словами, итог по среднему - #46
Merged
Merged
Conversation
… it in words, final score is the average - content: build.mode: with_text + text_prompt (what to explain in words), loader and validator check the pair - AI review: the prompt tells the model the algorithm is graded separately and to grade only the written part; the reference solution goes in as ordered steps - frontend: BuildPanel renders two parts — the builder and AnswerPanel in part mode (no own reference or mastery); final = floor((build + text) / 2), text = AI score or self-assessment; the level is set only when both are graded, one reference for the whole task, Bit announces both parts and the final - number of islands switched to with_text
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.
Что сделано
Режим
with_textдля конструктора (продолжение #43): кандидат собирает алгоритм из блоков и объясняет словами то, что спрошено. Итог — среднее двух баллов.Данные
build.mode: with_textтребуетtext_prompt: что объяснить словами. Безwith_textполеtext_promptзапрещено, это проверяют загрузчик и валидатор.text_promptна фронтенд.with_text: объяснить, почему клетку помечают при добавлении в стек, и какая у обхода сложность.docs/content.md.ИИ-проверка
blocks_to_textтеперь понимает блокconstructor. Модель получает пометку: алгоритм оценивается отдельно, оценивать нужно только письменный ответ наtext_prompt.Оценка
AnswerPanelполучил режимpart: прогресс не трогает, своего эталона не показывает, самооценка хранится вtextSelf. Вselfзаписывается итоговый уровень.GradeScaleпоказывает шкалу и подсказки для двух частей и строку источника «Итог: 8/10 (сборка 9, объяснение 7)».Скриншоты
Старт: две части, Бит, шкала для with_text:




Сборка сдана (9/10, одна перестановка):
Объяснение оценил ИИ (локальный фейковый провайдер, 7/10), справа итог:
Проверки
vitest: 169 тестов. Новое:BuildPanelwith_text — путь с ИИ, путь с самооценкой и её снятием, эталон до оценки;scoreOfдля with_text;findSequenceTask.eslint,tsc -b,vite build,size-limit— без ошибок.pytest: 393 теста. Новое: формат with_text иblocks_to_textдля конструктора.ruffбез замечаний.test_schemathesisлокально не запускал.text_prompt.