We made some updates to the website today, mostly behind-the-scenes!
Stats are More Accurate
-
Session review now shows the answer you actually gave in that session. Previously, if you retook a question later, reviewing an older session would show your most recent answer instead of what you picked at the time.
-
Average time per question only counts timed attempts. If you worked through questions in untimed mode, those attempts were also being folded into your average, but now they are ignored.
-
The dashboard's time-spent figure was computing incorrectly. Sometimes it would be a little higher than reality, due to a math bug.
Exam Mode Is Stricter
The exam time limit is now enforced on the server rather than trusting the browser.
Question Quality
Most of this is invisible to you, but I polished the admin tools that we use to write and publish questions:
- Malformed questions with no answer choices, or with no choice marked correct, can never be published
- The explanation text is automatically checked against the actual correct choice, ensuring they are aligned
- Categories with zero published questions no longer vanish from the admin statistics view, which was hiding coverage gaps from me
Images and Uploads
Image upload failures used to fail silently, meaning a question could theoretically end up published with a missing figure. That's fixed, as well as some issues with transparency handling and file extensions for JPEG uploads.
Under the Hood
Some behind-the-scenes engineering changes that will make CI Prep Pro easier to improve:
- Many more unit tests in the test suite. Remember for the boards: unit tests are software tests that test a small piece (unit) of functionality at the time of development
- Unified handling of dates and timezones across the application, which was a recurring source of subtle bugs
- Dead code removal and consolidation of duplicated logic, following the software principle DRY (Don't Repeat Yourself).