ubiquity-os-marketplace / daemon-pricing

0 stars 12 forks source link

Boosting All Rewards Based On Priority #27

Open 0x4007 opened 1 month ago

0x4007 commented 1 month ago

We should boost all the rewards proportionally if it's an urgent task. This will incentivize all contributors (not just the assignee) to focus on that task because everybody gets higher rewards for work like reviews.

The higher the priority level the higher the rewards multiplier is for everybody.

example

I should've received a reward closer to $150 in this task, because the priority level was 3.

0x4007 commented 1 month ago

RFC @gentlementlegen

I have a feeling that with our current infrastructure it doesn't directly support this plugin to affect the reward amount of others, such as conversation rewards.

We need to support outputting rewards from all plugins and aggregating them before sending the sum total to permit generation. https://github.com/ubiquibot/permit-generation/issues/3

I suppose this proposal implies that we will need to support multiplication as well.

gentlementlegen commented 1 month ago

Assisitive pricing aims the handle pricing labels and allowing users to modify these labels. There is not calculation on the final reward here. I think this should be handled in conversation rewards.

0x4007 commented 1 month ago

I see what you mean but logically seems more straightforward if a plugin has the ability to affect all the others' pricing either with addition or multiplication.

Then we don't have to change every plugin, we only need to change this one and the permit generation one to support macro change outputs from any plugin

I suppose it's simpler to implement if we change every plugin though, just not as elegant.

gentlementlegen commented 1 month ago

Yes I do agree that we should be able to chain these results. It's just that this plugin never had the capability to actually attribute rewards to a user, this was the responsibility of conversation-rewards. We could think of splitting this and have the logic here later on.

0x4007 commented 1 month ago

If you could write a spec, that would be helpful because I don't have enough context on the problem

0x4007 commented 1 month ago

@gentlementlegen can you write the spec?

gentlementlegen commented 1 month ago

@0x4007 Done, let me know if this is clear enough.