Skip to content

Answer Parsing Edge Case #37

@akioweh

Description

@akioweh

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:

===== Details after Incorrect Answer: =====
Detected Question:
 => so-so (informal) (starts with "B")
Inputted Answer:
 => plus ou moins

Modal Question:
 => so-so (informal)
Modal Full Answer:
 => Bof
Modal Cut Answer:
 => Bof
Modal Detected Answered:
 => plus ou moins



===== Details after Incorrect Answer: =====
Detected Question:
 => what is your name? (informal) (starts with "comment t")
Inputted Answer:
 => comment vous appelez-vous ?

Modal Question:
 => what is your name? (informal)
Modal Full Answer:
 => comment t'appelles-tu ?
Modal Cut Answer:
 => comment t'appelles-tu ?
Modal Detected Answered:
 => comment vous appelez-vous ?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions