Skip to content

feat: created skills_level API to fetch learner skill levels - #31417

Merged
sameenfatima78 merged 1 commit into
masterfrom
sameen/ENT-6403-try1
Jan 4, 2023
Merged

feat: created skills_level API to fetch learner skill levels#31417
sameenfatima78 merged 1 commit into
masterfrom
sameen/ENT-6403-try1

Conversation

@sameenfatima78

@sameenfatima78 sameenfatima78 commented Dec 8, 2022

Copy link
Copy Markdown
Member

Description

Created an API that:

  • fetches top 5 categories for the given job_id
  • fetches top 100 usernames of the users having same job as job_id
  • calculates user skill score for each category
  • calculates average score for each category

With skills matched
Screenshot 2022-12-16 at 3 10 08 PM

With no skills matched
Screenshot 2022-12-16 at 3 10 19 PM

Design decisions and their rationales should be documented in the repo (docstring / ADR), per
OEP-19, and can be
linked here.

Useful information to include:

  • Which edX user roles will this change impact? Common user roles are "Learner", "Course Author",
    "Developer", and "Operator".
  • Include screenshots for changes to the UI (ideally, both "before" and "after" screenshots, if applicable).
  • Provide links to the description of corresponding configuration changes. Remember to correctly annotate these
    changes.

Supporting information

Link to other information about the change, such as Jira issues, GitHub issues, or Discourse discussions.
Be sure to check they are publicly readable, or if not, repeat the information here.

Testing instructions

Please provide detailed step-by-step instructions for testing this change.

Deadline

"None" if there's no rush, or provide a specific date or event (and reason) if there is one.

Other information

Include anything else that will help reviewers and consumers understand the change.

  • Does this change depend on other changes elsewhere?
  • Any special concerns or limitations? For example: deprecations, migrations, security, or accessibility.
  • If your database migration can't be rolled back easily.

@sameenfatima78 sameenfatima78 changed the title feat: ENT-6403 feat: created skills_level API to fetch learner skill levels Dec 13, 2022
Comment thread openedx/core/djangoapps/catalog/utils.py Outdated
Comment thread openedx/core/djangoapps/user_api/learner_skill_levels/api.py Outdated
Comment thread openedx/core/djangoapps/user_api/learner_skill_levels/api.py Outdated
Comment thread openedx/core/djangoapps/user_api/learner_skill_levels/utils.py Outdated
Comment thread openedx/core/djangoapps/user_api/learner_skill_levels/api.py Outdated

@HammadAhmadWaqas HammadAhmadWaqas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please example response on the PR description as well?

Comment thread openedx/core/djangoapps/user_api/learner_skill_levels/api.py Outdated
Comment thread openedx/core/djangoapps/user_api/learner_skill_levels/views.py
Comment thread openedx/core/djangoapps/user_api/learner_skill_levels/api.py Outdated
Comment thread openedx/core/djangoapps/user_api/learner_skill_levels/api.py Outdated
Comment thread openedx/core/djangoapps/user_api/learner_skill_levels/api.py Outdated
Comment thread openedx/core/djangoapps/user_api/learner_skill_levels/api.py Outdated
Comment thread openedx/core/djangoapps/user_api/learner_skill_levels/api.py Outdated
Comment thread openedx/core/djangoapps/user_api/learner_skill_levels/views.py
Comment thread openedx/core/djangoapps/user_api/learner_skill_levels/views.py Outdated
Comment thread openedx/core/djangoapps/user_api/learner_skill_levels/api.py Outdated
@sameenfatima78

Copy link
Copy Markdown
Member Author

Could you please example response on the PR description as well?

@HammadAhmadWaqas Example responses are already added in the description.

@sameenfatima78
sameenfatima78 force-pushed the sameen/ENT-6403-try1 branch 4 times, most recently from a6feeba to 7dcd5f1 Compare December 21, 2022 11:01
@sameenfatima78
sameenfatima78 force-pushed the sameen/ENT-6403-try1 branch 3 times, most recently from 21c1c18 to db263c1 Compare January 3, 2023 08:58
added api to retrieve learner levels

incorporated feedback

added tests and incorporated feedback 2

incorporated feedback round 2

added tests in views and utilities

fixed one test input

fixed failing test

fixed failing test try 2

fixing failing test try 3

fixing test

added new utility and test

fixed failing test in student app
@sameenfatima78
sameenfatima78 merged commit 4b6e719 into master Jan 4, 2023
@sameenfatima78
sameenfatima78 deleted the sameen/ENT-6403-try1 branch January 4, 2023 12:09
@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production.

@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants