ankitects / ankitects/anki

Custom Study: New Card Increases by Wrong Number

Open
#3,684 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
31.2k
Forks
3.2k
Avg merge
2d 8h
Merged PRs (30d)
72

Description

## Steps

1. Finish your new cards for the day.
2. Go to deck options and reduce the new card limit.
3. Use custom study to increase new card limit.

## Behaviour

Say, if you decrease the preset limit by 2 and then use custom study to increase new card limit by 5, in this case you'll introduce only 3 new cards and not the expected 5.

*Originally posted by @brishtibheja in https://github.com/ankidroid/Anki-Android/issues/17697*

Contributor guide

Open the contributing guide

Research direction

Reproduce the problem through deck options and Custom Study using the stated limit changes, then trace the code handling the new-card limit increase. Done means increasing the limit by 5 introduces 5 new cards even after the preset limit was reduced by 2.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.