Open akioweh opened 2 years ago
similar to one, but EP tells you what it ends with
===== Details after Incorrect Answer: =====
Detected Question:
=> and you? (informal) (ends with "i ?")
Inputted Answer:
=> et vous ?
Modal Question:
=> and you? (informal)
Modal Full Answer:
=> et toi ?
Modal Cut Answer:
=> et toi ?
Modal Detected Answered:
=> et vous
when a comma is required in the answer (usually, I split the answer at commas because it signifies a multi-part answer they usually only require one part)
===== Details after Incorrect Answer: =====
Detected Question:
=> please help me, help me please
Inputted Answer:
=> aidez-moi
Modal Question:
=> please help me; help me please
Modal Full Answer:
=> aidez-moi, s'il vous plaît
Modal Cut Answer:
=> aidez-moi
Modal Detected Answered:
=> aidez-moi
idk will have to see if I can tell whether I should split at commas
Imma properly document when the script fails to correctly answer a question
Case 1:
when there are multiple different answers for the same question (but only one is correct) e.g. what is your name? ==> comment t'appelles tu? what is your name? ==> comment vous appelez-vous?
EP tries to tell you which answer it is with a "starts with xxxx" hint
console log of two examples:
Possible solution
EP's hint using the starting letters are (hopefully) in a fixed format:
(starts with "<whatever it starts with>")
so, I can try to parse that too when reading the question