Repository navigation
Count the daily goal in distinct cards, not answers - #23
Merged
Merged
Conversation
A hard card repeating its learning steps now consumes the goal once instead of once per answer, so struggling never inflates progress. cards_done is derived from the existing distinct-card daily_counts; the answer-count query is gone. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BpqXQKjiwd3ogsmumtDe2j
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.
Follow-up to #20: the daily goal (
daily_goal_cards) now counts distinct cards answered today instead of total answers.What changed
cards_done(used by the sprint budget inget_due_cardsand bysprint_status) is now derived from the existing distinct-carddaily_counts; thedaily_answer_countquery added in Implement sprint-based microstudying with study-ahead fill #20 is deleted.test_goal_counts_distinct_cards_not_answersproves a learning-step repeat leaves room in the goal budget for another due card;test_cards_done_counts_distinct_cardspins thesprint_statusside.Verification
ruff check cardbrick-py/clean🤖 Generated with Claude Code
https://claude.ai/code/session_01BpqXQKjiwd3ogsmumtDe2j
Generated by Claude Code