Skip to content
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

Bonus payment #12

Open
6 tasks
npaton opened this issue Nov 20, 2020 · 1 comment
Open
6 tasks

Bonus payment #12

npaton opened this issue Nov 20, 2020 · 1 comment
Milestone

Comments

@npaton
Copy link
Contributor

npaton commented Nov 20, 2020

  • Upload bonus CSV/JSON with 2 fields/columns: mturkWorkerID and bonus in USD
  • Create bonus ent schema: run, participant, hitID, assignmentID, stepID, bonus amount, paidAt (timestamp)
  • On import, look for last HIT in current run, if none, find last HIT user particpated in (query Participations for hitID exists ordered by desc createAt)
  • show table with Worker ID, bonus, paid or not, amount (editable – optional), and a send bonus button at top
  • when send bonus clicked, lock table (diable dens bonus button, bonus fields not editable), and SendBonus MTurk API
  • mark participants' bonus as paid (refresh page)
@npaton
Copy link
Contributor Author

npaton commented Nov 20, 2020

Should have a simple graphqlAPI for importing bonus, like pariticpants. addBonus() maybe.

@npaton npaton added this to the Next milestone Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant