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

Change payment logic #92

Open
jorgeramirez opened this issue Jun 6, 2018 · 0 comments
Open

Change payment logic #92

jorgeramirez opened this issue Jun 6, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jorgeramirez
Copy link
Member

Since we have added a minimum number of tasks parameter to the Job, we need now to change the payment logic. When need to implement a method that for a given job will compute the HIT reward. This method should take into account #number of quizzes, #minTasksParameter, honeypots frequency. So when publishing a HIT, we will add as the reward the value computed by this new method.

The sendBonus method of the JobManager will change so that the value of the bonus should be the total reward of the worker minus the number computed by the new method (HIT reward)

@jorgeramirez jorgeramirez self-assigned this Jun 6, 2018
@jorgeramirez jorgeramirez added the enhancement New feature or request label Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant