Skip to content

Proposal: Add Mentor–Mentee matching improvements — Mentor/Mentee matching enhancements #565

@Aishwaryapj-09

Description

@Aishwaryapj-09

Describe the bug

Summary

I want to propose the mentor–mentee matching feature improvement that I previously implemented. My earlier PR was closed because it did not have an associated Issue or discussion. I am now submitting it properly.

Why this feature is useful

  • When a student selects multiple subjects (example: DSA + DBMS), only one mentor gets assigned.
  • This causes incorrect mentor assignments.
  • Improved matching will assign one mentor per subject, reducing confusion and improving user experience.

Proposed Implementation

  • Update mentorship matching API to return one mentor per selected subject.
  • Update mentee request API to accept subjects as a list/array.
  • Add backend logic to select the highest-priority mentor per subject.
  • Add tests for multi-subject matching.
  • No breaking changes for single-subject requests.

What I will do after approval

If maintainers approve, I will implement the updated logic on a feature branch and open a new PR that references this Issue.

Additional Notes

My previous PR (which was closed):

To Reproduce

This is not a bug, so there are no reproduction steps.

I am using the bug-report template to submit a feature proposal because the repository does not include a Feature Request template.

Reproduction steps do not apply here.

Expected behavior

Expected behavior is the acceptance and discussion of the proposed feature:

  • Students who select multiple subjects should get matched to one mentor per subject.
  • The mentor–mentee matching logic should support multi-subject assignments.
  • Maintainers can review this proposal and decide whether it fits project direction.

This field is required by the bug-report template, so I am using it to describe the intended outcome of the feature proposal.

Screenshots

No response

Desktop OS

No response

Desktop Browser

No response

Desktop Browser Version

No response

Mobile Device

No response

Mobile OS

No response

Mobile Browser

No response

Mobile Browser Version

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions