Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Algorithm integration #106

Open
5 tasks
brandondionisio opened this issue Mar 4, 2025 · 0 comments
Open
5 tasks

Algorithm integration #106

brandondionisio opened this issue Mar 4, 2025 · 0 comments
Assignees

Comments

@brandondionisio
Copy link
Collaborator

Steps

  • Format the output of the algorithm such that it is of the form: {tutor, tutee1, tutee2, tutee3}.
  • In the route function getMatchSuggestions(), run the algorithm function, get the output, and then use res.send() on the formatted output to send up the data to the frontend.
  • Navigate to matchSuggestionTable.tsx line 74 and check the console.log of the output from the route. You will need to slightly change line 80 to set the contents of the matchSuggestions based on what your route outputs.
  • Delete the hard-coded tutees from lines 25-56 and change lines 141-143 to pass in the correct tutees. If there aren't 3 tutees, undefined should be passed in.
  • Hopefully, if done correctly, all the match suggestions should be displayed!
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

No branches or pull requests

3 participants