Time estimates and edx-val

Hello everyone,

Since we recently moved from Native Koa to Tutor Nutmeg, we had the pleasure of discovering the time estimates that were introduced as part of the Learning Micro-frontend Now Default in Maple - Open edX

One of the things we quite do not understand if how edx-val is populated.

If I look in the Django Admin section edxval not all courses are present and for those who are the duration is always 0,0.

From what I could discover, the video ID from Studio seems to be in direct relation with transcripts uploaded for the videos, which would explain why some videos without transcripts are not present in this table.

So, can someone please explain how does edxval works and how we can get the estimated times from each video?

Thank you very much.

1 Like

I have confirmed by using YouTube Metadata that the videos definitely have a duration in their metadata.

Is it because the Client Video ID is considered “external video” under admin/edxval/video/ ?

Is there a management command to run in order to populate the duration?

By the way, and before you ask, I can clearly see the activities estimates when I do not add a video, so I know it is not a question of republishing the course.

I am basing my hypothesis on
https://github.com/openedx/edx-platform/blob/open-release/nutmeg.master/openedx/features/effort_estimation/block_transformers.py

where it is stated that

If there is any missing data (like no video duration), we don't provide any estimates at all for the course.
We'd rather provide no estimate than a misleading estimate.

Does anyone have an example of a course where the video duration estimates are working?

I was curious, so I tried 2 courses that started today on edx.org

course-v1:HarvardX+PH125.1x+3T2022
course-v1:HarvardX+CS50P+Python

and none of them have estimates when I look at the course contents.

There are “esimated” in course-v1:GoogleCloud+GCCF1x+3T2022 but I believe this is because they forced it in their section titles and not because the Learning MFE estimates are turned on.

Can anyone confirm if the video duration estimates do work in Open edX ?