Page 34 of 49
Re: Errors/Warnings/Bugs
Posted: Tue Nov 30, 2021 2:10 pm
by TheGreatKing
I cannot submit any answers.
How can I submit my first answer?
Re: Errors/Warnings/Bugs
Posted: Tue Nov 30, 2021 3:07 pm
by hk
euler wrote: Tue Nov 30, 2021 8:02 am
Argh! I know exactly what has caused this. I made some changes last night, but hadn't anticipated the knock-on effect to new members. Unfortunately I'm in work now and won't be back home for about 10 hours. I'll fix it as soon as I get home. Many apologies for the inconvenience and the time you've wasted already.
Dear people :
We are aware of this problem.
Please read this quoted message and calculate when something will be done about this problem.
Re: Errors/Warnings/Bugs
Posted: Tue Nov 30, 2021 5:28 pm
by euler
Thank you for reporting the problem and your patience.
I can only apologise for the annoyance this must have caused, especially if you were taking time to diagnose the issue, spent time trying different browsers, and so on. It was very frustrating that I was unable to fix the problem until just now when I got home from work. I hope that the change I have just made has fixed the problem. Please let me know if you notice any other residual effects.
Re: Errors/Warnings/Bugs
Posted: Sun Dec 05, 2021 1:53 am
by user202729
When I do exactly the following
• Open a problem
• Solve the problem for ~45 minutes (I think this step is optional, but I can't verify)
• Submit the correct answer
• Get the correct answer page
• Use the [back] feature of the browser
I get a message "you can't submit in 14 seconds" (it doesn't matter because I already submitted?)
I think it's not just a caching issue, as if I refresh the page it updates to "you can't submit in 8 seconds" etc., until the 30 seconds is over.
Re: Errors/Warnings/Bugs
Posted: Sun Dec 05, 2021 8:31 am
by euler
Thank you taking the time to report that issue. It should now be fixed.
Re: Errors/Warnings/Bugs
Posted: Sat Jan 01, 2022 9:05 pm
by ecnerwal
There's a very minor visual bug in the Problems Solved table of the Progress page: the 10 most recent problems don't have difficulty assigned, so they're all colored with the difficulty level of the previous problem (e.g. right now they're colored at 85% because of Problem 769, yesterday they were colored at 80% because of Problem 768).
Re: Errors/Warnings/Bugs
Posted: Sat Jan 01, 2022 11:49 pm
by euler
Very observant, ecnerwal, and thank you for letting me know. I've modified the script to make the most recent problems use the darkest shade.
Re: Errors/Warnings/Bugs
Posted: Tue Jan 04, 2022 4:38 pm
by Decarabia
Hi! I noticed that after solving problem 676 I got a "Big Game Hunter" award, which is surprising since it's rated at just 50%. At first I though that the description of the problem was just being obtuse and "fifty hardest problems" somehow referred to problems rated exactly at 50%, but I have more than 25 of those solved, so that's not it. I then noticed that all the difficulty ratings are multiplied by 5 (for example, problem 1 is rated at 25% instead of 5%!) and that seems to be messing with the logic that displays the granted awards. The good news is that apparently I've solved a lot of problems above 100% difficulty, some even around 400%

.
On the Awards page, Big Game Hunter shows as not achieved, which is (sadly) the right answer. Maybe this is only affecting the code displaying awards after you solve a problem?
Re: Errors/Warnings/Bugs
Posted: Tue Jan 04, 2022 6:44 pm
by euler
Thank you for letting me know. It is very much appreciate. The difficulty ratings, when you hover over the information icon on each problem page, should be fixed now.
There were some significant changes made today to the website scripts and that was one of the unintended consequences. Previously, the difficulty rating in the data that was passed internally was scaled from 1 to 20 (corresponding with the 20 tiers of difficulty) and was being effectively multiplied by 5 when displayed. One small change I made was to convert the portable data to reflect the percentage directly. Clearly I forgot to tell that particular script about the changes.
I've just made a couple more changes in response to your bigger issue, as I'm not entirely sure why you were wrongly awarded the Big Game Hunter award; that particular script was up-to-speed. You can imagine with the number of members and their varying profiles it's difficult to test for everything. I hope the changes I've made will address that issue.
If you, or anyone, notices any other strange behaviour, then please let me now.
Re: Errors/Warnings/Bugs
Posted: Thu Jan 06, 2022 4:35 pm
by forarslys
Randomly opening a
problem page, I noticed two issues.
- The problem title is no longer visible above the problem number. (refer to the picture of
this post)
- The info box at the top right corner tells publication date wrongly - perhaps it instead shows the time one accesses the page. And also it only says "Solved by" and does not tell how many have solved the problem.
Re: Errors/Warnings/Bugs
Posted: Thu Jan 06, 2022 5:37 pm
by jaap
forarslys wrote: Thu Jan 06, 2022 4:35 pm
Randomly opening a
problem page, I noticed two issues.
- The problem title is no longer visible above the problem number. (refer to the picture of
this post)
- The info box at the top right corner tells publication date wrongly - perhaps it instead shows the time one accesses the page. And also it only says "Solved by" and does not tell how many have solved the problem.
I can confirm these issues (and also no arrows to move to next/previous problem), but only when not logged in. If I'm logged in it looks normal.
Re: Errors/Warnings/Bugs
Posted: Thu Jan 06, 2022 5:49 pm
by euler
Thank you to both of you for reporting that. Indeed the issue occurs when not signed in. It was something else I'd missed during testing after the massive back-end changes that took place the other day. It should be fixed now.
Re: Errors/Warnings/Bugs
Posted: Sat Jan 08, 2022 4:20 pm
by ecnerwal
It looks like the new problem process is a little broken. The "problem releasing soon" placeholder didn't appear today like previous weeks, I think I was able to load the problem around 30 seconds before the scheduled release time, and the scoreboard for Problem 780 seems a little broken (the recent page doesn't show a 0 solve count).
Re: Errors/Warnings/Bugs
Posted: Sat Jan 08, 2022 4:29 pm
by euler
Yes, there have been some changes, because the problem table is no longer cached. It won't show zero. Instead it will remain blank until someone has solved the problem, then it should update immediately to reflect the current number of solvers as it happens. This was one of the reasons for the recent changes.
I had done extensive testing on my local machine before uploading the scripts to check when a new problem can be accessed. Is it possible you were comparing it with your own clock/time? The script should check with the server time (shown in the top right corner) and display the message, "Problem not accessible" and redirect them back to the problem table if someone tries to access it before that time. However, I'll have to do more testing now to see why this happened for you.
Re: Errors/Warnings/Bugs
Posted: Sat Jan 08, 2022 4:53 pm
by ecnerwal
It was definitely before the scheduled time. The problem title wasn't visible, but the whole problem body loaded.
Re: Errors/Warnings/Bugs
Posted: Sat Jan 08, 2022 5:31 pm
by euler
Thank you for the feedback. I very much appreciate it. Looking into it right now...
Re: Errors/Warnings/Bugs
Posted: Sat Jan 08, 2022 6:01 pm
by euler
@ecnerwal: I've just done some more research and you were spot on. In fact, it was probably accessible more than 30 seconds before. I've fixed the script and it should not happen next time. Thank you for letting me know so promptly.
Re: Errors/Warnings/Bugs
Posted: Sat Jan 08, 2022 7:31 pm
by reinermartin
Yeah, I think I saw the problem almost two minutes before the scheduled time. Alas, it seems to be a hard one, so two minutes make little difference

Re: Errors/Warnings/Bugs
Posted: Mon Jan 10, 2022 5:18 am
by Decarabia
Hi! I just saw another bug. After solving problem 777 (very fun problem BTW), the "problem solved" screen told me:
The public tables currently show that this problem has been solved by no members. Again, I would love for this to be true, but I'm afraid that the Gold Medal award is still out of my reach... Jokes aside, I wasn't awarded anything wrongly this time; it's just that the message doesn't display the amount of current solvers. See the screenshot at
https://imgur.com/a/KPxnpCg.
My account is set to private, maybe this is a side effect of that?
Thanks again for all your work

.
Re: Errors/Warnings/Bugs
Posted: Mon Jan 10, 2022 10:33 pm
by euler
Thank you for reporting that fault. And I'm sorry it built your hopes up that you'd earned the Gold Medal award.
I've looked into your issue and I think I might have discovered the reason; I also found one or two more anomalies that potentially could have happened. So hopefully I've prevented them and fixed the issue that happened with you. Time will tell.