-
Notifications
You must be signed in to change notification settings - Fork 4
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
DRAFT: Re-implement matching algorithim in NodeJS #1
base: main
Are you sure you want to change the base?
Conversation
Realized the extraneous work being done in findMatching.ts and removed that Added more metrics to matchingHelpers.ts Created more robust data typing in matchingTypes.ts Created more simple way to test the algorithm's implementation
… it multiple times to find the best solutions.
Basically you just want this: https://github.com/codeday/labs-gql/blob/main/src/resolvers/Stats.ts#L17
If you're running it locally you can sign a JWT of this format - https://github.com/codeday/labs-gql/blob/main/src/context/auth/JwtToken.ts - probably just Once you have it ready I can deploy it and give you a testing token.
I think that's the best way, even if another type could be repurposed using a dedicated one offers more type safety for clients.
That's already done @ https://github.com/codeday/labs-gql/blob/main/src/resolvers/Project.ts#L71 Once it's possible to download a match-list, I can create a frontend which has a "confirm" button for each possible match. |
A few more follow up questions!
|
…edback and needs additional testing before ready for review.
|
Ok cool! I've created the response with the Also, I've gone and re-named all the old "Matching" stuff (related to elastic and things) to "Recommendation". I think this is a better name and should reduce confusion between the two types, although editing the GraphQL names of these may cause issues and I'm not sure how to deal with that properly in GraphQL so I may need to put those back. Can you advise on this? |
This looks great to me, I have to change the queries in www-labs before merging however |
Sounds good! Please let me know once this is good to be tested, I'd like to validate it on prod before it's ready for prime time. |
Hey yall! Want to make a PR to track the rest of the progress on this, since I'm going to need some more specific feedback to make much more progress.
Todo / status:
That should be just about everything left to do! I'd like to chat sometime soon with one or both of you about the rest of this, whoever would be the most applicable.