-
Notifications
You must be signed in to change notification settings - Fork 97
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
Hitl dashboard - Managing Turk List Backend #1296
base: hitl_dashboard_turk_ls
Are you sure you want to change the base?
Conversation
…kresearch/fairo into hitl_dashboard_turkls_be
…kresearch/fairo into hitl_dashboard_turkls_be
If I'm interpreting the demo correctly, it seems like list membership is mutually exclusive, but it shouldn't be. We want everyone on the allowlist to also be on pilotblock. Likewise, though this decision is more debatable, my opinion is that everyone on the blocklist should also remain on the other two lists. This way we can track everyone who has ever been added and avoid re-adding them. The Mephisto task code already assumes this (it checks for yes allowlist membership AND no blocklist membership). |
I updated it to show only 2 status with backend implementation maintains 3 lists:
Now the status column looks like below, let me know if this version looks better @ethan-carlson |
return add_all_success | ||
|
||
|
||
def revoke_worker_qual(turker: str, qual: str): |
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.
Is this function still needed, if we are never taking workers off any of the qual lists?
except: | ||
pass | ||
else: | ||
logging.debug(f"{qual} qualification not exists, so create one") |
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.
We shouldn't be creating a qualification just to revoke a worker from them, if that's even possible. If the qualification doesn't exist, log a message to the user and quit.
Hi @mialsy! Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours needs attention. You currently have a record in our system, but the CLA is no longer valid, and will need to be resubmitted. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
Description
droidlet/tools/crowdsourcing/sync_whitelists.py
to support the backend api for managing turk lists.Type of change
Please check the options that are relevant.
Type of requested review
Before and After
Demo:
Testing
Manually tested.
Checklist:
tests/scripts
, (2) asv benchmarks.