DevPath icon indicating copy to clipboard operation
DevPath copied to clipboard

Bug: Learning path progress doesn't enforce prerequisites, allowing users to skip foundational material

Open anshul23102 opened this issue 5 months ago • 6 comments

Problem Statement

DevPath's learning path progress tracking does not properly handle skipped content, allowing users to claim completion of paths without actually learning prerequisite material. This leads to users being unprepared for advanced topics.

Root Cause Analysis

Progress calculation likely sums completed lessons without verifying prerequisites. No dependency tracking between courses. No validation that all required material was reviewed before marking path complete.

Solution Overview

  1. Implement prerequisite tracking and enforcement
  2. Require sequential completion of foundational content before advanced topics
  3. Implement progress validation: verify all required sections completed
  4. Add content review time tracking to prevent instant completion cheating
  5. Implement checkpoint assessments that must pass before advancing
  6. Add visual progress indicators showing prerequisite status

Type of Change

  • [x] Bug fix (learning integrity)
  • [ ] New feature
  • [ ] Breaking change
  • [ ] Documentation update

Testing Done

Environment

  • Course progress tracking system
  • Prerequisite validation engine

Manual Testing Steps

Test Case 1: Skip prerequisites

  1. User skips "JavaScript Basics" course
  2. Attempt to start "Advanced React" which requires basics
  3. Check if progression allowed

Expected: Progression blocked, user directed to prerequisites Actual: User allowed into advanced course despite missing basics

Related Issue

Ensures users build proper foundational knowledge.

Suggested Labels

bug, level:intermediate, gssoc26, learning-paths, prerequisites, progress-tracking

anshul23102 avatar Jun 06 '26 14:06 anshul23102

@komalharshita ,

I'd like to work on this issue.

I reviewed the problem statement and understand that the current progress tracking allows users to bypass prerequisite content, which can result in incomplete learning paths being marked as completed.

My approach would be to:

  • Analyze the existing learning path progress calculation logic.
  • Implement prerequisite validation before allowing access to dependent courses/modules.
  • Ensure path completion requires all mandatory prerequisite content to be completed.
  • Add appropriate validation checks to prevent incorrect progress states.
  • Include tests covering prerequisite enforcement and progress calculation scenarios.

Could you please assign this issue to me?

amritbej avatar Jun 06 '26 17:06 amritbej

Hi @komalharshita

I plan to analyze the current progress-tracking logic, implement prerequisite validation between learning modules, prevent users from accessing advanced content until required foundational topics are completed, and ensure progress calculations correctly reflect prerequisite completion. I will also add appropriate validation and testing for the progression flow.

Please assign this issue to me.

ShubhamSawant726 avatar Jun 12 '26 11:06 ShubhamSawant726

Hi @maintainers, I would like to work on this issue under GSSoC 2026.

After reviewing the problem statement, I understand that the current progress tracking system does not enforce prerequisite completion, allowing users to bypass foundational content and incorrectly complete learning paths.

My proposed approach:

Implement prerequisite dependency validation between courses/modules. Enforce sequential progression for required foundational content. Validate path completion by ensuring all mandatory sections are completed. Add review-time tracking to discourage instant completion abuse. Introduce checkpoint assessments before unlocking advanced topics. Enhance the UI with prerequisite and progress status indicators.

I will also test scenarios involving skipped prerequisites, valid progression paths, and completion validation to ensure learning integrity.

Kindly assign this issue to me. Thank you!

gamana618 avatar Jun 24 '26 13:06 gamana618

Hi @komalharshita, I'd like to work on this. Plan: add a server-side prerequisite check in the progress-tracking path that verifies all prerequisite modules are marked complete before a path can be marked complete, backed by tests that attempt to skip prerequisites and confirm they're rejected. Requesting assignment under GSSoC 2026.

/assign /claim

anshul23102 avatar Jul 05 '26 17:07 anshul23102

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

github-actions[bot] avatar Nov 11 '26 07:11 github-actions[bot]

This issue was closed because it has been inactive for an extended period. If this issue is still relevant, feel free to reopen it or create a new one.

github-actions[bot] avatar Nov 18 '26 08:11 github-actions[bot]