Skip to content

Add New Mentors#562

Closed
khairahscorner wants to merge 12 commits into
Women-Coding-Community:mainfrom
khairahscorner:add-new-mentor
Closed

Add New Mentors#562
khairahscorner wants to merge 12 commits into
Women-Coding-Community:mainfrom
khairahscorner:add-new-mentor

Conversation

@khairahscorner

@khairahscorner khairahscorner commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

Description

  • Updated relevant automation scripts to correctly process updates to mentor sorting, etc
    • now using two mentorship cycle periods:long-term during long-term registrations only, default for the rest of the year
  • Added newly accepted mentors by running automation scripts

Change Type

  • Bug Fix
  • New Feature
  • Code Refactor
  • Mentor Update
  • Data Update
  • Documentation
  • Other

Related Issue

Screenshots

Screenshot 2025-09-17 at 1 10 22 PM

Pull request checklist

Please check if your PR fulfills the following requirements:

  • I checked and followed the contributor guide
  • I have tested my changes locally.
  • I have added a screenshot from the website after I tested it locally

@khairahscorner khairahscorner requested a review from a team as a code owner September 17, 2025 12:11
Comment thread .github/workflows/pull_request.yml Outdated
Comment thread _data/mentors.yml
Comment thread tools/README.md Outdated
if current_period == "default" and mentorship_type == type_long_term[0]:
return 10

return 500

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is this default case? When is ad-hoc mentor and is available? Because for me the default should be 100, the sort above should be applied to long-term and ad-hoc. Bases in number of mentees and availability.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

As above, the "default" is now the usual period where we handle ad-hoc mentorship (May/June to December) and in this case, we want long-term only mentors to be at the bottom.

Overall, the updates I have made to the script is:

return 100

return 10
if current_period == "long-term":

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think this is necessary. The check is if is long term only and is not current period of long-term registration should be return as 10.

But if both or ad-hoc only should apply the sorting.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I have made updates because we needed to make it easier to handle ad-hoc mentorship sorting that we currently have to do every month.

An extra parameter has been included to the script: "default" period is the regular period outside long term registrations where we handle ad-hoc mentorship.

so this part is to keep the existing logic for when long-term registration is happening.

Most of the details are included in the guide we use: https://docs.google.com/document/d/1GwlleBNScHCQ3K8rgvYIB3upIr1BylgWjGR2jxwYWtI/edit?usp=sharing

@khairahscorner

Copy link
Copy Markdown
Contributor Author

Branch to be separated out into two branches and PRs for quicker review

@khairahscorner khairahscorner deleted the add-new-mentor branch September 21, 2025 05:26
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.

2 participants