Skip to content

Algorithm integration #106

@brandondionisio

Description

@brandondionisio

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!

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions