Start from what someone should be able to do
Courses built from what the instructor knows are comprehensive. Courses built from an outcome are finishable.
Any metric can be gamed once people know what it rewards; this guide gives a workplace example of how time-tracking signals can be manipulated.
For broader evidence-based guidance on teaching and course design, the Carnegie Mellon Eberly Center publishes university teaching resources.
Read the guide