Git Product home page Git Product logo

anki-mc's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

anki-mc's Issues

about showing correct answers

I've tried adding templates (anki closet and persistence) for closing answers in a question. For example, what is [[ch0::answer here]] then it shows, of course, the answer after you have chosen from the choices from the qtable. Anyway, after adding the templates, i noticed that the radio buttons weren't marked the way they should've been. It bothered me, although it shows the correct answer from the close ([[ch0::), as well as the correct answers from the qtable which are marked green. So is there any way to show the correct answer/s only? Including the wrong answer you might have chosen. I never had really thought of having such profound interest for using anki until now.

Errors with ⁨2.1.47

My wonderfully working Multiple Choice Addon suddenly doesn't work with Anki 2.1.47 anymore. It shows more answers than it should and does not correctly display the correct answers anymore
image
image

The colors for right/wrong answers are reversed

I'm using Anki Version 2.1.23 (de9543ff)

The colors for right and wrong answers seem to be reversed on mobile. I think its because a tap on mobile is like "show answer" so it never gets a chance to grab the touch input for the checkbox or radio bullet. Then probably it thinks the questions was never answered.

Snapshot from iPhone shows the issue:
Screen Shot 2020-05-11 at 12 34 57 PM

Just to make sure that this is not a configuration issue on my side rather than an actual bug, I'm including the card source and resulting snapshot.

test1.txt
Screen Shot 2020-05-11 at 12 31 47 PM

Snapshot from laptop shows that everything works:
Screen Shot 2020-05-11 at 12 35 53 PM

More options than 5?

Basically the plugin is all right but what should I do if I need a "Q_6" too?
I added it (Anki for PC allows it) but it still isn't showing up and "0 0 0 0 0 1" does not work either in the "Answers" field.

Invalid HTML on card: TypeError: Cannot read property 'innerHTML' of undefined

When I use this card I get the following error message:

Invalid HTML on card: TypeError: Cannot read property 'innerHTML' of undefined
TypeError: Cannot read property 'innerHTML' of undefined
at onShuffle (eval at (http://127.0.0.1:6827/_anki/jquery.js:2:2651), :71:111)
at generateTable (eval at (http://127.0.0.1:6827/_anki/jquery.js:2:2651), :32:9)
at eval (eval at (http://127.0.0.1:6827/_anki/jquery.js:2:2651), :130:20)
at eval ()
at http://127.0.0.1:6827/_anki/jquery.js:2:2651
at Function.globalEval (http://127.0.0.1:6827/_anki/jquery.js:2:2662)
at Ha (http://127.0.0.1:6827/_anki/jquery.js:3:21262)
at n.fn.init.append (http://127.0.0.1:6827/_anki/jquery.js:3:22791)
at n.fn.init. (http://127.0.0.1:6827/_anki/jquery.js:3:24070)
at Y (http://127.0.0.1:6827/_anki/jquery.js:3:4515)

Using this on Windows 10 PC.
On android device the card is showing but I get "Correct answer x%"

Answer are not shown up in review

In editing, everything is normal. But if I review the card, no options/answers show up (see picture below). Friend of mine checked my card and it worked, so there must be some add-on issue. Do you know about add-ons causing this problem?

image

Show Answers on AnkiDroid

I was trying to use this addon (Single Choice) on AnkiDroid but it behaves differently from the computer version.
It doesn't wait for the SHOW ANSWER button but as soon as I tap one of the radio buttons, the answer is displayed immediately.
What's even worse, if I don't tap precisely enough, none of the radio buttons will be selected and my answer is going to be wrong.

Colors on single choice questions

Hi, I saw another one member had this issue but I'm not able to remove the colored part. This mess me up because I instinctively watch the green mark and I think that's the right one... but it's not.

Here's an example:
Schermata 2020-06-05 alle 11 17 47
Why the second answer is marked green if the right one is the third?

"Answers" command no longer binds

I am a student, using this wonderful extension, it stopped working.
Please help me, I don't know anything about HTML language
When choosing the answer, example 00010, I use QType 2, it always comes back Q_1
I did it over and over again.
If there is an angel, thank you
See ima
Multiple Choise
ge

Displaying wrong answer

The answer showing up in the final card is not the answer entered during setup. Example given below, but this is happening for multiple cards, not just this one.

Setup:
anki 1

Display:
anki 2

Documentation?

Is there somewhere that shows how to use this? Like how to make the CSV and what to do when you import?

Unused MC fields showing up

I have 3 answers, but 4 and 5 are still showing up even if I don't put anything in there and don't assign it a 0,1

Error showing answer.

After this last update, the percentage and the result of the response are always shown as wrong.
Update:
I realized that this error happens when we use the mouse to choose the answer. When we use the shortcut it works well.

error
error2

answers don't show

answers don't show while reviewing a card on windows. The question shows but there are no multiple choice options. Addon works fine with android.

Anki Mobile iOS MC - right answer is wrong

First thank you for the amazing add on, it works great on windows and max however on iOS every time I enter the right answer, it is wrong and all the other answers are right.

A2C1733B-76C2-41DA-A1A8-62B254D96225

Correct answer shown in red highlight (incorrect answer = 50%)

Good day! I'd just like to report this problem I've encountered with the add-on. Every time I answer the correct choice in the multiple choice question format, the correct answer and color coding (marked green at 100%) comes up; this works fine. [refer to image below]

image

However, once I select the incorrect answer in the multiple choice question, the backside of the card shows the following:

  1. Indicates the INCORRECT answer in a wrong color-code (can either be green or red)
  2. Indicates the CORRECT answer in red BUT marks it as the correct answer (with a checked tickbox, meaning it is indeed correct)
  3. Shows the score percentage as 50% since 2 choices is marked correct and the other 2 choices incorrect even when only 1 should be correct. [Please refer to the image below]

image

I have followed all the settings indicated in the add-on page. Specifically, for the sample question using multiple choice option above. The settings used for the sample question are as follows:

image

Although I'm glad the correct answer is indicated by the ticked checkbox at the backside of the card, the red color and indication of "correct answers: 50%" is quite disorienting and confuses me at times since it would be more efficient to simply look for the single green option (to indicate it as correct) and see the "correct answers: 0%" to know that you've got the entire question wrong. I hope someone can help me on this! Overall, thank you for working on this add-on. Kudos!

Edit: some formatting errors

import tool

another addon would be great, that fills the fields "question" and MC1 to MC5 automatically: so you can copy the question including the answers a to e [trigger for "a", "a)", "(a)", and "A",.. an "1",.. etc.] - paste it and the addon will put it in the right fields - would save a lot of time. Or perhaps even as an multi import tool for a lot of questions and answers - the whole exam in one copy-and-paste procedure to Anki ;-)

Ankidroid: Answers don't persist

With the latest updates of Ankidroid (both 2.14.5 and 2.14.6) answers don't seem to be persistent any longer so the card back doesn't show the answers anymore.

I even reverted my note types back to commit 9a5c9dc but to no change.

Unusable on Ankimobile?

This add-on does not appear to be usable on Ankimobile (ios). Everything is flagged as the wrong answer - it doesn't register the user selection. As another reviewer has said: "as soon as I touch the screen to select an answer, the add-on switches to "answer" (which is obviously marked as wrong)." Apparently works well on other platforms.

Does it work on iOS?

Hi,

I have downloaded the latest Anki for desktop macOS and the latest app for iOS.

This plugin works fine in desktop but in mobile the behaviour for the multiple choice type (checkbox) is that it shows the answer immediately without checking the checkbox.

Expected behaviour: when is a multiple choice type, a tap should select an option and the user should be able to keep selecting options.

Is this known? Is there a special config I need to set?

Thanks!

First card won't load

updated to v2.4.0, I have the same issue, but pressing edit still doesn't load the card. I can load the other cards after that if I click show answer for the first (it shows a blank card), then it works smoothly. It ruins the scheduling for that first card, unfortunately.

Edit: also getting the missing packaging error

Originally posted by @Ratonu13 in #32 (comment)

Correct answers are shown in red and counted as wrong

It's my favorite addon :-)

But: My correctly selected answers are marked in red.
And are also counted as wrong.

This problem does not exist with the iPhone or Web-Version, only on my Mac-Version 2.1.35.

I've been dealing with it for days but can't find the fault.

Please excuse my english. Unfortunately, I have to work with the google translator.

Bildschirmfoto 2021-11-06 um 19 20 06

Listing fixedly answer options as a-b-c-d-e; 'All of the above' and 'None of the above' always at the end

Anki Issue.pptx
Hi everyone. I'm writing seeking assistance with a very specific issue using this Add-on. Is my first time using Anki, and this is the first add-on that I use ever:

When trying to create my flashcards using this add-on I'm having the issue that it's impossible to have the answers in a fixed way, you know, to have them not randomized. This is especially irritating because there are some questions that are multiple-choice with one single answer that can have incorporated the options "All of the above" or "None of the above", or the case in which one of the options implies more than one answer. For example:

Question 1: Which of the following is a unifying characteristic of life?
a- Ability to reproduce
b- Ability to develop
c- Ability to utilize energy
d- The presence of cells
e- All of the above
f- None of the above

Obviously, the correct answer is e- All of the above.

Question 2: Which of the following molecules can be dissolved in water?
a- sugar
b- salt
c- cholesterol
d- A and B
e- All of the above
f- None of the above

The correct answer is d- A and B.

My questions here are:

  1. In this kind of questions and variants, what I can do to ALWAYS have the answer options "All of the above" and "None of the above" at the end of the answer options, no matter how randomized is the rest, in every single flashcard that has to consider this option of answers?
  2. I'm also having issues settling in a fixed way the answer options as a- or b- or c- or d- or e- in the order that I'm setting? Because with every review of the flashcard, this order changes no matter what I do, and also when creating new flashcards with similar characteristics I have the same issue, that the options are just disorganized or randomized, no matter how many times I repeat the flashcard from scratch. Also, if I set the options in the suggested order it appears as I want for the first time, but when I try to edit the option and putting a- b- c- d- e- to each one of the options, everything goes upside down
  3. How to have all the answer options randomized BUT leaving the options "All of the above" and "None of the above" at the very end, and not at the top of the options which is what normally happens, no matter if the question has only four possible choices of answer, or five, or three, or whichever number of options?

Thank you so much for the help. Kind regards,
Sergio

Submodule 'packaging' isn't included in version 2.4.0

Restarting Anki after updating to 2.4.0 leads to:

When loading '⁨Multiple Choice for Anki⁩':
⁨Traceback (most recent call last):
File "aqt/addons.py", line 210, in loadAddons
File "/home/3ter/.local/share/Anki2/addons21/1566095810/init.py", line 37, in
from .config import *
File "/home/3ter/.local/share/Anki2/addons21/1566095810/config.py", line 43, in
from .packaging.packaging import version
ModuleNotFoundError: No module named '1566095810.packaging'

~/.local/share/Anki2/addons21/1566095810
$ tree
.
├── config.py
├── __init__.py
├── LICENSE.txt
├── manifest.json
├── meta.json
└── template.py

Shortcuts for reviews

Hi there!
First of all, thanks for your work.
I'm using the add for a single choice from 4 quiz and,
I have a question...
is there any option to use keyboard shortcuts to answer on the reviews? Like numbers or commands to choose whatever Q you want?
I would love to do that to go faster on the reviews...
thanks in advance!

Correct answers marked wrong

Hi!

I’m currently using Anki version 2.1.30 in my desktop. I tried using this add on with the ‘kprim’ QType and the correct answers don’t display right (i.e. it’s not a color problem; when the ‘correct answers’ display, the shaded items under the ‘yes/no’ is wrong). Specifically, when the correct shaded answers are displayed, only 1 choice is under the ‘yes’ column and everything else is a ‘no.’ (I don’t understand why because my answer pattern was 10101) :(

I also have a similar issue with the ‘multiple choice’ QType. When the answers are displayed, only 1 choice has a check mark on it’s box. All the other boxes are empty and the ones I marked with a check mark when I answered the question (i.e. the correct answers) are marked wrong, except for the 1 item that shows a check mark when the answers are displayed. The boxes that were meant to be empty did display a color green though. But those that were meant to be correct were highlighted orange and did not have a check mark when the answers are displayed.

Iam getting this error whenerver I use MCQ type card

Invalid HTML on card: TypeError: Persistence.getItem is not a function
TypeError: Persistence.getItem is not a function
at onLoad (eval at (http://127.0.0.1:56789/_anki/jquery.js:2:2651), :9:52)
at run (eval at (http://127.0.0.1:56789/_anki/jquery.js:2:2651), :95:20)
at eval (eval at (http://127.0.0.1:56789/_anki/jquery.js:2:2651), :115:9)
at eval ()
at http://127.0.0.1:56789/_anki/jquery.js:2:2651
at Function.globalEval (http://127.0.0.1:56789/_anki/jquery.js:2:2662)
at Ha (http://127.0.0.1:56789/_anki/jquery.js:3:21262)
at n.fn.init.append (http://127.0.0.1:56789/_anki/jquery.js:3:22791)
at n.fn.init. (http://127.0.0.1:56789/_anki/jquery.js:3:24070)
at Y (http://127.0.0.1:56789/_anki/jquery.js:3:4515)

Showing more than 5 choices

Is there a way to make it so that I can see more than five answers to choose from?
I added the fields via the Fields --> Add option
image

But for some reason any options I include after Q_5 just dont show up when im using the card.

Love the add on
Thank you

Remove Colors

Hello,
I've looked through the tickets but I didn't find an answer to my question.
Can you tell me what these colors mean?
confusion
It's super confusing!
I selected 'flee' while 'free' was the right answer but 'fee' also had a different color, I really don't know why!

adding more choices than 5

Hi,
I'd like to add another 10 choices to my questions. How to edit the code of your add on to add 10 fields more?

Enable/Disable shuffling?

Hello everyone! Is is possible to turn off the shuffling somehow?
Also: is it possible to make the squares in front of the question bigger?

Thank you very much and best regards!
Marvin

Bug marking correct answers as wrong

Viewing the questions is fine.

When I select an answer for a single choice question or multiple answers for a multiple choice questions, then I show the answer, it's always wrongly marketing my selections as wrong.

I think that problem might be than when I hit 'show answer' it deselects my answers in the questions.

Screen Shot 2020-09-11 at 15 36 15

Eg in this example I selected the correct answer before pressing 'Show answer' but as you can see it has been deselected and I got the answer wrong.

Please let me know how to resolve this problem.

Filling the Field "QType"

What do kprim, mc and sc stand for? There's nothing about it in the "usage" section. Could you please let me know?

Answers Won't Display on Back Side

Sorry, just saw that you listed a issue tracker on the add-on page. I'll just copy and paste my original post here. I've attached screenshots to help navigate through the issue. Thanks again!

Super cool add-on! I know a lot of anki users think that MC is kind of a passive way to study but I find it challenging just to sit there and try to think up challenging questions (especially those tough all of the answers apply except or those multiple answer questions). Anyways, I'm looking forward to using this add-on but I had a problem displaying the answers. I'm using the AllInOne (kprim, mc, sc) note type and when I answer the question it only displays the question and the extra field. Any thoughts to why that might be happening? I'm on Anki Version 2.1.24 (359b9f5c). Thanks for all the great work!

image
image
image
image

Cards don't initialize correctly

image
Cards initially don't display the choices.
image
After opening the card in the editor and closing the editor again, the cards are displayed correctly. Also, the first card after clicking "Study Now" is displayed correctly.

Seems like they are initialized correctly after a reload of the Reviewer, but not after answering the previous card.

Cannot get Answer to Display Correct or Incorrect

image
It will only say Correct Answers: x %, but not giving what percent or what answers are correct. I'm not sure if I have it formatted correctly. I attached a picture for the card creation in case that helps.
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.