The expected functionality (which is working perfectly currently on August 2nd, 2023) is as follows:

WHEN a logged-in user accesses a course page OR course materials,

IF the user has already completed at least 75% of the course,

AND the user has not yet left a review on the course,

THEN the “course ratings & reviews” modal pops up that allows the user to rate the course.

Here is the asana thread where this was fixed (including file paths, code screenshots, etc):

https://app.asana.com/0/1204605399603244/1204958194059872/f

Here is a loom video where you can see the expected functionality working correctly:

https://www.loom.com/share/9a16b96668d84a05ac2ac873bdc028dd?sid=5b7c117f-8e06-40f6-b9a8-bc215f4f1ffc