Skip to content

Guide learners from cards to active recall - #151

Merged
pirajoke merged 1 commit into
mainfrom
codex/post-lesson-reinforcement-20260917
Sep 16, 2026
Merged

pirajoke merged 1 commit into
mainfrom
codex/post-lesson-reinforcement-20260917

Conversation

@pirajoke

Copy link
Copy Markdown
Owner

Outcome

  • guide a perfect cards session directly into a quiz on the same words
  • guide a perfect quiz into written recall
  • keep error retry first and retain the three-action completion limit
  • localize the reinforcement actions across all 8 interface locales

Evidence

  • 72 focused tests passed
  • 1203 full tests passed (3 skipped)
  • compileall passed
  • git diff --check passed
  • privacy-safe production snapshot motivating this change: D7 2/11, 0 durable words, no quiz/written starts since Sep 10

Rollback

Revert commit 6980e3a.

@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: 6980e3a4de

ℹ️ 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 bot.py
Comment on lines +9262 to +9265
elif user_data.get("block_mode") == "quiz":
primary = InlineKeyboardButton(
translate("block_reinforce_written", locale),
callback_data=f"bmode:{session_id}:type",

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 Keep immediate reinforcement from advancing SRS stages

When a learner follows the new primary actions after perfect cards and quiz attempts, both callbacks start fresh, normally scored attempts over block_all_indices; each correct answer therefore runs through block_advance/bot_learning.rate and increments the same word's correct_count. A brand-new word can consequently go from 0 to 3 and receive a seven-day interval during one uninterrupted lesson, immediately satisfying the canonical “durable word” metric and postponing its first spaced review. These same-session reinforcement attempts need separate/non-SRS scoring, or otherwise must not advance the interval as independent reviews.

AGENTS.md reference: AGENTS.md:L10-L12

Useful? React with 👍 / 👎.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-16T17:15:49.983786Z 6980e3a PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pirajoke
pirajoke merged commit 237ecee into main Sep 16, 2026
1 check 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