Repository navigation
feat: load fake learner competency statuses - #289
Conversation
|
Thanks for the pull request, @felipemontoya! This repository is currently maintained by Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review. 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. DetailsWhere can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources: When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #289 +/- ##
==========================================
+ Coverage 90.26% 91.56% +1.30%
==========================================
Files 36 36
Lines 2988 3284 +296
Branches 322 369 +47
==========================================
+ Hits 2697 3007 +310
+ Misses 260 244 -16
- Partials 31 33 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
8715cca to
dde03e6
Compare
a4b388a to
5ea226b
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5ea226b to
73695ec
Compare
bmtcril
left a comment
There was a problem hiding this comment.
Can you update the description? It still says statuses are triggered by a competency- export id prefix and written to student_competency_criteria_group_status. The code uses taxonomy_type: competency and student_competency_course_status. Looks good otherwise!
|
@bmtcril it was very outdated. I just put it up to date. |
Summary
load-dbcan write fake learner competency statuses for the Aspects Competency dashboard (openedx-aspects#387). It also gains the config needed to keep fake taxonomy rows apart from real ones.Detail
taxonomy_type(config, defaulttags), in the last column, as the platform-plugin-aspects taxonomy sink writes ittaxonomy_type: competency), and a--load_db_onlyrun loads them only when its config is a competency load toostudent_competency_status: one row per learner and competencystudent_competency_course_status: one course-level row per learner, competency and course, the only level the sink writes; fake groups exist as ids onlyend_datestays PartiallyAttempted, so hard competencies show fewer masteriesfirst_*_idkeys must be positive integers,org_prefixletters and digits,taxonomy_export_idfree of quotes and backslashes, andtaxonomy_typeone oftags/competency****and only the first 4 characters of the key; logged SQL is cut at 2000 charactersorg_prefix: Org, first ids at 1,fake export id. The exceptions are the object tag ids, which no longer restart per course.