Read Courses Overview aggregates from HPPS - #8207
Draft
donnapep wants to merge 2 commits into
Draft
Conversation
8 tasks
Contributor
Ports count_statuses_by_post, get_lesson_completion_counts, and get_courses_average_days_to_completion into both the comments-based and tables-based Progress_Aggregation_Service implementations. These generalize the private per-course queries currently in Sensei_Reports_Overview_Service_Courses to work with prepared placeholders instead of raw ID interpolation, powering the Courses overview aggregates. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Replace the raw comments-table queries in Sensei_Reports_Overview_Service_Courses with calls to Progress_Query_Service_Factory's aggregation service, so students count, lesson completions, and average days to completion read from HPPS progress tables when tables storage is active. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
donnapep
force-pushed
the
hpps-reports-students-last-activity
branch
from
August 25, 2026 15:26
5ed71e8 to
957ffbd
Compare
donnapep
force-pushed
the
hpps-reports-courses-aggregates
branch
from
August 25, 2026 15:26
07ac04a to
933b63d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SEN-83: HPPS: Reports Overview aggregates → table-aware
Part of the Reports → Overview HPPS effort. Stacked on
hpps-reports-students-last-activity.Proposed Changes
Testing Instructions
Setup (HPPS enabled):
Verify at Reports → Overview → Courses (course header):