-
Notifications
You must be signed in to change notification settings - Fork 77
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
Adding more general function with better name #893
Conversation
While retrying this step, realized that we need `pip install pre-commit` if it is not already installed.
Codecov Report
@@ Coverage Diff @@
## main #893 +/- ##
==========================================
- Coverage 64.63% 64.62% -0.02%
==========================================
Files 108 108
Lines 9320 9320
==========================================
- Hits 6024 6023 -1
- Misses 3296 3297 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@JackUrb not sure what they cypress one is about. Could you give me a hint please? |
Hm something strange is happening with the build flow. I'll see if I can reproduce on the other dependency branch I'm working on. |
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.
Quality change!
As far as the testing goes, it seems that cypress tests are failing on main at the moment. Need to debug the why.
I wait for the new changes you had to land and retry after rebasing with that. |
pre-commit install
Removing threadsafety as we already lock connections behind threads
…histo into assign-qual * 'assign-qual' of https://github.com/facebookresearch/Mephisto: lint adding the new function name
Description
We have the
direct_soft_block_mturk_workers
function which is great to assign any qualification to workers, including the soft blocking qualification. The convenience of this often tempts people to use it for any general qualification (example). This sort of use causes confusion and may end up with logical bugs. This patch renamesdirect_soft_block_mturk_workers
todirect_assign_qual_mturk_workers
(with minimal changes). To keep the backward compatibility, we still havedirect_soft_block_mturk_workers
; but it is just a wrapper around the call todirect_assign_qual_mturk_workers
.Test
Used it with assigning allow list qualification in this PR, and it worked well. Checking the final results proved that it assigned the qualification correctly.