Skip to content

Add portfolio diversity analyzer feature#1241

Merged
komalharshita merged 2 commits into
komalharshita:mainfrom
IshitaPrajapati08:feature/portfolio-diversity-analyzer
Jul 18, 2026
Merged

Add portfolio diversity analyzer feature#1241
komalharshita merged 2 commits into
komalharshita:mainfrom
IshitaPrajapati08:feature/portfolio-diversity-analyzer

Conversation

@IshitaPrajapati08

Copy link
Copy Markdown
Contributor

Summary [required]

This PR introduces a Portfolio Diversity Analyzer that evaluates a user's completed projects and calculates a Portfolio Diversity Score based on coverage across different development domains.

The feature analyzes completed projects, identifies covered and missing skill areas, and provides project recommendations to help users build a more balanced portfolio. A portfolio dashboard has also been added to display the diversity score and analysis, making project recommendations more personalized and helping users identify learning gaps.

Closes #1236

Type of Change [required]

[x] Feature — adds new functionality
[x] Style — CSS or visual changes only, no logic change

What Was Changed [required]

What Was Changed

File Change made
src/utils/portfolio_analyzer.py Added Portfolio Diversity Analyzer logic.
src/routes/main_routes.py Added Portfolio Analysis API endpoint.
src/static/script.js Connected frontend with backend and rendered portfolio analysis.
src/templates/index.html Added Portfolio Diversity dashboard section.
src/static/style.css Styled the Portfolio Diversity dashboard.

How to Test This PR [required]

  1. Clone this branch: git checkout your-branch-name
  2. Install dependencies: pip install -r requirements.txt
  3. Run the app: python app.py
  4. Open http://127.0.0.1:5000 and...
  5. Run the tests: python tests/test_basic.py

Screenshots (if UI change)

contribution1

Notes for Reviewer

This PR introduces a Portfolio Diversity Analyzer that helps users evaluate the balance of their completed projects and encourages exploration of uncovered development domains through personalized recommendations.

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

@IshitaPrajapati08 is attempting to deploy a commit to the komalsony234-1530's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thank you for submitting your first pull request to DevPath.

Before review:

  • Complete the PR template fully
  • Ensure all tests pass
  • Link your PR to an issue
  • Keep changes scoped to the issue

A maintainer will review your contribution soon.

@IshitaPrajapati08

Copy link
Copy Markdown
Contributor Author

Hi @komalharshita ,I've completed the implementation for this issue. Could you please review my PR when you get a chance? Thanks!

@komalharshita

Copy link
Copy Markdown
Owner

@IshitaPrajapati08 kindly resolve the merge conflicts

@IshitaPrajapati08

Copy link
Copy Markdown
Contributor Author

Hi @komalharshita,
I've resolved the merge conflicts and updated the PR. Could you please review and merge it if everything looks good? Thank you!

@komalharshita
komalharshita merged commit 44c985f into komalharshita:main Jul 18, 2026
4 of 5 checks passed
@komalharshita komalharshita added gssoc:approved and removed need review Further information is requested labels Jul 18, 2026
@komalharshita

Copy link
Copy Markdown
Owner

Approved for merge!
Thanks for your contribution

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Portfolio Diversity Analyzer with Smart Project Recommendations

2 participants