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

Cutting the bread perfectly (SD ~0.028) in half will not update the Chef Comments #3

Open
cD1rtX3 opened this issue Nov 8, 2023 · 3 comments

Comments

@cD1rtX3
Copy link

cD1rtX3 commented Nov 8, 2023

Image for reference (sorry for having cut a baguette lengthwise):
Screenshot 2023-11-08 07 58 34

If you've cut the bread poorly before, and then cut a near-perfect slice, the chef will still be rude to you.

@cD1rtX3
Copy link
Author

cD1rtX3 commented Nov 8, 2023

This also happens with other near perfect slices, and less perfect slices (ex. SD ~1.584) will update the text.

@cD1rtX3
Copy link
Author

cD1rtX3 commented Nov 8, 2023

Looking at your code, I can see the problem: the site assumes that if you got an SD less than 0.1, you cheated. It then checks whether you actually cheated by seeing if your SD is exactly zero and if there haven't been any results. If so, the chef will (usually correctly) tell you that you've cheated. If not, however, it will not update the inner text with anything, as there is no code to do so.

@cD1rtX3 cD1rtX3 closed this as completed Nov 8, 2023
@cD1rtX3 cD1rtX3 reopened this Nov 8, 2023
@cD1rtX3
Copy link
Author

cD1rtX3 commented Nov 8, 2023

The same thing happens when not having cut the bread before:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant