-
Notifications
You must be signed in to change notification settings - Fork 26
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
feat: multiply conv reward with priority for higher reward #176
base: development
Are you sure you want to change the base?
feat: multiply conv reward with priority for higher reward #176
Conversation
/help |
Available Commands
|
heres the qa |
@gentlementlegen please review this 🙏 |
@ishowvel, this task has been idle for a while. Please provide an update. |
@ishowvel You should add The decimals should not look like this. Also, I am confused about the total here. Can you walk me through the calculations? |
After the total formatted reward is calculated, the priority level is multiplied to the reward for that specific comment, this all happens in the formatting evaluation. The only change here is adding a multiplication of the priority level to the formatting reward calculation |
the total itself is not multiplied but the specification and comment incentives are |
for jest testing, no mock result has ever contained the "priority" key. Can you help me find a way to make the mock results for this? |
Just copy the priority level names? Our config is public you can see all of them .ubiquity-os repo |
There are 100's and 100's of results |
There's five priority levels |
I am talking about the results, each result object would need to be edited to have an extra priority key and the total and reward values would need to be edited |
Done! |
All tests that failed, failed because of not supporting this feature. So I just added support in all of them |
@gentlementlegen can you please review these changes? Thank you! |
Any updates? |
@0x4007 can you review this as you have created the specification, gentlemengen may be busy |
@ishowvel Sorry I have been extremely busy yes, I'll try to have a look today. In the meantime please fix the conflicts. |
@ishowvel, this task has been idle for a while. Please provide an update. |
Currently out for a university, will work on this task in a few hours |
idk why the tests keep failing even without the changes present in this pull request, i made a branch and force reset it to this repo's dev branch, heres the test |
@ishowvel tests don't pass because the import types don't match, I think |
@gentlementlegen @octokit/core is imported, this has become a major blocker for me as i cant debug my other pr without working tests |
tests even fail on a fresh clone of this repository |
@ishowvel merge the development branch into this one. |
Tests are passing 🎉 🎉 🎉 |
@ishowvel, this task has been idle for a while. Please provide an update. |
Resolves #175