Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Algorithm confused on answer. #13

Open
hosm1002 opened this issue May 15, 2023 · 1 comment
Open

Algorithm confused on answer. #13

hosm1002 opened this issue May 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@hosm1002
Copy link

hosm1002 commented May 15, 2023

I was doing my sparx homework and the addon started acting weirdly
image
The image contains my first bookwork code of the day. I have no idea what could have caused this.
However, When the next option/ bookwork code came out it got it correct.

@alexlostorto
Copy link
Owner

Yeah, the algorithm isn't perfect.

There are two algorithms that are used to detect similarity between the stored answer and the corresponding bookwork answer:

Purple border
The purple line is shown if the entire stored answer (9) is inside the bookwork answer. The stored answer (9) is inside £1396, 9, 90, and £1397.

Orange border
The orange line is shown if each number of the answer (in this case only 9) is inside the bookwork answer. Since there is only one number in the stored answer, the output is the same for both algorithms.

@alexlostorto alexlostorto added the bug Something isn't working label May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants