Conversation
Contributor
galagyy
commented
Oct 24, 2025
- Update backend, ai, and frontend to V5.
- Updated model to use a better dataset. - Removed unneeded __init__.py files. Co-Authored-By: Om-Kasar <188000396+Om-Kasar@users.noreply.github.com>
- Removed unneeded endpoints. - Kept the health and generation endpoints. - Updated to a newer, more concise model. - Reduced dataset size for more accurate results. Co-Authored-By: Om-Kasar <188000396+Om-Kasar@users.noreply.github.com>
- Updated Python documentation. - Removed unneeded Python files (test_recommend.py) - Updated code version. Co-Authored-By: Om-Kasar <188000396+Om-Kasar@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-Authored-By: Om-Kasar <188000396+Om-Kasar@users.noreply.github.com>
- Fixed inputted keys. - Fixed documentation. - Fixed n_estimator. Co-Authored-By: Om-Kasar <188000396+Om-Kasar@users.noreply.github.com>
- Updated endpoint version. - Change recommendation endpoint to POST. Co-Authored-By: Om-Kasar <188000396+Om-Kasar@users.noreply.github.com>
- Updated career_routes to follow the PEP8 standard.
- Updated all code to follow all PEP8 standards; fixed W293, E501, W291, and E128.
- Added all AI changes, including optimization, documentation, and model resizing.
- Updated DTOs to match the Python endpoint. - Updated all important classes to contain a class description. - Removed older unused methods for code cleanliness.
- Removed unused methods to make code more concise. - Added more helper methods to assist with code.
- Implemented college recommendation service to recommend colleges, degrees, strategies, and more. - Added career-data.json to store college related career data. - Added documentation to every class. - Added swagger documentation to every class. - Sorted imports for every class.
- Added scripts to properly manage the database version.
- Added updated backend with better code, etc.
- Added questionnaire variable. - Changed AI endpoint
- Fixed the request requiring the wrong type of header.
- Rewired questionnaire progression.
- Added proper documentation and styling to the frontend. - Made all code conform to the Google Typescript Style Guide. - Added more logging into the Java backend.
- Added more refined dataset - Retrained random forest model
- Updated code to use the response from the API. - Reformatted code style.
There was a problem hiding this comment.
Pull Request Overview
This PR updates the entire Aspira platform to version 5, encompassing backend, AI, and frontend components. The update includes a major overhaul of the AI recommendation system, introduction of new data models and endpoints, enhanced type safety in the frontend, and comprehensive documentation improvements.
Key Changes:
- Upgraded AI career recommendation system from v2 to v4 with improved model architecture, probability calibration, and confidence scoring
- Added new backend endpoints for college recommendations, degree programs, salary expectations, and success strategies
- Enhanced frontend with comprehensive TypeScript typing, improved error handling, and questionnaire completion tracking
- Added database migration scripts and updated Docker configuration for production deployment
Reviewed Changes
Copilot reviewed 45 out of 52 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
scripts/db-version.sh |
New script to refresh PostgreSQL collation version |
scripts/db-version.bat |
Windows equivalent for database version refresh |
frontend/lib/api.ts |
Added comprehensive JSDoc comments and improved error handling for career recommendations |
frontend/app/signup/page.tsx |
Enhanced with TypeScript types, cookie management, and improved form validation |
frontend/app/questionnaire/page.tsx |
Refactored to use new unified recommendation endpoint with better state management |
frontend/app/page.tsx |
Updated team member information and added interface definitions |
frontend/app/login/page.tsx |
Added questionnaire completion check and conditional routing logic |
frontend/app/dashboard/page.tsx |
Complete rewrite with new data transformation functions and empty state handling |
frontend/app/blogs/page.tsx |
Added TypeScript interfaces and comprehensive JSDoc documentation |
backend/src/main/resources/application-prod.properties |
Updated AI backend port from 5000 to 8001 |
backend/src/main/java/com/sck/aspira/util/BlogDataLoader.java |
Added JavaDoc header documentation |
backend/src/main/java/com/sck/aspira/service/UserService.java |
Added skills management, questionnaire tracking, and updated recommendation flow |
backend/src/main/java/com/sck/aspira/service/UserDetailsServiceImpl.java |
Added JavaDoc header documentation |
backend/src/main/java/com/sck/aspira/service/CollegeRecommendationService.java |
New service for college, degree, salary, and strategy recommendations |
backend/src/main/java/com/sck/aspira/service/CareerRecommendationService.java |
Simplified to single recommendation method with new endpoint structure |
backend/src/main/java/com/sck/aspira/security/*.java |
Added comprehensive JavaDoc documentation |
backend/src/main/java/com/sck/aspira/repository/*.java |
Added JavaDoc header documentation |
backend/src/main/java/com/sck/aspira/model/User.java |
Added skills collection and questionnaire completion flag |
backend/src/main/java/com/sck/aspira/model/*.java |
Added JavaDoc header documentation |
backend/src/main/java/com/sck/aspira/dto/*.java |
Updated CareerResponseDto structure and added documentation |
backend/src/main/java/com/sck/aspira/controller/UserController.java |
Major refactor with new recommendation endpoint and college/degree/salary endpoints |
backend/src/main/java/com/sck/aspira/controller/*.java |
Added Swagger annotations and JavaDoc documentation |
backend/src/main/java/com/sck/aspira/config/*.java |
Added JavaDoc header documentation |
ai/careers/test_recommend.py |
Removed deprecated test file |
ai/careers/run.py |
Updated version and improved code formatting |
ai/careers/examples.py |
Removed deprecated examples file |
ai/careers/app/services/career_recommender.py |
Major upgrade with probability calibration, confidence boosting, and memory optimization |
ai/careers/app/main.py |
Updated version and improved error handling |
ai/careers/app/config.py |
Enhanced configuration with better validation and formatting |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Updated backend methods to have proper naming. - Refactored backend method usage. - Updated AI to remove "magic numbers".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.