-
Notifications
You must be signed in to change notification settings - Fork 25
Request features from Review section with one call #233
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
Conversation
2e4b936 to
3445eb0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
I didn't get why we need to change it to 1 call now. I would better extract fix for #229 in a separate commit and wait with other changes as api isn't ready yet. on another hand changes are small, so if you want to merge it, it's okay. |
|
@smacker all your doubts are properly explained in the PR description; for example:
|
3445eb0 to
87b5b79
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although #233 (comment) has the point, the explanation about necessity of this work holds and even if it's a bit preliminary, it LGTM.
required by #198 and https://github.com/src-d/backlog/issues/1202
fixes #229
As defined by #198 (comment), the ML Feature Extractor API will take a couple of UAST, and it will return a bunch of features per each UAST, and a
scoreas a pair-featureThis PR prepares the frontend to do one call per FilePair being reviewed to obtain the features of each file, and the score itself.
This PR prepares the backend to answer following the expected schema.
No UI changes were done.
It was also added a
3445eb0 commit to fix #229 because otherwise the FilePairs beyond the first one cannot be reviewed.
Pending work
To be done once the ML Feature Extractor API is ready, but that does not block this PR:
model.Featuresmust be removed,featuresdb table must be removed → runningfeatures-drop-tablemigration from DB Migrations #221