-
Notifications
You must be signed in to change notification settings - Fork 5
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
Rewards for simplifying/cleaning code #33
Comments
Sounds a bit dangerous if we don't ignore some files, we might need some filters. |
Does this really have to be a full on plugin, from what i see adding this onto the assignee payout logic would be way more simpler |
! Error: HttpError: Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment |
It does seem simpler I agree but it's against our philosophy for plugins. They should all be separate plugins. It will make more sense when we have our SDK functional and when we centralize payments to be aggregating "payment requests" from plugins. @gentlementlegen @whilefoo what should we do to also render rewards from this one? It doesn't seem to make sense to include in conversation rewards but otherwise we have to build all the centralized payments infrastructure and requests. |
Until the centralized payment infrastructure gets built, I propose adding this logic on to the rewards plugin as it will incentivize and motivate contributors to solve more issues |
! Error: HttpError: Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment |
I think it's fine to temporarily add it to conversation-rewards until we implement permit requests. |
! Error: HttpError: Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment |
We just need to be mindful of comment character limits. Otherwise we can absolutely embed the metadata within each "field" as I mentioned in the other discussion we had about consolidating output comments from plugins. |
! Error: HttpError: Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment |
Shouldnt this issue be moved to text-convo-rewards now? |
! Error: HttpError: Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment |
I will move it to conversation rewards in the meantime then. Edit: we cannot transfer because it is a different organization I suppose, so it's fine to keep it here, just link the pull request to this issue from |
Also on a side note I have a general question, why does the text convo plugin handle all rewards and not just text convo rewards, why does it handle things like issue specification and assignee task completion reward |
It would make the plugin simpler if the logic could be divided further into multiple plugins |
/start |
Tip
|
i dont have enough time to work on this so i will just point out instructions for future devs to work on this |
/stop |
|
I was working on this pull and thought it could be cool to have a small reward for simplifying the codebase.
Diff stats:
A simple formula could be to divide by 10 then subtract. i.e.
676 - 542.6 = $133.4
With our strict linter rules we should be able to avoid BS refactors.
Rationale
Generally codebase maintainers should try and keep the code clean and simple. This offers a direct financial incentive for everybody to do so. Our task oriented system is not very compatible with the continuous nature of code simplification and reduction, so this plugin addresses that.
Filters
We can use filename regex to make specific types of files eligible such as
*.ts
,*.sol
Remark
This is intended to be stacked on regular task related pulls as well (it doesn't need to be a dedicated refactor pull.)
The text was updated successfully, but these errors were encountered: