-
Notifications
You must be signed in to change notification settings - Fork 920
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
auth: added self weighted lua function #10692
base: master
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 12544460123Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
given the age of this PR (sorry) it might have been from the merge, of course. Can you rebase and test? Thank you! |
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.
this makes sense at a quick glance. It'll need a minor rework because we changed how locking works. Can you add docs?
I'm unsure about the name selfweighted
but that's a small detail. Once you have docs it'll be easier to reason about what this is and thus what we should call it.
8fda9ac
to
08086d6
Compare
15d9311
to
b348bb1
Compare
compiled 5f3a65f, i can provide the docker image if needed |
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.
code looks decent. Still needs documentation and a test.
should i resolve those failing checks? |
Yes, please. You need to add the new function name to the extra words list of the spell checker. The clang-tidy results are indeed not always easy to find. Here they are, for the lines changed by your PR:
They should be easy to address, or you can add |
You can see the reported issues in context i the "Files changed" tab. |
the statement inside braces check confuses me |
the check still fails |
Please use |
Short description
added a new Lua function that returns pickwhashed or pickrandom(if there is no available candidate) but the weight is fetched from candidates via URL. Modified some functions to be able to provide weight as a state.
Checklist
I have: