feat: course optimizer extended report - #426
Draft
nsprenkle wants to merge 3 commits into
Draft
Conversation
Studio proxies both kicking off a Course Optimizer extended-analysis run (CourseAnalysisReportView, generating the course export server-side via the existing create_export_tarball) and polling its status (CourseAnalysisReportStatusView) to the xpert-ai-workflows backend, keyed by a shared secret -- the browser only ever talks to Studio.
…lows Reached via Docker's host-gateway alias, since it runs on the host machine rather than in the devstack docker network.
Gates the Course Optimizer extended-report section in the authoring MFE, matching enable_course_optimizer's existing CourseWaffleFlag pattern. Without this, the frontend's default for this flag would apply unconditionally everywhere, since it's absent from every course waffle flags API response until a real flag exists to answer for it.
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.
Description
Provides support for the Course Re-Run Assistant / CORA / extended course optimizer report project. Specifically:
contentstore.enable_course_optimizer_extended_reportfor enabling this feature. Off by default.POST /api/contentstore/v0/course_analysis_report/{course_id}to post course material to our xpert-ai-workflows endpoint for analysis.GET /api/contentstore/v0/course_analysis_report_status/{course_id}to check the status of a given analysis.COURSE_ANALYSIS_WORKFLOW_API_KEYfor authentication to thexpert-ai-workflowsservice.Supporting information
Tickets:
Supporting PRs:
Testing instructions
contentstore.enable_course_optimizer_extended_reportwaffle flag.course-optimizer-reportplugin infrontend-app-learningfrom the supporting PR.Deadline
ASAP