Skip to content

feat: shuffled options, term synonyms, mixed exams (P0.3) - #14

Merged
gon7187 merged 2 commits into
mainfrom
feat/generator-fairness
Jul 28, 2026
Merged

feat: shuffled options, term synonyms, mixed exams (P0.3)#14
gon7187 merged 2 commits into
mainfrom
feat/generator-fairness

Conversation

@gon7187

@gon7187 gon7187 commented Jul 28, 2026

Copy link
Copy Markdown
Owner

T4 (P0.3): честная проверка знаний в расширенном курсе.

  • Детерминированное перемешивание options через random.Random(lesson_id:question_id)
  • Синонимы для term-вопросов (минимум 10 уроков) + placeholder с примером формы
  • Смешанные экзамены модулей (choice+input+code вместо только choice)
  • Тест: правильный ответ не на одной позиции во всех уроках

pytest: 11 passed. Kanban t_f7504d89.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 11167a7b12

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/extended_curriculum.py Outdated
"answers": [keyword],
"placeholder": "Например: словарь",
"answers": [keyword, *TERM_SYNONYMS.get(keyword, ())],
"placeholder": f"Например: {keyword}",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Stop revealing the accepted term in the placeholder

Every extended input question now renders the exact canonical answer as Например: <keyword>, including questions selected for module exams. A learner can copy the visible placeholder verbatim to receive credit, so at least one answer in every mixed exam—and sometimes two—is disclosed before submission, undermining the intended knowledge check. Use a generic format example that is not among the question's accepted answers.

Useful? React with 👍 / 👎.

@gon7187
gon7187 force-pushed the feat/generator-fairness branch from 31f7669 to fc1df8c Compare July 28, 2026 13:47
@gon7187
gon7187 merged commit b32e9ed into main Jul 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant