alexriina / anki_cousins Goto Github PK
View Code? Open in Web Editor NEWAnki plugin to bury related cards even if they're not siblings.
Anki plugin to bury related cards even if they're not siblings.
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-01-01 20:46:28
Caught exception:
Traceback (most recent call last):
File "aqt\addons.py", line 896, in onConfig
File "C:\Users\micha\AppData\Roaming\Anki2\addons21\1072815885\interface.py", line 81, in show_settings_dialog
SettingsManager(col).save(
File "C:\Users\micha\AppData\Roaming\Anki2\addons21\1072815885\settings.py", line 80, in save
set_config = self.col.set_config()
TypeError: set_config() missing 2 required positional arguments: 'key' and 'val'
https://ankiweb.net/shared/info/1369579727
Combined with this addon
This may not be a new problem, as I have never used the addon before. The "Config" button for this addon is grayed out in the Add-Ons menu.
Hi,
I don't think it's a good idea for this rule to be working for less than 3 words. For example I sometimes have a cloze that is a yes no question, so having {{c1::3}} causes like 130 cards to be buried just because they contain the number 3.
I think it would be more sensible to ignore this rule if there is less than 3 words in the cloze OR if it contains something else than words (numbers typically)
Hi, great addon btw,
I can sometimes have to enter 5 different cards on the same disease but with the phrasing so different that your plugin cannot pick them up as cousins.
So I thought about it and thought it would be a nice feature to enable to automatically bury the cards that have been added just before and just after some card.
Say I add five cards in a row : 1 2 3 4 5
If in my review queue I see card #3 then your addon would automatically consider as cousin the cards 2 and 4, or 1 2 4 and 5 depending on user settings.
This would be an interesting way to reduce a daily workload in a smart manner.
What do you think?
edit : related post on the anki forum : https://forums.ankiweb.net/t/bury-review-cards-created-next-to-each-other/8930
If the bury until next day options are not checked in the deck options, the cards will be reported as buried but not actually buried.
The root cause of this appears to be that anki's counters are based on the number of notes to remaining but the queues are based on the cards themselves. When you rehearse a card, it decrements the associated counter and then removes any sibling cards, but shared that same slot in the count.
Because I'm removing cards from other notes, the list of cards to rehearse runs out before the note count gets to 0, so anki rebuilds the list of cards to rehearse in _fillNew which uses the database queues. These are only updated anki_cousins when the "bury until next day" options are checked.
Would the suggestion for an approximate search algorithm be open?
I loved the idea of your addon.
Congratulations
Version 2.1.43 (0fbae6bc)
Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
at first the add on didn't work for some cards(imageOcclusioncard Specifically i use it for )
i went into setting and i can see the config and i can click it this time ,so i click it to see any problem in there but everything was fine,so i was confused!
and then disabled the addon [Bury Cousins (related cards that aren't siblings)]
and i tried this add on : [Bury related notes]
i couldn't make this new add on work neither, or i didn't know exactly how it work! so i decided to disable it and back to (Bury Cousins) addon,
hereafter i toggle enable it, I couldn't press the config button, and even if i double click on it show this message saying [Add-on has no configuration]:
tried to delete and reinstall the addon from start but nothing works, still no config button !!?
I love your add-on but have a request if you have the time!!
I'm in medical school and use a lot of premade decks that have overlapping concepts or straight up the same concepts re-worded differently or in a different card format. This especially happens when using multiple decks from different people. For example:
1."Cloze vs basic card types"
Cloze:
{{c1:Kallmann syndrome}} is a cause of delayed puberty that also causes anosmia.
Basic:
Front: What cause of delayed puberty also causes anosmia?
Back: Kallmann syndrome
2."Cloze vs Cloze"
{{c1:Kallmann syndrome}} is a cause of delayed puberty that also causes anosmia.
{{c1:Kallmann syndrome}} causes delayed puberty and anosmia.
Now imagine this but a lot lot more of it. The repetitions add up and take up a lot of time. Could we have a feature that has the same functionality as your current one in finding similar cards, but instead of burying them, tag them or allow a browser view of all similar cards sorted based on (%) similarity.
End goal: Do less of the same card lol. It would be nice if the add-on confirmed deletions and what-not. I know there is a lot of people on r/medschoolanki that would love this ability.
Hi,
I think it would be valuable to tell the user which rule lead to how many burial. I have several rules in place and it can be hard to finetune them if I don't know which rule is burying 50 cards in one take for example.
Hi,
I think that a useful feature would be that rule that bury more than X number of cards in one review should be ignored.
Sometimes some of my rules will just bury 150 cards in one take and that's not something I want. But these rules are very useful the rest of the time.
Otherwise I miss the big picture by doing the new cards in the order I created them.
edit : same with learning cards. I graduate my cards over a long time so it's not good for me to bury them while they are new or in learning.
Hi,
I noticed that there is a method called that remove all the html of the card, leaving only actual text.
I don't think it's a good idea to remove completely the media. Personnaly, I sometimes use a screenshot as a source in a "source" field in my cloze. I think that the parsing should keep the name of the picture or sound media etc as a word in the card. As I think it is relevant to decide to bury the cards or not.
What do you think?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.