Giter Club home page Giter Club logo

royalts / whoops_yall Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nyuccl/whoops_yall

0.0 2.0 0.0 378 KB

Whoops ya'll is a psiTurk compatible experiment for paying people when an experiment goes badly for some reason. You enter the workerIds of people who you owe money to and can reject all others. Payment is handled quickly and easily via psiTurk's command line features. When you make a whoops, use "whoops ya'll"

License: MIT License

Python 12.71% CSS 4.69% JavaScript 6.48% HTML 76.12%

whoops_yall's Introduction

whoops_yall

Whoops ya'll is a psiTurk compatible experiment for paying people when an experiment goes badly for some reason. You enter the workerIds of people who you owe money to and can reject all others. Payment is handled quickly and easily via psiTurk's command line features. When you make a whoops, use "whoops ya'll"

** THIS IS BETA SOFTWARE. IT HAS NOT BEEN TESTED MUCH AT ALL. CONTRIBUTIONS WELCOME **

How to use

Breifly, assuming you have psiturk installed, working, have the AWS credentials and an account on psiturk.org.

Get the repo

  1. git clone [email protected]:NYUCCL/whoops_yall.git

Make it yours

  1. cd whoops_yall - change to the project folder
  2. edit config.txt to your liking (particular setting host to 0.0.0.0 if you plan to run on the public internet, also fill in the contact_email_on_error, your university/organization name, etc...)
  3. edit the templates/ad.html file to reflect your university/organization and to identify yourself to workers
  4. pip install shortuuid as a dependency

Update the database

  1. psiturk - launch psiturk
  2. [psiTurk server:off mode:sdbx #HITs:0]$ server on - start server
  3. visit http://SERVER/dashboard (e.g., http://localhost:22362/dashboard)
  4. login with the credentials you provided in the config.txt
  5. enter worker ids and bonus amounts
  6. listed below is a status list of where each person got in the reimbursement task. also listed are "completion codes"... random codes you should send to worker who had problems to identify them uniquely.

Test the end-user code

  1. psiturk - launch psiturk if it is not already running
  2. [psiTurk server:off mode:sdbx #HITs:0]$ server on - start server if not already running
  3. [psiTurk server:on mode:sdbx #HITs:0]$ debug - test it locally (will pop open a browser stepping you through)
  4. [psiTurk server:on mode:sdbx #HITs:0]$ create hit - to create the hit on the AMT sandbox
  5. Test the experiment by finding your listing on the Amazon sandbox (keep in mind the workerId and completion code must be valid)

Run live

  1. If all is going well and looks how you expect, [psiTurk server:on mode:sdbx #HITs:0]$ mode - to switch to "live" mode
  2. [psiTurk server:on mode:live #HITs:0]$ create hit - to create the hit on the live server, usually something like 0.01 (minium price)
  3. [psiTurk server:on mode:live #HITs:0]$ worker approve --hit <yourhitid> - to approve and pay everyone who has finished
  4. [psiTurk server:on mode:live #HITs:0]$ worker bonus --hit <yourhitid> --auto - to assign bonuses to everyone who has completed the task correctly

whoops_yall's People

Contributors

gureckis avatar fdabl avatar stubridy avatar

Watchers

Tobias Schmidt avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.