You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
Steps
{tutor, tutee1, tutee2, tutee3}.getMatchSuggestions(), run the algorithm function, get the output, and then useres.send()on the formatted output to send up the data to the frontend.matchSuggestionTable.tsxline 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 thematchSuggestionsbased on what your route outputs.