I would like to modiffy AnkiConnect plugin to include the FSRS retrievability score ( via [0])
Does anyone know where the FSRS retrievability score is calculated?
I know where to change it in the plugin [1], but I don’t know where in Anki-source code it is exactly calculated. All the places I could find were in Rust.
There is an SQL function to calculate it [2], but I am kinda lost on what parameter to pass in [1].
On the Python side, you only have access to card.memory_state. Apparently you need to re-implement current_retrievability() and days_since_last_review().